Category "xamarin.android"

Add tap events to elements inside an SVG using SkiaSharp in Xamarin.Forms

I want to get the particular points inside the svg for xamarin.forms Is there is any ways from which I can achieve? Thanks in advance.

Firesbase auth fallback exception : Java lang exception

Firebase Auth causes error if I set code shrinker to R8. I am frustrated its been a week solving it, but i could not solve it. 'Unable to instantiate service co

Bug - TextDecoration Strikethrough not working on iOS

I have a label where I want strikethrough and a lineheight of 1.5 This works fine with Android, but strikethrough does not work on iOS when LineHeight is also s

Debugging MAUI app on Android after manual launch

I have a MAUI app on Android which works perfectly when launched from Visual Studio with the debugger attached. If I published an APK and install it on the devi

How to programmatically connect to Wifi with no internet Android (Xamarin)

My app needs to use a wifi network (without internet, thus android avoids it by default). And I want it to be simple to use (like Grandma doesn't have to be man

Why has SpeechRecognizer suddenly stopped working?

My Android app (Xamarin) uses speech recognition. This has worked fine on smartphones with Android 8, 11 and 12. Since a few weeks the speech recognition of my

Call from foreground service stops working when screen is off

I have the following code that makes a phone call: public static void CallPhoneNumber(this Context context, string phoneNumber) { var uri = Android.Net.Uri.

White background shows during 1 sec when keyboard closes on Android

When I tap to close the virtual keyboard, white background is shown on that place for 1 second. I use Activity(WindowSoftInputMode = SoftInput.AdjustResize) to

Getting java.exe exited with code 2 while building the app

I upgraded my android sdk api version from 27 to 28 and started getting the "java.exe" exited with code 2 while compiling a build. Output: 1>C:\Program Fil

How to get/generate pin sha256 from certificate

Simple question I am trying to do certificate pinning in android using the network-security-config but I am not sure how to get the the SHA-256 to put in the pi

Xamarin.Forms; display the phone number of my SIM Card at device on the screen

I want to display the phone number of my device on the screen. In Xamarin.Android the code is work. But I want to use a code in Xamarin.Forms. I've searched bu

How to control views wrapping in Android's GridLayout?

I'm wondering why in portrait mode, this android xml is not rendered properly: <?xml version="1.0" encoding="utf-8"?> <GridLayout xmlns:android="http:

How to control views wrapping in Android's GridLayout?

I'm wondering why in portrait mode, this android xml is not rendered properly: <?xml version="1.0" encoding="utf-8"?> <GridLayout xmlns:android="http:

Xamarin Android: java.exe exited with Code 2 -- MultiDex enabled

After the most recent update (Xamarin.Android.Support libraries, V28.0.0, Build tools 28.0.3), every build is failing with "java.exe" exited with Code 2 I had

How can one get actual file path from filepicker

I got another path instead of file actual path..

Xamarin Android: Calling Invalidate() inside overridden OnDraw method

I am creating a custom renderer, that needs to display whatever I have rendered in my Vulkan engine. For this I have a VulkanSurfaceView, which inherits from Me

TailTruncation - Ellipsize the text of a picker control in Xamarin Forms

Is it possible to truncate long texts with ellipsis in a picker control. I have already created a custom renderer to set a fontsize and no border in order to ac

XA5104 Could not locate the Android NDK

XA5104: Could not locate the Android NDK. Please make sure the Android NDK is installed in the Android SDK Manager, or if using a custom NDK path, please ensure

Fast update Android notification

I write simple audio player for Android. I wrote basic functional and now I want create notification for control audio player. I use Android classes Service and

Resources.UpdateConfiguration is obsolete

I want to prevent system font-size changing, effects to my xamarin forms android application. I tried with below code in MainActivity.cs and its working, but it