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

MonoDroid and Google Maps: package com.google.android.maps does not exist

I am having trouble to incorporate Google Maps in an adroid app created with MonoDroid. I am using the MonoDevelop IDE. I referenced the Mono.Android.GoogleMaps package (I noticed that the version is 0.0.0.0). I created a MapActvity called…
DirkV
  • 353
  • 1
  • 4
  • 16
4
votes
1 answer

Mono for Android won't build - Can't find Novell.MonoDroid.CSharp.targets

I followed all of the instructions, and install completed successfully. In MonoDevelop, I go to: New Solution -> C# -> Mono for Android -> Mono for Android Application, just as it says. When I go to build it, MonoDevelop throws an error,…
Eli Lipsitz
  • 531
  • 1
  • 7
  • 19
4
votes
1 answer

In MvvmCross how do I do custom bind properties

I am using MvxBindableListView to bind a List<> of data objects to a ListView. The layout I am using for the rows has several TextViews. I am successfully binding the Text property for each of these to a property in my data object, but I have found…
Jason Steele
  • 1,598
  • 3
  • 23
  • 41
4
votes
3 answers

How to do a string shadow span in Android?

Been doing a bit of searching. I can see a method to add a shadow layer to a TextView, but I only want to shadow a span of text. I'm basically doing an EditText where user will be able to change style of text selections. One of those styles being a…
CFD
  • 281
  • 2
  • 10
4
votes
3 answers

Toolkit options to write a crossplatform mobile app in 2012?

I'm currently investigating the alternatives for crossplatform development for Android and iPhone (Windows 8 could be a nice addition). The app is basically a "map with an asociated app", and certainly not a game. Searching here I see many outdated…
Vinko Vrsalovic
  • 330,807
  • 53
  • 334
  • 373
4
votes
1 answer

Constructor in ViewModel

Is it possible to have a constructor in the ViewModel, which initializes the data service? My data service is accessing the web-service of the data storage in a manner similar to this: using System; using System.Collections.Generic; …
Martin
  • 235
  • 1
  • 4
  • 12
4
votes
1 answer

MonoDevelop - Wildcards in csproj file

I've hooked up wildcards in some of my *.csproj files in Windows as the link describes here. Which is working great for us in Visual Studio on Windows. Basically it provides a way to add all files of a type in a folder in your project. That way…
jonathanpeppers
  • 26,115
  • 21
  • 99
  • 182
4
votes
1 answer

Using existing c++ libraries in MonoTouch and MonoDroid

Mono noobie here, I want to use an existing c++ library in an application I'm writing for iPhone and Android. I'm trying to find the best strategy to bind it to my Mono project, so that the changes from platform to platform will be minimal. I tried…
david-hoze
  • 1,045
  • 15
  • 31
4
votes
1 answer

How to use a MonoDroid TabActivity using MvvmCross framework

I'm trying to use a TabActivity with MvvmCross but I am getting a NullReferenceException in the framework code because the viewModelLoader passed in to the OnViewCreate is null namespace Cirrious.MvvmCross.ExtensionMethods { public static class…
Jason Steele
  • 1,598
  • 3
  • 23
  • 41
4
votes
2 answers

System.IO.File' does not contain a definition for `AppendAllText' error in Unity3D?

I am very new to Unity3d and tried to open an existing project. While playing it shows the following error. Assets/Scripts/DataAccess.cs(39,30): error CS0117: System.IO.File' does not contain a definition forAppendAllText' I dont have any idea…
vinothp
  • 9,939
  • 19
  • 61
  • 103
4
votes
1 answer

Using C DLL in MonoTouch and MonoDroid

I am new to using .NET, but I am interested in using MonoTouch/Droid to write mobile applications that could share some core code. I have many C style API libraries I wish to use, for example libxml2. How do I call these native library methods in…
user1027169
  • 2,627
  • 3
  • 27
  • 50
4
votes
3 answers

Mono for Android: ListView Delete Items NotifyDataSet Changed

I am trying to delete rows from a listview. When I click delete, the row is removed. The ListView, however, fails to update. I have to click the back button and come back to see the item removed. Is there a way to refresh the page, after an item has…
Joseph Anderson
  • 4,114
  • 4
  • 45
  • 99
3
votes
3 answers

MonoDroid onClick From XML No Such Method Error

LiftInspection.axml
3
votes
2 answers

Recommended way of creating test version of Android app

We have an Android app built with Mono for Android, and now we have desire to make a deployable test version for use in acceptance testing. It is important that the production version remains on the device and keeps working. What is the recommended…
Tormod Fjeldskår
  • 5,952
  • 1
  • 29
  • 47
3
votes
1 answer

KeyPress event only fires on certain keys in MonoDroid

I have a custom search activity that serves search suggestions. I get a reference to the search input box and set a handler: mSearchInput = FindViewById(Resource.Id.searchBoxInput) as EditText; mSearchInput.KeyPress += new…
profexorgeek
  • 1,190
  • 11
  • 21