Most voted "xamarin" questions
Use this tag for questions about the Xamarin platform, which enables you to develop native mobile apps for iOS and Android using C# in Mono or Visual Studio. Ideally a specific framework/product tag should be used, unless the problem is general for all editions.
Learn more…494 questions
Sort by count of
-
3
votes1
answer1151
viewsError: Your project is not referencing the "Monoandroid,Version=V8.1" framework
After having upgraded Visual Studio to version 15.7.1 the following message started to appear in my ready-made projects: Your project is not referencing the "Monoandroid,Version=V8.1" framework. Add…
-
3
votes0
answers44
viewsPick up on Mainactivity events in App.xaml.Cs
I have it on my App.xaml.Cs CrossFirebasePushNotification.Current.OnNotificationReceived += (s, p) => { System.Diagnostics.Debug.WriteLine("Received"); }; When I receive messages, ie have…
-
3
votes1
answer207
viewsXamarin - Picker View with list
I’m creating an app with Xamarin Forms and I came across a problem. In one of my Views I need to have an element filled with a list coming from a web service. In this case, in my Viewmodel I managed…
-
3
votes2
answers719
viewsHow to organize this Layout using Xamarin Forms?
I haven’t been able to organize my layout in my Listview, it gets disorganized, I’ve tried several ways but so far nothing, I would like to have tips/help. I wish I could have the Código at first,…
-
3
votes1
answer248
viewsSize of a very large Xamarin Forms application
Recently created an application using Xamarin.Forms, but after the release it was with a size of 15MB. My app has a total of 8 pages (views) among which only two use images and speaking in images…
-
3
votes1
answer52
viewsplugin.media error
I’m trying to use the Media Plugin for Xamarin and Windows with the Visual Studio Community 2017. An android app that should have the ability to take some photos. I followed the following…
-
2
votes2
answers1797
viewsDevelop for iOS using C# in Visual Studio
I already develop in Java/Android, and wanted to develop for iOS, but the cost of having a Mac is expensive, I already have an iPhone. I saw that it was possible to develop using C# in Visual Studio…
-
2
votes2
answers4504
viewsHow to read xml with c#
I want to create an application for android with C# using Xamarin, it takes in a "database" xml some information and puts it on the screen, but I’m not able to manipulate xml. I need to search the…
-
2
votes0
answers330
viewsBlock termination of android app
I’m developing a managerial application for Android, using C# with Xamarin. There is some way to block the application (or lock all the buttons on the tablet) so that the user can not close it,…
-
2
votes1
answer1822
viewsHow to debug ASP.NET or Webservices applications on IIS
I need to debug my application that consumes a Webservice and I would like to be able to debug Webservice in one Visual Studio window and the application in another, but I can’t make local…
-
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
votes1
answer395
viewsI can update the Mono.Android library in Xamarin
I’m having some problems and I believe that if I could update the mono library I would have access to new functionality, someone could do it?
-
2
votes2
answers652
viewsAndroid apps, what are the advantages and disadvantages of the tools?
Between creating native apps, using HTML, CSS and Javascript together with Phonegap, or C# with the help of Mono, what are the advantages and disadvantages and which context best applies?…
-
2
votes1
answer236
viewsXamarin - Dependencyservice NULL
Dear friends, good morning! I started seeing a tutorial to develop a simple app in Xamarin with Sqlite, but I have a problem, with an object that calls Dependencyservice, they always come null, and…
-
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
votes1
answer223
viewsProblem with Mysql connection in C#
I created a connection class for my application in Xamarin, but every time I try to connect throws this exception: "The type initializer for 'Mysql.Data.Mysqlclient.Replication.Replicationmanager'…
-
2
votes1
answer88
viewsEvent Checked for Cross Platform Xamarin
You can create a button with the event Checked in Xamarin ? If yes, how to do ?
-
2
votes1
answer1089
viewsSave image in Xamarin Forms
How to save the image from BD in any existing folder in the project ? I need to create a new folder or save the image to any folder inside the app in order to use it in one View. My code: byte[]…
-
2
votes1
answer172
viewsHow to load Tableview Dynamically
I’m having trouble creating a menu dynamically by loading directly from a list. In my project this is the following way <?xml version="1.0" encoding="utf-8" ?> <ContentPage…
-
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
answer2305
viewsPass and grab the Commandparameter from a Xamarin Forms button
How to pass a value that is in one Binding for CommandParameter of a button that is inside a ListView to the ViewModel ? The button is accessing the Command but I don’t know if this is how the…
-
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
votes4
answers1341
viewsUpdate Listview after return with Popasync in Xamarin Forms
How to update the ListView after returning to the View using the PopAsync ? I need the ListView load items from it after the Address Insertion View saves a new address. OBS: The PushAsync or…
-
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
votes1
answer227
viewsLogin with facebook in Xamarin Forms with Azure Mobile Apps
I’m building an app (with Xamarin.Forms Pcl), where I have a login with facebook, using the Azure Mobile Client SDK. It is possible to perform the authentication, however, right after the…
-
2
votes0
answers82
viewsDoes Xamarin Forms dependency service not work with Generics?
I need to generate an instance of a generic class with Xamarim Forms using dependcy service (or a DI framework). With the code below I can generate an instance without problems: Interface namespace…
-
2
votes1
answer75
viewsShow text contained in javascript
I’m playing a game of questions and answers, but I’m having trouble with the code. The value exists, I have another code with the check and I can check the values of the checkbox. var perguntas = […
-
2
votes0
answers437
viewsChange the background color of a selected item in a menu listview in a Master Detail Page with Xamarin.Forms
When I select an item from the menu, it gets a default background color from Xamarin, but I would like to change that color. I’m using a Masterdetailpage in Xamarin.Forms…
-
2
votes1
answer68
viewsXamarin Webview with angular
I have a Webview rendering a site in angular, but in some pages it works smoothly and in others it does not, when I post a post it from the error of Xmlhttprequest due to access control checks. I…
-
2
votes1
answer180
viewsPage Content does not appear in Xamarin Forms
I’m having problems showing the contents of the pages. I created a Listview with some options, follow the code below: using System; using System.Collections.Generic; using System.Linq; using…
-
2
votes1
answer339
viewsMy application does not give error, but nothing appears on the screen (Xamarin)
Developing and learning Xamarin. I took an example of Macoratti and decided to implement, because it comes to consumption of REST with Xamarin. I did everything as it is on the author’s site and…
-
2
votes0
answers48
viewsXamarin Forms. Collect camera frames
Greetings to all! There arose the need to develop an application where my greatest difficulty right now is to load the camera from the mobile phone on an object and somehow get some event…
-
2
votes1
answer472
viewsUninstall packages and all their dependencies at once
Is there any way for me to uninstall Packages and all their dependencies in a single command? Without having to uninstall one by one. Type: Unable to uninstall 'System.Net.Http. 4.3.3' because…
-
2
votes1
answer321
viewsHow to make an event work with Xamarin.Forms and c#
When I declare an event on my Mainpage.xaml, I cannot do the implantation. In the visual says that the implantation was made successfully, but in my cell is all white and can not even navigate it,…
-
2
votes1
answer338
viewsAn unhandled Exception occured. I cannot understand this message, no detail comes
Personal that message: An unhandled Exception occured. It always happens when I try to consume my service REST. I first made an example, copying from Macoratti and it worked. Then I adapted it to my…
-
2
votes3
answers1344
viewsERROR: No Resource found that Matches the Given name: attr 'colorAccent'
I created a project from scratch and when I went to compile it is giving this error. I already updated the Android SDK and still the error continues. It’s giving in all the nodes of Style.xml.…
-
2
votes1
answer84
viewsWhen registering my class, it turns on the Onappearing method
I have been trying to notify with Xamarin and Xam.Plugin.Pushnotification. The problem is when I register the plugin. It does not work at the time when the method Up-to-date() is called. In reality…
-
2
votes1
answer534
viewsIs SQL Express free?
I need a database to use on a Xamarin Forms app for college. I even created in Azure, but the limitation of 32 MB is very large, because I need to store photos too. I searched and saw that has the…
database sql-server xamarin xamarin-forms sql-server-expressasked 6 years, 6 months ago Lucas F. 65 -
2
votes3
answers141
viewsProgram Interface only once
I would like to program the interface of my software only once and through some tool generate the screens for Android, IOS and Web Browser. Some technology today would allow me? I know that Xamarim,…
-
2
votes1
answer448
viewsError of Mismatchsenderid
I had several projects on my console. I was able to receive push notification (PN). So I dropped all the projects and created just one. I made an app based on the step by step that a colleague…
-
2
votes1
answer1293
viewsDelete database when uninstall app
In my app I create the database done in Sqlite in the folder: System.Environment.Specialfolder.Personal But on some devices (Android) when uninstalling the app it seems that the database continues…
-
2
votes0
answers330
viewsPayment Methods Xamarin Form
I’m currently researching how to integrate payment methods into an app made in Xamarin-Forms, but so far I haven’t had much success in my searches, most mobile payment integration services like…
-
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
answer1291
viewsInitializecomponent does not exist in the current context
I have this code, where I have the error [XamlCompilation(XamlCompilationOptions.Compile)] public partial class AprovarPopup : PopupPage { public AprovarPopup() { InitializeComponent(); } protected…