Questions tagged as 'xamarin'

1
answer

Unable to convert from 'Android.Net.Uri' to 'string'

I'm trying to save an image attached to a variable to send by mail but I get this error:    Unable to convert from 'Android.Net.Uri' to 'string' I send code where I get an error: if (uris != null) { var filePath = System.IO.Path.Com...
asked by 08.08.2017 / 23:35
1
answer

Xamarin, The component 'System.ObjectModel' could not be found

When executing this code in xamarin, I get this warning and it does not let me compile the program, someone explain to me why this problem, thank you in advance. He does not let me compile that warning     
asked by 20.07.2017 / 01:07
1
answer

Xamarin Forms Error Ispassword

<ContentPage.Content> <StackLayout Padding="10,30,10,10" Spacing="10"> <Label Text="Protected Animal" Font="30" HorizontalOptions="Center" VerticalOptions="Center"/>...
asked by 15.07.2017 / 00:53
2
answers

Update activity with changes in adapter Xamarin android

Good morning. I would like to know if it would be possible to update the parent activity that contains an adapter when an event occurs in it. I explain in a little more detail: I have an activity that loads an adapter with a series of info...
asked by 18.08.2017 / 14:08
1
answer

I need to implement some form of the user activating the gps, Xamarin CrossPlatform PCL

I have read that for security reasons this action can not be carried out even though there are applications that do so, such as Google Maps, in which if one enters the application with the gps deactivated, this application shows an alert with th...
asked by 30.07.2017 / 12:40
2
answers

Doubt when validating CheckBox that dynamically creates

I have a project in Xamarin and through this code, dynamically generate more than one CheckBox if (Lista != null && Lista.Count > 0) { LayoutParams lp = new LayoutParams(LayoutParams.MatchParent, LayoutParams.WrapContent);...
asked by 04.04.2017 / 15:42
3
answers

Xamarin - Views in XAML or programmatically [closed]

I am developing an app in xamarin forms and I am doing my views in a programmatic way. My question is: In terms of optimization which of the two options is better to use? Thank you.     
asked by 10.01.2017 / 03:59
1
answer

Xamarin Forms Azure error

I am trying to connect an application of Xamarin Forms with Microsoft Azure and at the moment of compiling I display the following error: Method 'System.Net.Http.HttpClientHandler.set_AutomaticDecompression' not found. Azure Client: using...
asked by 29.12.2016 / 07:13
4
answers

Change color to my tabbedPage in xamarin forms

Someone knows how I can change the color of my tabbedPage in Xamarin forms, I want it to have the same color of the Navigation Bar that I have. The following image is an example of how I want it, just need to change the color of the Tabbed Page...
asked by 02.04.2016 / 13:47
4
answers

activity Splash Screen only vertical, login activity start vertically by default

I have two activities: It's my splash screen It's my login I need my splash screen (activity 1), only handle the vertical position, it lasts 5 seconds my splash screen. Immediately after the login starts (activity 2) but I need th...
asked by 01.04.2016 / 06:08