Questions tagged [xamarin.android]

Xamarin.Android (previously known as Mono for Android) is an implementation of Mono that runs on the Android platform, allowing you to write Android applications in C# using native Android libraries as well as using the .NET BCL (Base Class Libraries). Use this tag for issues that only occur when using Xamarin.Android, or when using Android-specific features.

Xamarin.Android (previously known as Mono for Android) is an implementation of Mono that runs on the Android platform, allowing you to write Android applications in C# using native Android libraries.

###Links:

18757 questions
3
votes
1 answer

Unsupported configuration: ... armeabi-v7a-emu.so in Mono for Android v4.0

I have just downloaded the latest Mono for Android (v4.0) and am trying to load a test app into a level 14 API emulator. In both Visual Studio 10 and Monodevelop, I am getting the same problem when packaging the app. Here's what I get in…
Fairful
  • 31
  • 2
3
votes
1 answer

GoogleMaps in Mono For Android 4.0 on Mac

I'm trying to run the samples of xamarin about googlemaps, and the MapsDemo sample doesnt work. I'm trying to run on the google api 8 emulator, it throws me this error: Couldn't get connection factory client, and when im trying to run on google api…
arkmetal
  • 681
  • 3
  • 11
  • 25
3
votes
1 answer

Attempting to use com.android.future.usb.UsbAccessory & UsbManager namespaces

At this site we found relevant information about the Framework to use: (we decided on using Android 2.3) http://developer.android.com/guide/topics/usb/accessory.html com.android.future.usb: To support USB accessory mode in Android 2.3.4, the…
John Coe
  • 51
  • 1
  • 6
3
votes
1 answer

access to full resolution pictures from camera with MonoDroid

I'm trying to find a way to access full resolution pictures from MonoDroid, after a long time of attempting to port the Java examples to MonoDroid and looking at how for others seem to have gotten, i currently have the following (Which does not…
Timothy Groote
  • 8,614
  • 26
  • 52
3
votes
2 answers

How to return Java.Lang.Object from a overridden method in MonoDroid

How do you do the following i MonoDroid? public class ItemListAdapter : BaseAdapter { IEnumerable items; public override Java.Lang.Object GetItem(int position) { items.ElementAt(position); …
Nicklas Møller Jepsen
  • 1,248
  • 2
  • 16
  • 34
3
votes
1 answer

What could be causing the "OutputPath property is not set for project ProjectName.csproj" error in my MonoDevelop project

On Windows 7 (64 bit) with the Android SDK working perfectly with Eclipse - my first android application, using the first "Hello World" sample (found here - http://docs.xamarin.com/android/getting_started/hello_world - from Xamarin) fails with the…
Adrien G
  • 228
  • 1
  • 4
  • 12
3
votes
2 answers

MonoDroid Looper.MyQueue() hangs on some activities / Idle Handler?

I'm using MonoDroid Looper.MyQueue().AddIdleHandler() to execute some Commands when the app is in idle mode. This is working in one activity, but if I'm starting the second activity it hangs until i touch the screen or restart the first activity.…
andineupert
  • 341
  • 2
  • 6
  • 19
3
votes
1 answer

Can I add .NET 3.5+ NuGet packages to a Mono for Android project?

Mono for Android has access to most of .NET 4.0 from the Mono framework. Unfortunately, when I try to add NuGet packages in Visual Studio that specifically target .NET 3.5 or beyond, with a /lib/net*/ folder structure, it tosses up an error. You…
patridge
  • 26,385
  • 18
  • 89
  • 135
3
votes
1 answer

Losing Sqlite tables when deploying to on Monodroid

We are using Visual Studio 2010, Monodroid and SQLite We create a database at path myContext.GetDatabasePath("mydb.db3").AbsolutePath using the SqliteConnection.CreateFile(...) method. So our connection string is "Data…
Joel
  • 1,033
  • 2
  • 12
  • 23
3
votes
2 answers

Xamarin / Maui: Worker.DoWork, how to launch a long-running, event-driven task

In my .NET Maui Android app, I'm trying to use an AndroidX.Work.Worker to fire up a long running process that listens for events from the Accelerometer. Problem I'm having is that as soon as the DoWork method exits, the Worker terminates. So I need…
Netricity
  • 2,550
  • 1
  • 22
  • 28
3
votes
2 answers

Mono for Android exit code 255 on BitmapFactory.DecodeStream

I'm using Mono for Android (latest version as of this post) with the Visual Studio plugin to build an Android application. It targets API Level 8, Android 2.2 framework. The app runs fine on a Motorola Droid running Android version 2.2.2 It crashes…
profexorgeek
  • 1,190
  • 11
  • 21
3
votes
2 answers

How to make Grid Row dynamic in CollectionView control of .Net MAUI?

I'm trying to achieve dynamic row height in CollectionView control, so that when ever I have more text for a particular property it will extend the height of the frame automatically. I have tried with ListView as well using HasUnEvenRow property…
Divyesh
  • 2,085
  • 20
  • 35
3
votes
1 answer

C# Generating PublicKey/IPublicKey object from EC Public key bytes?

When porting a snippet of code from Java to C#, I have come across a specific function which I am struggling to find a solution to. Basically when decoding, an array of bytes from an EC PublicKey needs to be converted to a PublicKey object and…
kran
  • 73
  • 5
3
votes
0 answers

Xamarin Essentials WebAuthenticator.AuthenticateAsync method doesn't return any result

I have added a WebAuthenticator.AuthenticateAsync method in my xamarin forms app with start up Url as "https://accounts.google.com/o/oauth2/auth" and call back url as "myapp://" I have also tried with call back url as…
3
votes
2 answers

Monodroid, Interop betwen Java and C#

We have a big Java application under Android ("big" just means it's too much work to translate the application). We must access to an engine written in .Net (this engine is also too "big" ...). This engine is only calculation. We therefore seek a…
Renaud
  • 33
  • 3
1 2 3
99
100