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
-
1
votes1
answer558
viewsList of all files that are within the Resource.Raw folder
How to get all the files that are in the Resource folder and move to a list. I am doing it manually, but now I need to take it dynamically and move to a list all the files that are in the…
-
1
votes0
answers25
viewsUsing the Xamarin Live Player
I can’t run Xamarin Live Player. The live screen After loading the live screen, scanned the qrcode and insert in editbox After all this, nothing happens…
-
1
votes0
answers243
viewsDeclare a List<string> and display in xaml
I am trying to make a List string in Xamarin , this list auto increments according to an attribute being declared true; public bool TemPão { get; set; } public bool TemBife { get; set; } public bool…
-
1
votes1
answer186
views(CS0029) convert a List into Observablecollection || Sqlite
I’m trying to create a method that returns a ObservableCollection in place of a Listin the Sqlite namespace Projeto_03.DataBase { public class TarefasDataAccess { private SQLiteConnection _database;…
-
1
votes1
answer431
viewsHow to make a round button using Xamarin.Forms
This code is not working within a Grid as a layout <Button x:Name="btnTeste" Text="Click Me!!" Grid.Row="3" Grid.Column="1" BackgroundColor="Black" BorderRadius="50" HeightRequest="100"…
-
1
votes1
answer86
viewsWhat is the difference between Toolbar.axml and Tabbar.axml?
I’m starting to work with Xamarin at Visual Studio 2017, and some things have changed. In the part of android when I go in layout I come across the two files Toolbar.axml and Tabbar.axml, I wonder…
-
1
votes1
answer265
viewsHow to hide the arrow back in Xamarin?
In my mobile application I wouldn’t want there to be an option to go back to the home page, because if I do this, the person goes back to the login screen. How do I remove this arrow just from this…
-
1
votes1
answer645
viewsHow to add an icon to the button on Xamarin?
Guys, I came across a silly thing here more that left me Arrado, I would like to put an icon on a button inside the layout of my application, so I’m not able to do, below the code of my button...…
-
1
votes1
answer136
viewsCreate and show a badge on an Xamarin page
I use Xamarin.Forms(Net Standard) and am having difficulty creating a badge and showing its value. I have a page (Tabbed Page) that has a Grid with 8 cells. Each cell has an image and each image…
-
1
votes2
answers100
viewsMy App does not load list of items
I have a App Xamarin.Formsthat consumes two services rest. The first service, consumes normally. However, the second, that I need to pass a parameter, this is not being consumed. I’ve tried several…
-
1
votes1
answer174
viewsCall PUT method from an Xamarin.Forms App
I need to do an update of mine App. I’m having some doubts to pass the proper parameters to the URL of the service and perform the PUT. The service is working, testing by Postman, I can perform the…
-
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.
-
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
answer528
viewsHow to remove the title bar from the Visualstudio C# Xamarin android app
I’m having difficulty removing the title bar of the app I’m developing, I tried for android studio and failed miserably as well as in visual studio, as I’m not good in java opted for the look I have…
-
1
votes1
answer59
viewsNavigation between pages (Android)
using Android.App; using Android.Widget; using Android.OS; using System; namespace ValModas { [Activity(Label = "ValModas", MainLauncher = true)] public class MainActivity : Activity { protected…
-
1
votes2
answers252
viewsUppercase letter in a Searchbar - Xamarin Forms
I need to have the capital letter in a Searchbar, the code that I managed to do that seemed closer to reality is this below, but it did not work: //Pesquisa localmente a cada letra digitada private…
-
1
votes1
answer595
viewsMy notifications are not coming and I think my code may be correct
I made several attempts to send Push Notification and none of them I was able to view in my App. I always thought until now, that I was wrong. But I followed two steps and saw that with the guys it…
-
1
votes2
answers122
viewsError accessing JSON - Xamarin Forms
On the LOGIN button of my app when clicked it looks for Json information, on my Macbook with Genymotion is accessed normally, but when I will use the same code in Windows (tested on two of them)…
-
1
votes1
answer92
viewsNuget Paint Package or Digital Signature
Is there any nuget package that allows you to make digital signature drawing by screen, or even a nuget that is something like a Paint where you can draw on the screen and save as an image?
xamarin xamarin-forms visual-studio-2017 nugetasked 6 years, 5 months ago Lucas Riechelmann Ramos 521 -
1
votes1
answer484
viewsError "The name "Initializecomponent" does not exist in the current context" in every Xamarin project.
Out of nowhere, ALL my projects are making the mistake The name "Initializecomponent" does not exist in the current context (CS0103) When created. I don’t need to change anything, the error comes…
-
1
votes1
answer58
viewsAdd platform to Xamarin project already created
I started a project in Xamarin.Forms a priori only for Android and UWP and did all the programming in the Portable project. Is there any way I can insert the iOS project so that the modifications of…
-
1
votes2
answers417
viewsPick image coordinate by clicking on it
I’m in a Xamarin/Android project. I need that when the user touches on a ImageView I can get the coordinates (from the image) from that touch. How to do this?
-
1
votes1
answer43
viewsAPI and XAMARIN project
Guys I have a Solution where to stand all the architecture to display my API. The project that will consume this API will be in XAMARIN. My question is: I must create within the Solution this…
-
1
votes1
answer89
viewsPizza chart is not being "sliced" using Sfchart
I made this Chart using Syncfusion Chart, private async void CriaChart() { SfChart chart = new SfChart(); DataService dataService = new DataService(); try { PieSeries pieSeries = new PieSeries() {…
-
1
votes0
answers31
viewsWhenever I turn the debug mode, it gives me An hundled Exception error occurred
That is the code public override void OnCreate() { try { base.OnCreate(); //If debug you should reset the token each time. #if DEBUG FirebasePushNotificationManager.Initialize(this, true); #else…
-
1
votes0
answers18
viewsI can’t receive messages for my App in release mode
In debug, I took the token and added it in my Nder and sent PN. I deleted it, recompiled it in release mode and now I can’t send PN(Push Notification). See the code of my Sender: public partial…
-
1
votes2
answers151
viewsPHP API to use in Xamarin
I am creating an API to create the Mysql connection. Can I use PHP to create this API? Can I normally use this API on iOS? I’ve seen it in many places (example) that I can use this API for Android,…
-
1
votes1
answer307
viewsView JSON data in Listview
Guys as I load a Listview with the result of a method that returns an object already loaded with JSON? Method that loads object with JSON namespace MeuProjeto.ViewModels.jsonModels { class JSON {…
-
1
votes0
answers28
viewsI can’t resize Popup in my App
I downloaded a project and I have a popup working. I went to do the same thing in my project and nothing. There is no error, only the popup does not go up as it should, it occupies the entire area…
-
1
votes0
answers38
viewsView from the Masterdetail
How do I display Masterdetail above Toolbar? An example of what I want is the Masterdetail of the Play Store app that even appears in the bar that is the time. <?xml version="1.0"…
-
1
votes1
answer31
viewsContextcompat.Checkselfpermission . NET Standar 2.0
I’m racking my brain and looking for a code example that asks for permission to some feature (camera, GPS), and everyone I meet makes use of Contextcompat.Checkselfpermission, but the…
-
1
votes0
answers79
viewsI get messages in the background but don’t show the badge with the message counter
In my App I can receive messages in Background. In foreground I can see the badge and qde of incoming messages. I just can’t in the background. I use the plugin Xamarin.Firebasepushnotification of…
-
1
votes1
answer279
viewsBold highlight a concatenated item
I would like to highlight in bold a part of the text that is in the Displayalert notification. DisplayAlert("Alerta", "Deseja realmente incluir o lance de valor de R$ " + EntryLance.Text + "?",…
-
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
votes0
answers48
viewsPopup does not appear in my App
Use Rg.Popup.Plugins for popup creation. Well, when I put in project it doesn’t run, the screen darkens, but I click on it and nothing happens. I put a button with a red background and it still…
-
1
votes1
answer124
viewsShow data from a JSON in a listview
namespace Monitorizacao.UI.Pages { public class Post { public int Id { get; set; } public string Title { get; set; } public string Body { get; set; } } public partial class TestAPIPage : ContentPage…
-
1
votes1
answer80
viewsStarting with Xamarin
I got interested in Xamarin and decided to test the short time, the problem is that all the tutorials I saw have the option "Portable", and in visual studio 2017 does not have, even for android as…
-
1
votes0
answers10
viewsNew XML file when change a AXML file xamarain for Android, Why?
I need change a AXML file in an old Xamarin.Android APP, I’m not an expert, I have just this one APP and I don’t change it in long time. When I changed the AXML file, Visual Sutdio created a new XML…
-
1
votes1
answer1630
viewsXamarin How to change the Menu and Selected Item color?
How to change the Blue colors of the "selected item" and menu in Xamarin? See images: Menu Selection in the Menu I tried to Change directly in the Home view (The page that appears as the main one),…
-
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
votes1
answer506
viewsXamarin: Pass data from selected item in a Listview to another Screen
How do I pass selected data from one screen to another in Xamarin? I have a Listview that receives the information from an Api and I want the user to click on the item, view this information on…
-
1
votes0
answers8
viewsWhere can I get a customer secret by registering an Oauth id on google Android console?
I’m developing an app in Xamarin and wanted to publish in the play store for internal testing, but it’s necessary to create an Oauth client and that’s where it all gets complicated. I managed to…
-
1
votes1
answer190
viewsHow to decrease the size of this navigation bar?
I am doing this application and I needed to remove the arrow back, and after doing this removal the bar continued to exist, leaving the same very large and inelegant for my application... Can anyone…
-
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
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
answer101
viewsHow to create a hamburger menu with a Mainpage inheriting from Tabbedpage?
I’m having a hard time creating a menu hamburger because my MainPage inherits from TabbedPage. There is a way to do this with a TabbedPage? To create this menu, we usually create two new…
-
1
votes0
answers85
viewsError on Android and iOS platforms, Httpclient.Getasync(Uri requestUri) function redirected to URL
I am developing a Xamarin Forms application that basically uses the Getasync function through Httpclient(Uri requestUri): HttpClient httpClient = new HttpClient(new NativeMessageHandler()); var uri…
-
1
votes1
answer259
viewsXamarin - Hamburger Some Menu by clicking Back WP button
I am using the code below to create a Master Detail menu in Xamarin. The code works perfectly on Android but on Windows Phone it has a bug that I am unable to solve. Mainpage.Cs using…
-
1
votes0
answers28
viewsftp without usb cable does not work
I’ve had a problem for days and I can’t fix it. I set up a FTP routine on Xamarin and it works perfectly as long as the USB cable (used for debugging) is connected (note and smart) or if I open…