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
-
0
votes1
answer51
viewsError with Android Style
I am unable to compile my project, I get the following error <type> attribute is required for <item> Here’s my xml style. <?xml version="1.0" encoding="utf-8" ?> <resources>…
-
0
votes2
answers186
viewsPage orientation in the Xamarin
I’m starting to program using Xamarin Forms, I created a registration screen, but when I change the orientation of the screen to horizontal it does not activate the scroll and the buttons are…
-
0
votes1
answer30
viewsReceiving items from a feed - Xamarin
With this method I search all the items of a url. Now I need to select only the fifth position item, how can I do this and what changes I should make? private async Task<List<FeedItem>>…
-
0
votes1
answer121
viewsList does not load database data with Xamarin.Forms and c#
I created a list by code and I can’t load the data. I made this list by xaml and also not and I have another that works(xaml) and tried to do the same and nothing. When I go up the list appears:…
-
0
votes1
answer59
viewsHow to create a Listview with delete action
Hello, I would like to know how to create a listview in which you have the option to remove that item from the list. I am working with MVVM
-
0
votes0
answers148
viewsHow to use Constraintlayout in Xamarin
Hello, I would like to know how to use Constraintlayout in Xamarin for Android, use Visual Studio Community 2017. I’ve installed the Nuget packages, I’ve updated my Android SDK, I’ve set the minimum…
-
0
votes1
answer116
viewsDynamic method for opening screens
I am creating a method to open any screen I pass in the parameter. I did this method: public async Task NavigateTo(Page page) { await App.MasterDetail.Detail.Navigation.PushAsync(new page()); } But…
-
0
votes1
answer219
viewsError starting a new Xamarin project
I installed Visual Studio 2017 a little while ago and everything works normal. Since yesterday I try to create a new project Xamarin and I get the following message: Error: this template attempted…
-
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
answers65
viewsHow to show my phone in vs2017 and compile with it?
Today I use vysor to create my applications. Without Vysor, I can’t see my Cell(J500M) in the VS2017 debug bar. There’s another way I can plug in any phone and show up on VS2017 without using…
-
0
votes0
answers212
viewsDoubt with creation of projects in firebase
I had several projects in firebase and when I went to create another fired this message: Missing 3 projects to reach the limit, even if I drop them all, which is what I did and the message…
-
0
votes0
answers55
views -
0
votes1
answer318
views'Resource.String' Does not contain a definition for 'gcm_defaultSenderId' Xamarin
I’m implementing Push Notification in my app, it was working, more now the error in two variables not defined in Resource in google_app_id and gcm_defaultSenderId. When I try to add them manually in…
-
0
votes1
answer245
viewsHow to show an exception message if the user does not check a radio button on Xamarin Android?
I need to display an error message on the screen if the user does not check a radio button. In this code, there are 13 radio groups separated into 4 radio groups I tried to use Try/catch and…
-
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
votes0
answers157
viewsHow to connect to Postgresql database using Xamarim
I’m creating a mobile application using the Postgresql database, but I can’t open the connection: My code: public class PgSql { private string connString = "Server=192.168.1.5;Port=5432;User…
-
0
votes1
answer633
viewshow to read a result Json from google Directions API
I’m getting this json from google Directions API https://maps.googleapis.com/maps/apidirections/json?origin=-22.8895625,-47.0714089&Destination=-22.892376,-47.027553&key= I need to read it…
-
0
votes2
answers490
viewsXamarin (Visual Studio) x POSTGRESQL
Good evening, you guys, I work in a company of development of commercial automation software, A Alterdata, and today I work directly with Postgresql, and I have a lot of affinity with it. I wonder…
-
0
votes2
answers88
viewsDistribute my app via email
I distributed my App, compiling in release and then the Archive option. Well, it generated the key and several files. Now how do I email to my client and also put on my website. What will he get to…
-
0
votes1
answer853
viewsCould not find android.jar for API Level 25
I’m just trying to run a simple "Hello World" in Visual Studio. I created a project like Cross Platform. I installed Visual Studio 2017, while trying to run does not open the emulator, generating…
-
0
votes1
answer35
viewsIn the java folder I have three subfolder, is that normal?
I’m having trouble with: java/lang/Noclassdeffounderror : java/lang/Object. I’ve already done a lot of things that colleagues asked for and nothing. I updated PATH and JAVA_HOME and nothing. My…
-
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
votes2
answers180
viewsXamarin Webview Keyboard above the site
I have a project in Xamarin Forms, with a webview inside it. When clicking on any input the keyboard appears, but overrides the html page input. someone knows how to solve?
-
0
votes1
answer48
viewsDeployment only works with Samsung J5 smartphone plugged into the computer
I can only do implantation when my cell is plugged into my note. If I use the pattern(VisualStudio_android-23_arm_phone(Android 6.0 - API23)), does not work. Build successfully, but deployment…
-
0
votes1
answer482
viewsConvert float, double or single value to Datetime
I was having trouble Cast when running a lambda and serializing for the service. Well, the solution was to pass everything to String and I got it. On the other side(Android App) I pick up and do…
-
0
votes1
answer147
viewsHow to integrate an App to an ASP.NET Webservice (ASMX) via Xamarin?
Good morning, I have an sql server created with an Asp.net web service, but I wanted to know how I do so that I integrate the server data creating an app for you to read using the GET request.…
-
0
votes1
answer105
viewsInstall Restsharp in PCL projects Xamarin.Forms
How do I install Restsharp in a PCL project (Xamarin.Forms). You are giving this error when installing: Unable to install 'Restsharp 106.3.0-alpha0002' package. You are trying to install this…
-
0
votes1
answer8
viewsSystem.IO.Notfound exception for accessing resx files in Xamarin Forms
Good Afternoon. I am facing a problem to access values defined in resx files of the shared code in Xamarin Forms. No failure to compile, but when running I get Yma exception of type…
xamarinasked 6 years, 9 months ago Renato Abreu 1 -
0
votes1
answer71
viewsNo Resource Identifier found for attribute 'tabIndicatorColor' in package 'Authorizer.Android' Authorizer.Android
I had several errors, which I was eliminating, with the installation of the packages. However, this three I still could not eliminate. The interesting thing is that everything was working and out of…
-
0
votes1
answer798
viewsDifficulty with listview layout on Xamarin.Forms
See this image My layout is broken. See that the client name is: Sebastiao Loureiro de Almeida and in the listview appears Sebastiao and it is noticed that the rest of the name gets further down,…
-
0
votes0
answers354
viewsHow to handle 400 error messages
I work with an application made in Xamarin that sends several requests to the api. Eventually, a user action receives a BAD REQUEST because the user tried to like a photo that she had already liked…
-
0
votes1
answer157
viewsAPK validation at Google
I have a app I need to validate the integrity of the data. For this, I need the google Tell me if that app was signed by him or not. But for this to work, I need him to run me a token for…
-
0
votes1
answer234
viewsAuthentication bearer Xamarin
Guys, I’m a beginner in Xamarin and I have a doubt about authentication in an API, when I am consuming via C# or Angularjs for example I can inform in the url the type of authentication (token saved…
-
0
votes1
answer197
viewsHow I publish my application Xamarin.Forms
How do I distribute mine App that I just created? Like, I go to the customer to install a version on the two or three person smartphone to test. What I take to deploy on this device, my app? How do…
-
0
votes1
answer73
viewsError When Compiling Xamarin Project
I just created a project in Xamarin, I added nothing in the project but when I try to compile it returns the error: Java.lang.Illegalstateexception: You need to use a Theme.Appcompat Theme (or…
xamarinasked 6 years, 7 months ago Diego Grossi 139 -
0
votes1
answer895
viewsApplication opens and closes
After I updated my phone (ASUS Zenfone 3) for Android My apps open and close when I try to debug... I can only debug if I delete the app from my phone and compile again, does anyone know how to fix…
-
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
answer141
viewsApplication Xamarin.Forms stopped out of nowhere
I was making a code to receive notification and suddenly the application does not run anymore. Compile, Deploy, but it takes time to consume the service and appears this message: O Android project…
-
0
votes0
answers293
viewsError compiling Xamarin.Forms project
I’m making that mistake: The "Xamlctask" task was not instantiated "C: Labs FCM-Xamarin-Forms-master FCM Packages Xamarin.Forms. 2.2.0.45 build…
-
0
votes1
answer175
viewsLoss of focus on Entry in Xamarin
I’m building a mobile application with Xamarin Forms and C# where I need to check the CPF and validate the email. I am wanting to do the validations as soon as the field loses focus. I am using in…
-
0
votes1
answer111
viewsXamarin Observablecollection
Hello! I am using Xamarin and when I want to load and display on the screen a list of objects I use ObservableCollection to make the page load only after the content is loaded. But in one of the…
xamarinasked 6 years, 6 months ago Diego Grossi 139 -
0
votes0
answers71
viewsHow to implement a Pushnotification
I know I need a notification server for this. I chose firebase because it is free and does not require a credit card. What I want to do: 1) When the user changes the flag in the database, then a…
-
0
votes0
answers60
viewsError of: Unauthorized Error
I downloaded a project to test sending push notification. I am trying in various ways and without success. This project is from a guy named Habibali. When I spin it gives the error of Unauthorized…
-
0
votes1
answer33
viewsXamarin installation error - JDK does not install
Hello! I have this problem after the completion of the installation of Xamarin. I have tried to download the sdk from the Oracle website, but the installer simply doesn’t start, nothing happens. I…
-
0
votes1
answer46
viewsLocation of the Photo in Xamarin Multiplatform
Guys, I’m developing an application in Xamarin Mutiplataforma that takes photos and then should recover these photos taken and send to a Webservice. Would you like to know how to recover the photo…
-
0
votes0
answers721
viewsHow do I get my App to receive even closed or blocked notification
If I lock my Cell screen and leave the App open, I get Notifications, but if I close the App I can’t receive any more. The problem that when it started working, was getting in all situations and…
-
0
votes1
answer132
viewsHow to make a deserialize in a Json with C-Sharp
I have the following code private void WbRanking_DownloadDataCompleted(object sender, DownloadDataCompletedEventArgs e) { RunOnUiThread(() => { string json = Encoding.UTF8.GetString(e.Result);…
-
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
votes1
answer21
viewsI cannot implement a Sfdatagrid
Trying to follow a tutorial here to create a Sfdatagrid, but it’s not working. I’m very doubtful about how to implement it. My Model Class namespace Autorizador.Model { public class LiberacaoGrid {…
-
0
votes1
answer370
viewsUpdate Page after Popasync in Xamarinforms
I have a page with the expense list contains travel information like Description gross value, expenses and net total and even a list with my travel expenses. The problem is that when I will edit or…