Most voted "xamarin.android" questions
Use this tag for questions about Xamarin.Android, which enables the development of native mobile applications for Android using C# in Mono. Ideally a specific framework/product tag should be used, unless the problem is general for all editions.
Learn more…105 questions
Sort by count of
-
1
votes0
answers68
viewsMy Xamarin is only working in the debug version!
During my applications, my Xamarin started running only in debug, when I change to release solution, it keeps using debug. I tried to restart the pc, download the project again, change some configs,…
-
1
votes1
answer43
viewsDoubt about Xamarin-Forms
Good night, I am starting a TCC project with development for mobile platform and my group we are developing using the platform Xamarin Forms, my doubt is about the creation of the project, because…
c# xamarin xamarin-forms xamarin.android xamarin.iosasked 6 years, 6 months ago Giovanni B. Preivatti 55 -
1
votes1
answer216
viewsHow to get back Json from the site Hgbrasil Weather in my application Xamarin
How do I get the values provided in the Json format in my Xamarin application. The code below is not returning anything. public class MainActivity : Activity { ProgressDialog dialog; TextView txtv1;…
-
1
votes0
answers180
viewsDifficulty listing Sqlite result in Listview Android
I’m creating an application to train mobile development, I’m doing for Android in Visual Studio, using Xamarin. I’m having difficulty listing a result of Sqlite. I created two Activity, one to…
-
1
votes1
answer1120
viewsHow to put the 3 buttons at the bottom of the screen?
I want to put 2 buttons at the bottom and 1 button on the 2 buttons. Something like that: (but with the image upside down) These 2 buttons below and a button above 2 and all these 3 buttons should…
-
1
votes1
answer45
viewsXamarin - Camera does not work
I developed a web application. However, in the Webview that I created from this application, when I try to upload files, the code redirects me to the image gallery instead of opening the camera of…
-
1
votes1
answer220
viewsBack Button does not appear in Navigationbar Xamarinforms
I have a Hamburguer Menu with a Listview where in the click of the listview line I call this method to open a Modal, but the Navigationbar does not appear the Backbutton. public async Task…
c# visual-studio xamarin xamarin-forms xamarin.androidasked 6 years, 8 months ago Lucas Riechelmann Ramos 521 -
1
votes1
answer348
viewsXamarin Forms Android - Change Toolbar Background
I’m trying to change the background color of Toolbar Android, in a Xamarin Forms application. Expected result: Current Result: Styles.xml <resources> <style name="MyTheme"…
-
1
votes0
answers45
viewsZxing does not read CODE 128 Barcode with more than 8 characters
I need some help, I made a code to read Barcode from the camera of the Cell phone. When I put more than 8 characters in CODE 128 the system does not read. In other formats Read but in code 128 no.…
-
1
votes0
answers12
viewsRemoval of Event Handlers
In an application Xamarin.Android, it is important to remove the Event Handlers when leaving the screen to avoid memory consumption? It would be a good practice? For example, in the OnCreate() of…
-
1
votes1
answer212
viewsSELECT with SQLITE and Xamarin.Android
I’m trying to run a database check, but it’s not working. I still don’t understand how to do the research based on a criterion, using Sqlite and developing the application using Xamarin.Android. The…
-
0
votes1
answer212
viewsAdded components in Xamarin Studio 4.x/5.x and Android Designer
When using the Xamarin Studio 4.x/5.x Designer Interface tool on the Windows 8/8.1 platform I cannot add components on the screen, when trying to drag and drop a component from the toolbar to the…
-
0
votes0
answers206
viewsError compiling App with Xamarin
I’m having some problems compiling my project on Xamarin no VS2015. Error java.lang.Unsupportedclassversionerror: com/android/dx/command/Main : Unsupported major.minor version 52.0 Navegacaointent…
-
0
votes1
answer127
viewsUse Droid project class in PCL Xamarin Forms
How do I use a class that was created in the project Droid in the PCL ? I created a new class that will save the image in a folder in the project, but I need to call this class PCL. My class:…
-
0
votes1
answer43
viewsXamarin Visual Studio 2015- All Toolbox components are disabled
I am running the lab01 of #Maratonaxamarin and after doing all the procedures to run Android the emulator screen appears , but I need to include the button "hello world" but the tollbox is with all…
xamarin.androidasked 7 years, 9 months ago Ailson Santos 1 -
0
votes1
answer102
viewsXamarin Forms with Azure
I am creating an application with integration with Azure, when I try to instantiate the MobileServiceClient I have the following exception Method…
xamarin xamarin.android xamarin-forms xamarin.portableasked 7 years, 9 months ago Pablo Tondolo de Vargas 5,444 -
0
votes1
answer177
viewsHow to make a Binding data in a Listview in Xamarin.Android?
I’m trying to do fills a listview with the data from a table, but so far I didn’t understand how to make the Binding date on it. XML; <?xml version="1.0" encoding="utf-8"?> <RelativeLayout…
-
0
votes1
answer66
viewsMultiple spinners
I’m creating an app where I have a TableLayout, in which I add TableRow dynamically with Spinners and TextEdit. It is possible to create a EventHandler common to all Spinners?…
-
0
votes3
answers904
viewsProblem when rotating android cell screen
Hello, I am developing an application for android using Xamarin, I have in the application a webbrowser, very simple, where it accesses a login page (…
-
0
votes0
answers42
viewsShaman error after deploy
I made a simple app that reads a barcode and inserts it into a base sqlite. When I am in debug, it works perfectly, it saves the data, etc... But when I release, disconnect the phone from the…
-
0
votes1
answer559
viewsChange color of Listview item in Xamarin according to database data
I need to change the color of the listview item according to the data coming from the database, I have a field visited that this receiving a "*" would like to change the color of the person who has…
-
0
votes1
answer155
viewsIs it possible to import an XML file with an interest in replacing XAML?
Good morning ladies and gentlemen, It would be possible to work with XML file (layout) made in Android Studio to use in visual studio in the case of android development with Xamarin. I would like to…
-
0
votes0
answers401
viewsReducing the photo size
I am recording the photos taken by my application in the sqlite database, know that it is not much recommended more need to transfer these photos to a central database that unifies all data of all…
-
0
votes0
answers33
viewsWindows does not show newly inserted files in a directory of a real android device /sdcard/Download/
I have an Android application that I import an Sqlite file into the application to perform the queries and changes. When finished manipulating I export that same file to a user-accessible folder so…
-
0
votes1
answer648
viewsHow to read a JSON Object Array with Xamarin Android Newtonsoft.Json
I am working on an app that gets a response JSON and inserts some fields of it into a textfield android, here is the code: using System; using Android.App; using Android.Widget; using Android.OS;…
-
0
votes1
answer168
viewsXamarin Method 'Plugin.Geolocator.Abstractions.IGeolocator.Getpositionasync' not found
You’re making a mistake for me: "Method 'Plugin.Geolocator.Abstractions.IGeolocator.Getpositionasync' not found" In IOS version is working well, but on Android could someone give me a hint? It’s my…
-
0
votes1
answer250
viewsHow to test my Xamarin app in Visual Studio emulator?
I made an android mobile application using Xamarin and tested it normally, made some modifications and when I went to compile again, the emulator of the visual studio remained with the old version,…
-
0
votes1
answer38
viewsDoubt when obtaining the value of a radioGroup to send in an email
Hello, in my code I have 4 Radiogroups and I will pass their value in an email. So far so good, but in my code I am not able to (I don’t know how to do) send only the text of Radiogroup that was…
-
0
votes1
answer211
viewsHow to use Android.Hardware.Camera2 in Xamarin
I’m having a little trouble figuring out how to use it Android.Hardware.Camera2; how the Opencamera() method works and what you enter as a parameter in Availabilitycallback. Can someone help me? if…
-
0
votes1
answer35
viewsHow to make a Circleprogress in Xamarin Android?
I’m programming in Xamarin.Android and I need a progressbar (or something like) circular that really shows some progress, I tried to use the ProgressBar really, but it just shows progress…
-
0
votes0
answers228
viewsProblem with APK Size generated by Visual Studio
I’m using the latest version of Visual Studio Community 2017, and when I get the apk, the same is getting the size 90 mega. I have already made several modifications and I did not get results. It is…
xamarin xamarin-forms xamarin.android apk visual-studio-2017asked 7 years, 1 month ago João Paulo 81 -
0
votes1
answer214
viewsXamarin Forms MVVM Binding Listview
I want to create a list of users, however, I am not able to perform Binding, the data is not displayed. If the Follows my structure: Listusuarios.xaml: <?xml version="1.0" encoding="utf-8" ?>…
-
0
votes0
answers117
viewsI am unable to modify the layout when opening the keyboard
I’m trying to "decrease" the layout when opening the keyboard, but I’m not getting it, it’s inside a ScrollView and I realized that he ignores the free space below the views (where there are no…
-
0
votes1
answer102
viewsHow to hide all buttons with foreach?
Follows code: FindViewById<Button>(Resource.Id.Button_1).Visibility = ViewStates.Gone; The code above is to hide a "button 1" and I have more than 50 buttons. I do not want to copy this whole…
-
0
votes0
answers227
viewsXamarin - "Problem rendering this Document"
When I try to create a new layout it doesn’t display and sends this message to me, and I didn’t even edit anything, I just created a new layout from scratch.…
visual-studio xamarin xamarin-forms xamarin.android visual-studio-2017asked 6 years, 7 months ago sdnaves 1 -
0
votes1
answer164
viewsXamarin.Android App with Bing Maps
I saw that the Bing Map API does not provide an SDK for Android. How I could create an app Xamarin.Android with Bing Maps?
-
0
votes0
answers87
viewsDesign layout Xamarin Android bugado Visual Studio 2019
Talk guys, I downloaded Visual Studio 2019 with Xamarin to work on a project, but when I open a layout to work the screen comes all blank, objects are there but do not appear. Can someone help me?…
-
0
votes0
answers38
viewsHow to use Bidingcontext to link Views to a Dictionary?
My Xamarin application has as one of its features, creating forms based on an object. I have been having trouble saving the data from this form. I have to go through the children of Stacklayout to…
-
0
votes1
answer62
viewsXamarin Android WCF to after enter more than 10 times
I have an app on Xamarin android that consumes a wcf service, when I instate the service more than 10 times the service falls and you need to restart it and when it will restart the bar you need to…
-
0
votes1
answer138
viewscreate android text file on internal memory Xamarin.android
Well I’m trying to save an ip from the server where this my bd but I’m not getting because it does not give enough access to record the text file in the internal memory of the mobile phone, someone…
-
0
votes1
answer42
viewsEdittext.Selectionchanged event on Android
I need this event you have in Windows Forms: private void richTextBox_SelectionChanged(object sender, EventArgs e) { } Only for Xamarin, on Android. Note that I’m not using cross-Platform app. I can…
-
0
votes1
answer965
viewsThe $(Targetframeworkversion) is Less than the minimum required for Xamarin.Forms (8.1)
The following error is occurring when compiling an app: The $(TargetFrameworkVersion) for Representantes.Android (v8.0) is less than the minimum required $(TargetFrameworkVersion) for Xamarin.Forms…
-
0
votes1
answer73
viewsHow to access in Viewmodel, a Listview q is in a View?
So I have a page called Filmeview on it I have: <ListView BackgroundColor="WhiteSmoke" SeparatorColor="Blue" x:Name="listaFilme"> and I have a Viewmodel class: FilmeService filmeService = new…
-
0
votes1
answer30
viewsToolbar hiding a piece of textview
Follows code: <?xml version="1.0" encoding="utf-8"?> <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"…
-
0
votes1
answer36
viewsIs there a need for ". this" in an Android Xamarin project?
I’m rewriting an application that was originally written in Java in Android Studio. Now I’m rewriting in C# for Xamarin Android, so a doubt arose me, in several classes I came across the java code…
-
0
votes0
answers97
views"ROOT ELEMENT IS MISSING" ERROR WHEN TRYING TO DESIRIALIZE XML IN XAMARIN FORMS
public T Exportar<T>(T obj, string nomeArquivo) { try { string file = Global.LocalPasta + nomeArquivo + ".xml"; if (File.Exists(file)) File.Delete(file); using (var stream = new…
-
0
votes1
answer62
viewsXamarin.Android does not update Resource.designer in C# Visual Studio 2019
When I insert a button (for example) into the file Activity Resource.desigenr.cs does not update to add the item Botao and the data (like id for example) so I can’t access it by command…
-
0
votes0
answers56
viewsAndroid Binding Library Error: How to make a method return an array of Idictionary <Tkey, Tvalue>?
Hi guys, I would really like someone to help me with this error I’m getting when I import a.Aar file, in an Android Binding Library project, to realize an integration with the service of a little…
-
0
votes0
answers7
viewsXamarin.Android recyclerView fill parent height fully
I have a recyclerView and a linearLayout, both brothers and sons of a relativeLayout. The linearLayout should always be aligned below, so I would like Recycler to occupy all of the father’s space,…
-
-1
votes1
answer110
viewsHow to edit items in sqlite.net with Xamarin
I’m learning to use sqlite.net in the Xamarin, but when editing an item is not working, I debug the code and gave a breakpoint in the EditItens() and saw that the values passed to…