Category "xamarin.android"

What does 'minifyEnabled=true' do when all configuration options are disabled?

I have a complicated build setup for an android app which basically consists of a normal android app fused together with a Xamarin/Mono project in order to incl

Android Play integrity api samples possibly xamarin

I am looking for way to secure my apps in both Android and iOS. Android Noticed that there is this new api Play Integrity Api I am looking for any example on us

Is it possible to put background image and curved corner in a button in xamarin android?

I am trying to input an image in a regular button, however it does not show up. My code looks like this <Button android:text="@string/buttonexit"

How to get selected item in Xamarin

I have a Picker in Xamarin and I want to pass the selected item in Picker to the another page(TablePage). Below this Picker there is a button and whenever it is

Behavior OnDetachingFrom not called on close of popup

On close of popup behavior dettach method is not called. while OnDisappering the page if binding context is assigned with null OnDetachingFrom will be called. B

Change colour of date picker in Android with possibility to have custom Splash screen as well

I am working on a project where I would like to have custom splash screen, however I would also like to have dark styled Android dialogs, that are corresponding

Xamarin: How to delete files using CrossFilePicker Xamarin Forms

I am using the following code to pick a file using CrossFilePicker in Xamarin forms. Goal is to delete the selected file in Xamarin.Android project, file still

How to move the snap position from center to left of RecycleView using SnapHelper?

I have an RecycleView that contains ImageViews and my question is how can i move the snap to be on the left side of the RecycleView instead of the center? Whe

Android in Xamarin.Forms can't compile after changing target framework

I have a Xamarin.Forms application. I changed the Target Framework version of the Android project from 10.0 (Q) to 12.0 (S). After that, I get error "java.exe"

MTP-3 bluetooth thermal printer print qr code

Im trying to make an android application in xamarin that can print qr code, im using MTP-3 GOOJPRINT thermal printer. I got the printer plain text already , now

Sending message through Bluetooth with xamarin android to uwp for Windows 10 iot core

I want to send text from my xamarin Android app to my uwp app on an raspberry pi 3. also I want to use the softkeyboard from my Android phone as remote keyboard

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