tagged [xamarin.android]

Error after Enable Multi-Dex in Xamarin Android

Error after Enable Multi-Dex in Xamarin Android While creating a Xamarin Android application, after adding the reference to Infragistics Chart control and the Google Play services, we had to enable th...

11 Jun at 14:23

Getting local IP address

Getting local IP address I'm trying to get the local IP address of my Android device using Mono for Android, but failing. The code I use for the full and compact framework is this: Under M4A, how

8 Aug at 23:57

What is the equivalent package of ORMLite used in case of Xamarin.Android application

What is the equivalent package of ORMLite used in case of Xamarin.Android application In case of Android project ORMLite has been used. I would like to know what is the equivalent package that should ...

How can I make my app send out notifications when it's loaded but not running in the foreground?

How can I make my app send out notifications when it's loaded but not running in the foreground? I have an app that I use sometimes. I must have left it there in the background before I slept. When I ...

Xamarin build action warning XA0101

Xamarin build action warning XA0101 I'm getting following warning while building the Xamarin Android project. For this topic I found resources below, but I can't figure out the solution to get rid of ...

"aapt.exe" exited with code 1 when building Mono for Android project

"aapt.exe" exited with code 1 when building Mono for Android project I put together a fairly simple Mono for Android application that does nothing more than play an "AndroidResource" MP3 in a backgrou...

11 Jul at 20:15

Where can i add google-services.json in xamarin app

Where can i add google-services.json in xamarin app Hi we are developing Xamarin application where we want monitor how many peoples install application from our referral id. Im find this document [htt...

Google APIs vs Google Play vs Intel x86 vs Android TV vs Wear OS Intel x86 system image differences

Google APIs vs Google Play vs Intel x86 vs Android TV vs Wear OS Intel x86 system image differences I have recently started exploring Xamarin.Android with Visual Studio 2017. On Android SKD Manager wi...

String.Format() doesn't work, but string.Format() does

String.Format() doesn't work, but string.Format() does I would not believe this if I wasn't seeing it with my own eyes. Results in a value of `"{0} test {1}"` for variable `test` Results in a value of...

29 Apr at 19:54

How do I upload an image to a ServiceStack service?

How do I upload an image to a ServiceStack service? I have the path of an image, and use the following code to send it to my server; ``` HttpWebRequest client = (HttpWebRequest)WebRequest.Create("http...

Xamarin remove app title

Xamarin remove app title I'm struggling with the dumbest thing (I guess I'm just not used to the Xamarin Designer). How can I remove the title of my app ? It keeps showing up but it is not in my Layou...

17 Dec at 05:21

MonoTouch / MonoDroid Service Layer incompatibilities?

MonoTouch / MonoDroid Service Layer incompatibilities? We've begun to build `Cross platform Android/iOS apps`, having built exclusively in MonoTouch before. We're evaluating `MonoDroid`. Our apps need...

usb devices android, c# Xamarin

usb devices android, c# Xamarin I recently started writing on Xamarin, and I've got some problems with writing code to look at the devices attached to my host. I've read the SDK documentations, and al...

Getting servicestack working on monodroid

Getting servicestack working on monodroid I'm trying to reference the servicestack dlls in a new monodroid project and I'm getting build errors. I grabbed the dlls from here: [https://github.com/Servi...

System.ObjectModel Warning Xamarin does not run on Android

System.ObjectModel Warning Xamarin does not run on Android We are running the 'Welcome to Xamarin` example on Visual Studio Enterprise, using the latest Xamarin, in a Windows 8.1 environment. We are m...

Custom Application child class in Mono for Android

Custom Application child class in Mono for Android I'm trying to create a child class of "Android.App.Application" to override "OnCreate()", but I can't get it working. Here's my code: ``` namespace M...

29 Mar at 15:18

How to change shape color dynamically?

How to change shape color dynamically? I have ```

ServiceStack error in Release build of Mondroid app

ServiceStack error in Release build of Mondroid app I have mnodroid app that works fine in debug mode but gives me the following error when I build and run in release mode: ``` UNHANDLED EXCEPTION: Sy...

20 Apr at 14:10

Android Webview cannot render the pdf sometimes and shows blank/white page instead

Android Webview cannot render the pdf sometimes and shows blank/white page instead - - - I have made the sample on the pdf. The link for the project is shown below: [https://github.com/gopalawasthi123...

appcompat-v7:21.0.0': No resource found that matches the given name: attr 'android:actionModeShareDrawable'

appcompat-v7:21.0.0': No resource found that matches the given name: attr 'android:actionModeShareDrawable' When attempting to use the latest appcompat-v7 support library in my project, I get the foll...

How to implement CountDownTimer Class in Xamarin C# Android?

How to implement CountDownTimer Class in Xamarin C# Android? I am new to Xamarin.Android framework. I am working on count down timer but unable to implement like the [java CountDownTimer class](http:/...

23 May at 11:46

Using Monocross on Windows Phone 7 with Panorama and/or Pivot control

Using Monocross on Windows Phone 7 with Panorama and/or Pivot control I love the [Monocross](http://code.google.com/p/monocross/) idea but am a bit lost for Windows Phone 7 when I want to use a Panora...

How can I force Localization Culture to en-US for whole applicaiton in Xamarin

How can I force Localization Culture to en-US for whole applicaiton in Xamarin How to force to work in culture regardless of user setting. The issue I am facing in my application is, The app only supp...

Xamarin: Can not resolve reference: `System.Threading.Tasks.Extensions`, referenced by `MySqlConnector`.

Xamarin: Can not resolve reference: `System.Threading.Tasks.Extensions`, referenced by `MySqlConnector`. I can't build my Xamarin Android project in Visual Studio 2017. I keep getting this error: ``` ...

10 Oct at 19:55

Handling Global Exception Xamarin | Droid | iOS

Handling Global Exception Xamarin | Droid | iOS We all know that mobile is compact platform where we have to look lots of things while building an application. It could be anything e.g. `Memory` `Perf...