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
-
22
votes1
answer311
viewsClick on Loginbutton facebook on android using Xamarin with Facebooksdk nothing happens
I’m using Xamarin to try to log in with facebook, I already generated the Hash and appid. ( Apparently correct, because previously the app returned me an msg saying that the HASH was invalid ).…
-
9
votes0
answers152
viewsError: Valuefactory tried to access the Value property of this instance
Every time I create any project Xamarin in the Visual Studio 2017 the following error is displayed when running the application: Erro: ValueFactory tentou acessar a propriedade Value dessa…
-
8
votes1
answer119
viewsDesign has more than 65536 methods
When adding the Analytics Package to the project, an error occurred in the project. As explained on this blog , the error occurs when the project has more than 65536 methods (only the added Google…
-
8
votes1
answer206
viewsHow to prevent the app from being "minimized" by Appswitch(Recentapps) Xamarin Android
I need to lock the device only for one application. I use in my project a line that determines that my app becomes a launcher. So, the home screen of the device is my application and the HomeButton…
-
6
votes1
answer236
viewsBinding Facebook SDK 3.6 for Android
In my project with Xamarin, I need to use the Binding from Facebook SDK for Android version 3.6. However, I could only find the Binding of version 3.0, outdated. Does anyone know where I can find…
-
5
votes3
answers5735
viewsWhat is the basis for.Oncreate(Bundle) and what is Bundle?
I’m starting with Xamarin studio and wanted to know what this "base" class is for, this method onCreate() and what is bundle?
-
4
votes3
answers4613
viewsCreate a Mask for Cpf using Xamarin
Hello, I would like to create a Cpf mask using edittext, but I did not succeed; I searched the net and found several examples in java, but I could not adapt to c#, someone could help me? Thanks in…
-
4
votes2
answers324
viewsWhat is the correct way to use Runonuithread() in Xamarin.Android?
When I need to update a field on the UI, I need to run this code on the UI thread? For example: I have to change my layout Activity. The code I’m using is this: RunOnUiThread(() => {…
-
4
votes2
answers99
viewsSave the same file at the same time in different threads
In my software I have a thread that every second updates the X file. This same file can also be updated through a user action that will be in another thread (may be at any time). My question is:…
-
3
votes1
answer394
viewsHow to set negative values for Android Seekbar?
I’m using Xamarin to develop for Android in C# and checking the component documentation Seekbar I saw that it only has a property "Max", and that the minimum value for the component is 0. How would…
-
3
votes2
answers224
viewsLoading the web version of a website and not the mobile version into a Webview
How to press the WebView do Xamarin.Android a full site? It is bringing the mobile version. Example: I’m talking to WebView go to https://www.meusite.com.br And it’s bringing:…
-
2
votes1
answer158
viewsEmpty variable by foreach
Values are not placed in my variable by foreach, which I do? using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Linq; using System.IO; using…
-
2
votes1
answer280
viewsHTML Parser in Xamarin
I am developing an application with Xamarin to make login in a web account using HTTPWebRequest and filter relevant site information to an app. I’ve already developed the part of doing login, now I…
-
2
votes1
answer917
viewsHow to force an entry Numeric on android work with comma instead of point to decimal numbers?
I tried to use Culture but it didn’t work either and I didn’t want to do the trick of putting a replace before sending it to the base. Even with the Xlab I could put the keyboard to work ptbr and…
-
2
votes1
answer3204
viewsCreate Phone Mask for Edittext
I’m trying to create a mask for my phone field, I saw some forums and tried the code below, but it is putting another pattern... I need to put in the pattern. EditText inputField = (EditText)…
-
2
votes1
answer106
viewsSpinner - Xamarin
I need to create a spinner by programming code and define: layout_height: match_parent layout_weight: 10 layout_width: wrap_content Spinner sp = new Spinner(this); sp.Layout_height ???…
-
2
votes0
answers247
viewsWhat are the advantages of developing an app in Xamarin Visual Studio?
I know that in the Visual Studio with Xamarin it is possible to develop applications Android, then aroused the curiosity: In the code part I know you use c#, but part xml it’s more complicated or it…
-
2
votes2
answers191
viewsOnExit event in editText?
I’m looking for an event called onExit in the editText, but I couldn’t find any. What I want to do is add a function when leaving the field. Ex 1.: User is using a barcode reader bluetooth and when…
-
2
votes0
answers264
viewsHow to get the photo taken from the camera, not the camera preview
Good afternoon guys, I’m using this Xamarin cross-platform camera design. In the android part, I’m not getting maximum in the photo, I’m using this function:…
-
2
votes2
answers379
viewsSHA512 encryption - XAMARIN
Good afternoon, I’m trying to encrypt a string with SHA512, in the [PCL] project, I’m not getting, can anyone show an example of how to do? The idea was to do something like: public string…
-
2
votes2
answers766
viewsWhat is the difference between the versions of Xamarin?
What is the difference between versions Xamarin.Forms, Xamarin.iOS and Xamarin.Android?
terminology xamarin xamarin.android xamarin-forms xamarin.iosasked 7 years, 8 months ago Marco Souza 12,304 -
2
votes1
answer649
viewsShould I always use Navigation.Popasync()?
I am starting learning using Xamarin Forms. In my case, I am doing some tests with an application for Android. Running a parallel with Windows Phone, when I navigate from a page A to page B, and…
-
2
votes1
answer277
viewsDevice keyboard is over Input
I have an application in Xamarin using Hybriwebview (HTML screens). Inside it I have a text input at the bottom of the screen and when I click on the input the keyboard of the phone is over my…
-
2
votes1
answer101
viewsCreate an image with Blur effect in Xamarin.Android
How can I create an image with Blur effect in Xamarin.Android? I just found solutions in Java and nothing really functional and agile for Xamarin.Android. What I tried to use unsuccessfully was…
-
2
votes0
answers72
viewsUpload files. only in Xamarin Android
I’m trying to convert a class Java for C# in the Xamarin.Android. The class Java that’s the one: private native boolean OpenDeviceCtx(Object obj); public native boolean CloseDevice(); public native…
-
2
votes2
answers40
viewsBack version of the application
Is it possible to return the app version? We initially put in the field Version Number the number 2 just to see how it would look and after that we are not being able to return to the numbering we…
-
2
votes2
answers246
viewsGet "Version Name" [Xamarin.Forms]
I have a screen About and I wish I could take the Version Name, how to do this?…
-
2
votes1
answer96
viewsWhite screen in transition between activities
I have a project in which I developed a method to save a reference to the activity current and when I used the HOME from the next screen, it returned to the activity using that saved reference. But…
-
2
votes0
answers302
viewsHow to use credentials on an Httpwebrequest
I’m trying to capture an image from an IP camera. In the first model tested, it worked normally, since the model in test did not require credentials to return the images as a array de bytes because…
-
1
votes2
answers1193
viewsMore than one *Layout* in the app
How do I instantiate a new screen, I have the Main.axml And I wish that when I hit the button I’d call my own Result.axml. I wonder how I do it in Xamarin in C#. And if I need 2 Activities’s one for…
-
1
votes1
answer689
viewsFind files on Xamarin Android
I am putting an xml file inside the project but it is not being located by my XmlTextReader where in the project I should put this file and how to find it in the emulator folder? I’m using Xamarin…
-
1
votes2
answers1341
viewsDynamic Graph using Xamarin Forms
I’m new to Xamarin, I know there must be components ready for what I need. I need to create a chart like this: http://www.highcharts.com/demo/dynamic-update I used this in Phonegap (Html5 + JS), now…
-
1
votes0
answers127
viewsXamarin Visual Studio 2015
I installed Visual Studio Community 2015 and Xamarin, but I am not able to emulate my applications, the following error occurs during the compilation: 1>:Deployment failed…
xamarin.androidasked 8 years, 6 months ago RES 11 -
1
votes0
answers28
viewsXamarin error - "Connection to the layout Renderer failed"
Every time I try to open the Main.axml file this error appears : I don’t know how to fix it, someone can help ?…
-
1
votes0
answers223
viewsXamarin - Load Frame with Image inside a Contentview
I want to change this Sketch so I can draw in a photo. I lowered the github and I’m making the modifications. However, I am not able to load an image on the screen when setting the Image Source.…
-
1
votes1
answer44
viewsEmulator only runs old applications
I created an app some time ago and I’m creating another one now, but when I start the emulador, the app that appears is the old. I can’t touch the new app on the emulator. What might be going on ?…
-
1
votes1
answer235
viewsChanging the project API
Error every time I switch from API 24 to API 15, API 16 or API 19.…
-
1
votes0
answers181
viewsProblems with Xamarin in Visual Studio 2015
I’m starting to "play" with mobile development and as I already develop in C#, I wanted to use Xamarin. But, as soon as I installed and update/installed everything I had in the android SDK manager.…
-
1
votes1
answer152
viewsDoubt with Dependencyservice Xamarin c#
I created a project just android using Xamarin Problem : problem at this point does not recognize Dependencyservice An interface : namespace Projeto.Xamarin.Android { public interface IConfig {…
-
1
votes0
answers40
viewsAndroid - Activity shows no xml components
I’m starting with Xamarin studio and why not even show the "hello world"…
-
1
votes0
answers531
viewsAndroid app works on emulator, but not on physical device
The entire project, including the back-end works perfectly when running on the emulator Android in the Visual Studio, but when I file APK on-mode release and run in my smartphone, only the front-end…
-
1
votes1
answer393
viewsProblem generating build in Xamarin Android (No Resource found that Matches the Given name "at 'icon' with value '@mipmap/icon')
I am a designer trying to learn how to assemble screens for Android applications through Visual Studio, using Xamarin Android, so pretty beginner in technical terms related to the area... I started…
-
1
votes1
answer43
viewsErrors released on Android are not easily captured in Xamarinforms
I am developing in Xamarinforms a project where I use several APIS downloaded by Nuget, and have not had problems so far. Until then I decided to use the plugin Imagecircle and create a new View in…
-
1
votes1
answer190
viewsXamarin Emulator works, but after updating pro VS 2017 the application is copied but appears as blank
I use the Xamarin android player to do the simulations and test my apps but after I upgraded to Visual Studio 2017 the emulator works partially, main.AXML and the build & deploy works normally,…
-
1
votes0
answers434
viewsPublish to playstore not matching apk name
I’m climbing an apk still to the Alpha but I’m not getting the error message "The APK package name needs to be in the "com.example.myapp" format. It can contain letters (a-z), numbers and…
-
1
votes2
answers116
viewsHow to make this layout in Xamarin
What structure should I use to make this layout? Is a listView or gridView, I don’t know how to do this part of SOUND, when I put the listView, appears only bottom align, top not!…
xamarin xamarin-forms xamarin.android xamarin.portableasked 7 years, 3 months ago Eduardo F. Santos 449 -
1
votes1
answer282
viewsHow to identify the applicationId?
I am implementing the Firebase in my project, but when registering my application in the Firebase it requests the package name (applicationId). In the help the following message appears on the page:…
-
1
votes2
answers100
viewsDo you need to use Appcompat and Support Design libraries when the minimum API is 21?
I recently updated an application I am developing to use minimum API 21 (Lollipop), before it was on 19 (Kitkat). In the case of Kitkat I needed to use Appcompat and Support Design to take advantage…
-
1
votes1
answer105
viewsHow to show a message after a send action?
I’m trying to make the Android app show an "email sent successfully" message after an email, which is linked to the action of the send button, be sent correctly. I tried to show a Toast, but it…
-
1
votes1
answer1199
viewsPhysical back button in Xamarin Forms
I need to be clicked on the Back button of the Smartphone to be returned to the previous page. Note: If possible do not use Navigation to not have the bar up there.