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
answer283
viewsHow to use Radiobuttons in Xamarin Cross Platform?
I’m a beginner in the universe Xamarin. How to insert RadioButton for "Male" and "Female" in Cross Platform in the shampoo?
-
1
votes2
answers560
viewsXamarin.Forms Relative Layout Xaml
I’m trying to create a screen that has an image at the end of the screen and above it is the login buttons, like this one: with the yellow rectangle below and the buttons above it. but I can’t do…
-
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
answer324
views"You must call Xamarin.forms.init() prior to using it" - Problem trying to access sqlite data
Hello, I’m a beginner in mobile programming and I’m committed to a project PCL Xamarin with Xamarin.Forms. The application uses alarms and for this I use dependency injection to access the native…
-
1
votes1
answer886
viewsError restoring nuget packages, UWP project
I have a project Xamarin UWP, and by doing the build of the project, happens a series of mistakes of that kind: Severity Code Description Project File Line Suppression State Error…
-
1
votes2
answers403
viewsHow to include a new right icon in an Activity Xamarin Forms
It is possible to include a new icon in a activity but the right, without changing the existing ? I need to include the user photo on the right. (Red spot on image) Imagery:…
-
1
votes1
answer119
viewsHow to convert string to Fileimagesource(Icon) Xamarin Forms
How to convert a string(Image) to FileImageSource(Icon) ? I need to display a photo on ToolbarItems in the right corner of the hamburger menu. I tried that way, but it didn’t work. My code:…
-
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
answer830
viewsPOST is not receiving JSON
I need some help with running a POST. 'Cause when I try to call my API (http://www.afectus.com.br/api/teste) for the execution of a Post, I am unable to pass the JSON to her. Follows the API used:…
-
1
votes1
answer607
viewsHow to open a local file with Xamarin?
Using Xamarin with Visual Studio and C#, I made an Android application and am creating a player using VideoView. I wonder how to access the mobile folder that contains the video. For example:…
-
1
votes3
answers534
viewsHow to access view components that are inside a Listview Xamarin Forms
I need to access the properties of the components created on View to set some values (example height and width), but are within a ListView, with that, in the .cs I can’t give This.Component even…
-
1
votes2
answers1860
viewsProblem with Hyper v virtual machine emulator
The Hyper-v of my computer is active, and yet the error appears: The emulator was not started because the hypervisor is not running, probably because hardware-assisted virtualization is not enabled.…
-
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
votes0
answers340
viewsHow to resolve error " Arrayadapter requires the Resource ID to be a Textview "
wanted to list all bluetooth devices in a list, but when I try to create a Arrayadapter the application hangs and gives this error ` protected override void OnCreate(Bundle savedInstanceState) {…
-
1
votes2
answers183
viewsCan I use C# (through Visual Studio) to develop a program for Mac/OSX?
I wonder if Visual Studio (through a computer running Windows and the C#language) can create an administrative program (simple, for 1 user, involving only one database interaction) for a computer…
-
1
votes1
answer44
viewsWhat is the generic name of the Xamarin search field for use in automated testing?
Can anyone help me with this question? I’m not being able to use the same test code for iOS and Android. The name of the search field that was found is not the same, ie: Syntax in iOS - app.Query(x…
-
1
votes0
answers89
viewsError while running Xamarin project in visual Studio 2015
When I try to run my project Xaramin the following is reported error: Severity Code Description Project File Line Column Suppression State Error Exception while loading assemblies:…
-
1
votes1
answer433
viewsCreate a new instance every time you use Navigationpage in Xamarin Forms?
Let’s assume that I have 3 screens in Xaml and I use the SterDetailPage and Navigationpage to navigate between these screens back and forth. Page A -> Page B -> Page C -> ... I use…
-
1
votes1
answer202
viewsDelete listview item in Xamarin
How do I delete an item from my listview? I delete the item, but when I click on the next item the same item I deleted is selected. My code: adapter.Remove("LISTA 1"); adapter.Remove("LISTA 2");…
-
1
votes1
answer93
viewsRepeat Stacklayouts according to Xamarin Forms list
I created a StackLayout with a labels inside that I need to display some information on them. With that, I need it charged StackLayouts and completed the labels according to the amount of records on…
-
1
votes0
answers140
viewsDifferent Hamburger Menu
I’m trying to make a menu this way (see image), but do not know how it works right ... If anyone can send me an example or help me in this matter, I would appreciate it very much.…
-
1
votes1
answer567
viewsIncrease the "text box" of the <Editor /> in Xamarin Forms
Save people! Would you know how to increase the text space in the Editor />" in Xamarin Forms? In the same way that we can increase an input /> in HTML with padding ? I appreciate any attempt.…
-
1
votes0
answers45
viewsDesign mode error in Xamarin
I have this problem in my project using Xamarin: I searched the Soen and found that, but it didn’t. What is missing is to uninstall everything and I have no guarantee that it will work. Waiting for…
-
1
votes1
answer172
viewsApplication made with Xamarin does not run Javascript
I developed a small app with Webview in Xamarin, it correctly loads the page, but is not running Javascript, I’ve already enabled the Javascript with webView.Settings.JavaScriptEnabled = true; but…
-
1
votes0
answers57
viewsMarker Draggable without Longclick
At setting a Marker as Draggable(true), you need to hold clickado on the same to turn it "Draggable". I need that simply by dragging your finger on it, it drags. An example would be the 99taxi, who…
-
1
votes0
answers332
viewsGeolocator Plugin Xamarin
I need to get the current location of the user’s device and with this to help me I am using the Geolocator Plugin of Xamarin, I can get the current location normally on my smartphone but the Google…
-
1
votes0
answers44
viewsInvokemainthread Xamarin
I’m having a problem invoking a Uithread on PCL. I made a method like this: private void PopularConteudo() { Task<List<Departamento>> taskDep = new…
-
1
votes1
answer95
viewsHow can I intercept click on link within Webview?
In my Android app, I have a webview that opens several different websites. Everything works in the compliant, but when there is a link on the page, and the user clicks on this link, the browser…
-
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
answers50
viewsIdentify drawing in character - Canvas (Android)
I can already draw on the screen using a DrawingView, as shown in the example: I wonder if there is any library to identify the drawing and check if it is a character, and if possible, give a…
-
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, 5 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
votes1
answer228
viewsSignal the receipt of messages
The customer has 7 stores and a headquarters. Someone in the matrix with decision power, will keep your mobile in hand with an app. When an employee of one of the stores needs to approve a higher…
-
1
votes0
answers72
viewsConfiguration in Webview
Good afternoon, I have an application ( in Xamarin for android) where within it opens a webview on a link of a platform courses I have... but there is a big difference between I open this platform…
-
1
votes0
answers22
viewsSignal receipt of messages
When I receive 1 or more messages, for example, in the What’s App, let’s say I received 3 messages. On top of the icon of the what’s app, there is an orange "ball" with the number 3, in reality the…
-
1
votes2
answers180
viewsScrollview does not roll on 320x240 screen
I have a shaman page with a Scrollview and a Listview that work normally on popular smartphones. The problem is that the scroll bar does not work on the Samsung Pocket Duos device, which has a…
-
1
votes1
answer1534
viewsReference with a yellow triangle, what does it mean?
When you have an exclamation, I understand that the reference is in trouble and needs to be removed/reinstalled. But with this little triangle, I don’t know. I saw that the package is installed. In…
-
1
votes0
answers79
viewsI cannot install the System.Objectmodel reference in the Android Project
I picked up a reference error in my project The referenced component 'System.ObjectModel' could not be found.. Well, I searched and installed the reference to that path:C:\Program Files…
-
1
votes0
answers24
views"Enumerable.Cs not found", how to adjust?
After initializing a "Contentpage", the following error appears: "Enumerable.Cs not found". In fact, I couldn’t find the file. "Enumerable.Cs" is unique to "System.Core"? I tried to install…
-
1
votes0
answers11
viewsMore than one layout type in a Contentpage
It is possible to have more than one Layout Type within a Contentpage? I’m developing an app,and it needs a top bar with a few buttons and a listing of Names. How can it be done?…
-
1
votes1
answer673
viewsCreate popup with Rg.Plugins.Popup
Does anyone know any tutorial for creating popup on Xamarin.Forms using this plugin, Rg.Plugins.Popup? I need to create a popup and inside it a textbox or textarea with two buttons (Ok and Cancel).…
-
1
votes0
answers33
viewsHow to detect slow internet?
Is there any minimally reliable way to detect that the user is on a slow connection? Basically, in my application, I would like to detect such a condition and omit to upload some complementary…
-
1
votes1
answer65
viewsXamarin.Android error "Presentationframework"
I have this error in my project Xamarin.android Severity Code Description Project File Line Suppression State Error Exception while loading assemblies: System.IO.Filenotfoundexception: Could not…
-
1
votes1
answer164
viewsDragging Listview item
Would anyone happen to know how to drag a Listview item one way or the other? Preferably a way that serves Cross-Platform Android/IOS
-
1
votes0
answers42
viewsWhere can I enable IOS Keychain in Xamarin/vs?
i am using Xamarin Forms and trying to use Xamarin. Auth to save information in the device database.. For android I did this and everything right... But when I run IOS I have this mistake... >…
-
1
votes0
answers33
viewsCode Sign key, Keychain error
I am new in the area of programming and iOS and would like to understand what this error is and understand how I can fix it. Error: iOS code Signing key 'iPhone Developer: Luiz ***** (F*******)' not…
-
1
votes1
answer32
viewsHow to use resource files in XAML (Xamarin) file
I’m trying to use resource aquifers in my Xamarin Forms project but I don’t know how to reference the file string. Ex: <Label Text="MyApp.Resources.MinhaString" />. Someone knows how to do?…
-
1
votes1
answer229
viewsAre Xamarin Studio and Monodevelop the same IDE?
Hi, I’m going to start programming in C#, but I don’t want to use Visual Studio, so I searched and found another IDE, Monodevelop, but when I downloaded, for Windows 10, the site said to download…
-
1
votes2
answers3822
viewsCreate my own Push mail server
To use PN (Push Notification) I usually make use of cloud servers such as Firebase, Azure, etc. Now I’ve picked up a service to do and my client demands that we have our own server. I saw this link…
-
1
votes0
answers14
viewsAdd new csproj in Xamarin.Forms project
I need to create another csproj in my Solution Xamarin.Forms. Should I create another PCL? I think so. Create one of Windows I don’t think it works, right? I did it and came Buttons and etc. What do…