How to get selected Text?
Xamarin » Android
by Foso
3y ago
Hi, i want to get the selected Text from an Entry. I'm using an EntryRenderer and the methods SelectionStart and SelectionEnd, but the returned value of the methods is identical. Can you give me a short example how to get the selected Text? I don't know what i'm doing wrong. Thank you ..read more
Visit website
MSAL Authentication Does Not Complete
Xamarin » Android
by mcconnelljh
3y ago
I'm trying to get my feet wet with Xamarin and I'm having trouble adding in my organization's login. The screen shot below is as far as I can get attempting to login. When I click "Continue" the same page just loads again. Not really sure what's going on. The image is the screen I'm stuck on. I've added code that represents the app class and the code behind for the XAML page attempting to login, leaving out what I "think" is irrelevant. Any suggestions? App class... public partial class App : Application { public static string AzureBackendUrl = DeviceInfo.Platform ..read more
Visit website
The type 'ListView' does not support direct content.
Xamarin » Android
by ashsofdev
3y ago
I am trying to complete the ListView Tutorial, I believe I have followed the instructions, yet I get an error message: The type 'ListView' does not support direct content. How can I solve this problem? ashsofdev ..read more
Visit website
Binding Library .aar and Static Native Methods Question
Xamarin » Android
by zerokewl88
3y ago
Hi guys, I'm binding the following library and have made some success, however am now a little uncertain about the following methods and why they are not appearing in the resulting assembly / returning a error message during runtime. The IO.Realm.Internal.Core.DescriptorOrdering.class (Packaged in realm-android-library-6.0.2.aar) has the following definition. Namespace is io.realm.internal.core.DescriptorOrdering.class package io.realm.internal.core; import io.realm.internal.NativeObject; public class DescriptorOrdering implements NativeObject { private static final long nativeFinalizerMe ..read more
Visit website
FirebaseInitProvider class not found in dex file
Xamarin » Android
by MamunPriya
3y ago
Hi, The android app in "DEBUG" is working fine with all features including but we are facing some issue while releasing the app in play store. The issue facing While initialization the app is crashing showing this error Issue: java.lang.RuntimeException: Unable to get provider com.google.firebase.provider.FirebaseInitProvider: java.lang.ClassNotFoundException: Didn't find class "com.google.firebase.provider.FirebaseInitProvider" on path: DexPathList[[zip file "/data/app/com.mvt.mstntapp-1/base.apk", zip file "/data/app/com.mvt.mstntapp-1/split_config.arm64_v8a.apk", zip file "/data/app/com.mvt ..read more
Visit website
Still problems getting java bindings to work as expected
Xamarin » Android
by Straster
3y ago
i hv a problems with java binding, i try change de visibility in metadata, but not work... in api.xml i see the class and the visibily is public in my c# class i dont see getdal method tks you for any help ..read more
Visit website
How to implement Firebase In-App Messaging
Xamarin » Android
by Rapira
3y ago
Hi guys, I want to add Firebase in-app messaging in my Xamarin.Droid project how can I do this. Which nuget can I use for this. I already have implementing firebase other services. So I just want to understand the client part ..read more
Visit website
"Problem while parsing the package" error trying run apk installation from code.
Xamarin » Android
by JustAlex
3y ago
Hi , I have the same problem as many another ppl: "There was a problem while parsing the package." when I try to install package from app. Package installs from Download folder without problem, reinstall from this folder works as well. But start installation from app gives error. Googling for three days without result. Code is: Intent intent = new Intent(Intent.ActionView); string fileApk = "com.packagename.apk"; Java.IO.File file = new Java.IO.File(Path.Combine(Android.OS.Environment.GetExternalStoragePublicDirectory(Android.OS.Environment.DirectoryDownloads).AbsolutePath.ToStri ..read more
Visit website
Can't Archive App - Shared Mono runtime is enabled for ''
Xamarin » Android
by StephenEly
3y ago
I am currently unable to archive my Android app. Xamarin reports the following: Shared Mono runtime is enabled for ''. The selected build configuration is using the shared Mono runtime for faster deployment. Apps cannot be archived with this setting enabled. Please ensure that you are using a release configuration and that the "Use Shared Mono Runtime" option in your project's build options is unchecked. I've confirmed I'm in Release configuration as always, and the shared runtime option on my project is not selected. Is this a new issue in a recent release? Did something get messed up in my p ..read more
Visit website
How do i save an image from gallery to AppData?
Xamarin » Android
by PedroNeves.7715
3y ago
Hello, How can i achieve this? I already got the image in an ImageSource object taken from the gallery, and i want to save it as app data and use it afterwards. Thanks ..read more
Visit website

Follow Xamarin » Android on FeedSpot

Continue with Google
Continue with Apple
OR