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
4
votes
1 answer

On XNA to Mono Android Conversions: What is a simple (or the simplest) way of handling the activity life cycle?

I am a C# developer working on conversions to Mono Android. These conversions work perfectly, except for when the phone times out or blacks out and the user touches the screen again.... The game is lost. What is the simplest way of dealing with…
4
votes
1 answer

Monocross/HTML5 with MonoDroid/MonoTouch/Windows

I have been reading a little on Monocross and it seems to support a model very similar to ASP.NET MVC. It can use HTML5/CSS/Javascript as the UI. Looking initially directly at MonoDroid and MonoTouch, it encourages the developers to develop with…
Paul Knopf
  • 9,568
  • 23
  • 77
  • 142
4
votes
2 answers

Inaccurate positioning of overlays in Android's MapView

I'm trying to create an Activity with MapView and ListView inside it. I use C# and MonoDroid. Layout looks like this
4
votes
0 answers

Send email with attachments - changes between ICS and JB?

I'm using the following code to send emails with multiple attachments using M4A (should be easily transferable to Java): Intent intent = new Intent(Intent.ActionSendMultiple); intent.SetType("text/plain"); …
Stephan Steiner
  • 1,043
  • 1
  • 9
  • 22
4
votes
1 answer

Mono for android using Web Service with authorization

I am developing an Android app which uses a Web Service. I added a web service reference to my project (Right-Click on project -> Add Web Reference). When I use the web service without authentication everything works fine, but when I set credentials…
4
votes
2 answers

Mono for Android: where is GCMBaseIntentService?

I'm trying to use GCM with Mono for Android. According to the Google Cloud Messaging getting-started guide, I should inherit com.google.android.gcm.GCMBaseIntentService. But I can't find this in Mono for Android. What should I do?
MDTool IPA
  • 183
  • 1
  • 8
4
votes
1 answer

MVVMCross Get SelectedItem from a MvxBindableListView

Little problem with my Android application and I don't know how to solve it with MVVM Cross. Here is my ViewModel: public class AddressesShowViewModel : MvxViewModel { public List
Addresses { get; set; } public…
eMi
  • 5,540
  • 10
  • 60
  • 109
4
votes
4 answers

My mapView dosen't show the map just shows the overlay items

I already tried to generate my key in https://developers.google.com/android/maps-api-signup with too much MD5 many times but doesn't work . When a try MapView using var mapIntent = new Intent (Intent.ActionView, geoUri) it works but i can't put my…
4
votes
2 answers

Show keyboard when TextView is clicked on Mono for Android

How can I get the keyboard to show, when someone clicks on a TextView field?
Saeed Hashemi
  • 984
  • 4
  • 22
  • 55
4
votes
1 answer

JNI_OnLoad failed in android libmono.so

My job is android framework porting. I got a lot of 3rd APK can't run on my Android Jelly Bean. (All of them are linker to libmono.so) All of them are failed in JNI_OnLoad() function in libmono.so when they was runing. Below are my error log and…
4
votes
3 answers

Is there a Cross Platform Library for the Xamarin Stack to track usage with Google Analytics?

I want to track usage for my Cross Platform Apps developed with the Xamarin Tools (MonoTouch, MonoDroid, Windows Phone) with Google Analytics. While there is a MonoTouch binding around, it seems I need to create the MonoDroid binding myself (see…
Rodja
  • 7,998
  • 8
  • 48
  • 55
4
votes
2 answers

MonoDroid: Fragment.Instantiate ClassNotFoundException

I am trying to create a swipping tab view using the ActionBar in Mono for Android. The adroid for eclipse plugin has this as a default project template and I have manage to convert it over, I am now trying to add the functionally to separate my…
TheRealTy
  • 2,409
  • 3
  • 22
  • 32
4
votes
2 answers

How to find out if my assembly can be used by Mono, MonoTouch, MonoDroid?

I am brand new to Mono. I have a .NET Framework 3.5 assembly and I want to know if I can use it with mono. Specifically: Do I need to compile my .NET Project with Mono or will Mono run my .NET Assembly compiled from Visual Studio? Are there…
Greg Finzer
  • 6,714
  • 21
  • 80
  • 125
4
votes
1 answer

Building monodroid sample map applications

I am using the latest download of map sample application 'MapsAndLoactionDemo' from Xamarin and in Visual Studio 2010 I get the following compile error(s): Error 10 Activate(java.lang.String,java.lang.String,java.lang.Object,java.lang.Object[]) in…
4
votes
3 answers

ExpandableListView Child Events

I am trying to detect and handle the selection of a child in an ExpandableListView. But none of the event handlers or listeners I've tried ever seem to fire. Which one am I to use? I've tried: lv.Click += HandleSelect and lv.ItemClick +=…
jmease
  • 2,507
  • 5
  • 49
  • 89