Questions tagged as 'xamarin.android'

3
answers

Can an AlertDialog be customized with buttons and that these work as the default ones?

In my XML I set the view with 2 buttons (Cancel, Accept), and create my own class of AlertDialog and AlertDialog.Builder so that it is the same throughout the application. The question is that I want my Cancel and OK button...
asked by 12.03.2018 / 21:43
1
answer

How to get the current phone location in Xamarin forms

I am working with Google Maps and I need to show the user's location on the map, to do this I use a plugin called GeolocatorPlugin by James Montemagno. The problem is that in the deploy of the application it falls, I think the problem occurs...
asked by 10.11.2017 / 16:34
1
answer

Problem installing nuget package

I'm working with MVVMCross and Xamarin.Android. And it seems that for some function (to do a binding of Mvx.MvxImageView) I need to install the package MvvmCross.Plugin.DownloadCache. When trying to install it, it returns the following error:...
asked by 13.04.2018 / 17:24
1
answer

Solciitar ermiso permission of camera Xamarin Android

I'm trying to solve a problem, my App in xamarin needs the camera in a View. When the App is opened, it asks for the permissions (if the user grants the permissions, everything is fantastic), if the user rejects them, when entering the view, I p...
asked by 11.09.2018 / 15:56
1
answer

Compilation error on mobile device with xamarin.forms

I try to compile an app on a mobile device android 7.0 Xiomi Redmi note 4 but it's as if I was doing it in an emulator. The error that shows me is the following:    Compilation error: Xamarin.Android does not support the execution...
asked by 23.04.2018 / 19:58
1
answer

Xamarin Android - Get GPS date

I have a question to ask. I have an app that works as a work attendance clock, and when making the entry or exit, I get the GPS data, these are: Latitude Length Date and time. The detail I have is that if you change the time of the de...
asked by 13.04.2018 / 00:49
0
answers

Xamarin Android how to reset ScreenOffTimeout screen idle time

in an application I change the screen idle time like this: Settings.System.PutString(this.ContentResolver, Settings.System.ScreenOffTimeout, TIEMPO); Everything works fine, but if in a layout I want the rest to be 15 seconds (time = 150...
asked by 15.04.2018 / 19:53
1
answer

error when deserializar (csharp - Xamarin) a json (php)

Classes public class Usuario { public string id { get; set; } public string nombre { get; set; } public string nick { get; set; } public string password { get; set; } public string email { get; set; } } public class T {...
asked by 15.10.2018 / 19:25
1
answer

Error with a ProgressDialog Xamarin Android "Only the original thread that created a view hierarchy can touch its views"

I have a method, where I do a rest to bring a json, and then I deserialize it and put it into a DataGrid, until then everything is fine, now what I'm trying to do is fill in the data grid, put a progress dialog , but in doing so, this error mark...
asked by 11.10.2017 / 18:40
1
answer

Can you connect an Android Xamarin App, to sql server directly or is it necessary to consume some WebApi or some other way?

I'm starting in the mobile app, and I have an App that needs to bring all the data from sql server "online", I tried to connect the App to the sql server as if it were a WinForm, and when it is connected to the PC the test smartphone and start d...
asked by 19.09.2017 / 00:17