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
answer651
viewsView a Youtube video via videoView via Xamarin
I need to show a video for a URL, such as a youtube link, using the tool Videoview, or similar. I did some research on this, and I got this code, but it didn’t work, I always get the message that I…
-
0
votes0
answers297
viewsXamarin Cross menu hamburger iOS and Android!
I created an Xamarin Forms Portable project after I created a class with the drop-down menu, I would like to know how to align the Xamarin image in the center, because I am not getting it using…
-
0
votes1
answer36
viewsReference Xamarin PCL with external PCL’s
Ola personal arose a doubt recently I did a project in wpf using mvvm pattern in which Fis layered. Now I want to rewrite the same project with Xamarin, and reuse the same pattern, only I came…
-
0
votes0
answers35
viewsI need to open the COM3 port of my Bluetooth by Xamarin
I’m with a Mobile project and need to open the COM3 port of my Bluetooth by Xamarin, someone knows some way for me to do this ?
-
0
votes1
answer248
viewsUnsupported major.minor version 52.0visual studio 2015 community
The image of the error is attached…
-
0
votes1
answer498
viewsHow to send a character(char) via bluetooth
I’d like to send the number 1 via bluetooth on android, already made the part of connection to send - this is the source code public void conectar(ProgressBar loading, BluetoothSocket socket) {…
-
0
votes1
answer155
viewsPlace image in Picker Xamarin Forms
How do I place an image on the right side of the Picker (Dropdownlist) so that you can differentiate from other fields Entry, to have an appearance of a selection object ? <Picker…
-
0
votes1
answer23
viewsView notification does not work with mvvmhelper
I’m using James Montemagno’s mvvmhelper to develop my app and using the same structure that he teaches to use. I mean with a Baseviewmodel and when I navigate between the pages everything works…
-
0
votes1
answer103
viewsXamarin Build FAILED Error: Unsupported major.minor version 52.0
I’m using Xamarin Visual Studio Comunti 2015 After compiling a project, I get the following err: Exception in thread "main" 1>java.lang.UnsupportedClassVersionError: com/android/dx/command/Main :…
-
0
votes1
answer86
viewsHow to give Reload in a Webviewer per time interval in Xamarin Android?
I’m creating an app, where it has a Webview that needs to be updated every 5 seconds while the Switch is checked, and when you uncheck it, it should stop loading the page. I tried to use a while,…
-
0
votes1
answer73
viewsEmbeddedresource and Nuget Errors
My dear, When I try to run the environment test program available in the course I’m getting the bugs : Error Build action 'Embeddedresource' is not supported by one or more of the project’s targets.…
-
0
votes1
answer218
viewsWait with Alertdialog()
good! My problem is with the AlertDialog asynchronous of Xamarin.Android. I have a class with a method that assembles an alert with some fields... With the data of these fields, I assemble an object…
-
0
votes0
answers115
viewsProblems with layout in previous versions of android Xamarin Cross Platform
I am compiling the application in the marshmallow version 6.0 and open everything right. But, when compiling in some previous versions (for example in version 5.0.2 Lollipop and 4.4.2 Kitkat), the…
-
0
votes1
answer145
viewsComparative Xamarin.Forms Portable or Shared
Mobile development with Xamarin.Forms provides two approaches: Portable: Create a Portable Class Library (PCL) that targets platforms that you want to support and use Interfaces to provide…
-
0
votes1
answer249
viewsHow to use an iOS simulator in a Windows 10 environment for a Xamarin.Forms iOS project
What I need to install to publish a Xamarin.Forms.iOS project in an iOS simulator? I’m using a machine with: Windows 10 Visual Studio 2015 Whenever I try to run some Xamarin.Forms.iOS project a…
-
0
votes1
answer1502
viewsHow to create a rounded button in Xamarin.Forms
I’m needing to create a rounded button in Xamarin.Forms similar to the main one of the material design, but without losing the properties of a conventional button and without losing the feature of…
-
0
votes0
answers58
viewsHow to synchronize data between different users?
I’m new to programming and I’m trying to create an app. I’m trying to figure out how I can synchronize the data between a group of users. For example, I want an application where one user can add…
-
0
votes1
answer228
viewsView photo in Toolbaritem Xamarin Forms
I need to display the photo on the right side of the menu with the ToolbarItem. I return the photo from the database to the property "Photo" type string. Convert the photo string to Base64 and…
-
0
votes1
answer127
viewsUse Droid project class in PCL Xamarin Forms
How do I use a class that was created in the project Droid in the PCL ? I created a new class that will save the image in a folder in the project, but I need to call this class PCL. My class:…
-
0
votes2
answers677
viewsIOS emulator to test my project
I’m starting a project in iOS in Visual Studio developing in Xamarin where I need an emulator to run. Is there an emulator that Visual Studio recognizes? I have at hand an iPad, I can run my APP on…
-
0
votes3
answers904
viewsProblem when rotating android cell screen
Hello, I am developing an application for android using Xamarin, I have in the application a webbrowser, very simple, where it accesses a login page (…
-
0
votes0
answers80
viewsHow to internationalize a Xamarin Forms (Shared Project) application?
How do I create Resources in a Xamarin Forms application using the Shared Project methodology? I searched for several examples and they all explain and have demos for Portable versions. I tried…
xamarin xamarin-forms internationalizationasked 7 years, 6 months ago Elexsandro Rangel dos Santos 534 -
0
votes1
answer36
viewsIs it necessary to add Microsoft.net.http? monoAndroid?
I am trying to get my app to pass data through a web api. Try to put the Microsoft.net.http package on nugetPackage but it will backfire. If necessary, how do I fix it? The
-
0
votes1
answer792
viewsSet Image to Button inside Listview Xamarin Forms
How to set another image for a Button that is inside a ListView by . Cs or in ViewModel ? I can’t access that Button no . Cs for being inside the ListView. In my Xaml, the button already has an…
-
0
votes1
answer136
viewsBurger menu hiding when calling a new view Xamarin Forms
I have a View which is being called through a button of the MenuItem. But within those View contains another button that calls a new button View. This new View opens off the burger menu, ie it hides…
-
0
votes1
answer100
viewsXamarin Mac Agent Limited
I’m trying to program for iOS using Xamarin, but I’m starting to get frustrated. When I open Xamarin Studio on MAC, I can normally view the design of my layout, but when I try to visualize using…
-
0
votes1
answer301
viewsGradient Xamarin Forms
I’m making the screens of a Xamarin app with XAML, and wanted to put a background gradient is possible ? For now the code is this:
-
0
votes1
answer70
viewsXamarin Portable
It is possible in Xamarin to have a Xamarin.Android and Xamarion.IOS project and to have a class that accesses the Sqlite and reuse it in these two projects? How can we call it? Does anyone have an…
-
0
votes2
answers32
viewsMacagent Xamarin
I have Visual Studio 2017 installed on Windows. And on my Mac Xcode. To compile projects in VS 2017 via Windows, I can connect to a Mac, Via Macagent. My question is, on my Mac I only need Xcode…
-
0
votes1
answer380
viewsProblems in Master Detail navigation in Xamarin Forms
I’m having problems understanding how the Master Detail type navigation works in Xamarin Forms, let’s go to my code as it is now: 1- I created a interface for navigation: using…
-
0
votes1
answer128
viewsXamarin.Forms - Shared Project x PCL
When I design a project in Xamarin.Forms, it allows you to choose between: Shared Project and PCL. What’s the difference between the two? What advantages and disadvantages?
-
0
votes0
answers46
viewsevent click carouselview Xamarin
I have 5 images and need to activate carouselview to open a page the moment the user clicks, but is not working I tried to do that MAinCarousel.ItemSelected += (sender, args) => {…
-
0
votes3
answers1520
viewsCan I use an iPhone to test a Xamarin app?
I’m learning to develop with Xamarin (Using VS 2015 and Windows). To test the app on Android is quiet, I use Genymotion. And on IOS? How can I test? Only with a physical iPhone ? Or is there an IOS…
-
0
votes2
answers925
viewsIs it possible to make a synchronous call to Webapi?
It is possible to make non-synchrone calls to WebApi? I don’t want my application to pass beaten by the method that executes the query to WebApi, I want her to expect a response and take an attitude…
-
0
votes1
answer83
views"Something Went Wrong" when creating project
I created an android Xamarin project - the xml is as it came, I have not written any line on anything yet, but I can’t see the design: com.google.gson.Jsonsyntaxexception:…
-
0
votes0
answers72
viewsProblems running project with Xamarin: java/lang/Noclassdeffounderror : java/lang/Object
This always works when I try to run an Android or Crossplatform project. How do I resolve this? OBS1: I have the problem again and I don’t know what to do, I have no recourse to this.
-
0
votes0
answers42
viewsShaman error after deploy
I made a simple app that reads a barcode and inserts it into a base sqlite. When I am in debug, it works perfectly, it saves the data, etc... But when I release, disconnect the phone from the…
-
0
votes1
answer102
viewsXamarin Forms with Azure
I am creating an application with integration with Azure, when I try to instantiate the MobileServiceClient I have the following exception Method…
xamarin xamarin.android xamarin-forms xamarin.portableasked 7 years, 9 months ago Pablo Tondolo de Vargas 5,444 -
0
votes0
answers69
viewsXamarin Forms closes in Relase
I have a problem. my application works in debug however, in release it opens the splash screen and closes presenting an error on the screen: "application stopped" below this the output application.…
-
0
votes1
answer182
viewsFill a Listview in Xamarin with data
Good morning. I’m trying to fill a Listview in Xamarin with data but I’m not getting it, keeps giving a generic Exception. List<string> listaTeste = new List<string>();…
-
0
votes1
answer358
viewsXzing with Xamarin Forms
Hello I’m trying to implement barcode reading in my Xamarin.Forms app according to the documentation. https://components.xamarin.com/gettingstarted/zxing.net.mobile , but when I try to execute the…
-
0
votes1
answer35
viewsXamarin cross Platform project starts with errors
Cross Platform project in Visual Studio already opens with 31 errors, maybe it’s just IDE settings. If anyone has ever encountered this problem, follow an example of the errors that arise.…
-
0
votes1
answer49
viewsHow to use Segmented Controls in Xamarin Forms
Galley, A help, I need to use a type of Segmented Controls in my Xamarin Forms. However, it does not exist. I saw that to use Native by platform, but found no example or documentation guide to it.…
-
0
votes1
answer106
viewsSetting up the Xamarin
I’m learning Xamarin and mobile development. I have seen several examples of how to set up a small application and I see that practically everyone starts like this: Blank App (Xamarin.Forms…
-
0
votes2
answers203
viewsCommunication between Code Behind and Viewmodel Xamarin
I have two pages created on Xamarin.forms, on the first page I have a list and on the second I have the details of each item selected previously. I send the selected item from the first page to the…
-
0
votes0
answers30
viewsError when creating android project with Xamarin
I installed Xamarin in VS 2015, all normal. When I go create an Android project gives the error Value cannot be null. Parameter name: path1 To create for iphone he creates normally. What can it be?…
-
0
votes1
answer250
viewsHow to test my Xamarin app in Visual Studio emulator?
I made an android mobile application using Xamarin and tested it normally, made some modifications and when I went to compile again, the emulator of the visual studio remained with the old version,…
-
0
votes1
answer148
viewsRefresh in a View from a Viewmodel
Team, I have a question. I am developing a detail screen of an order, where there is a button used to take this order. To make it clearer, this detail screen behaves in different ways to different…
-
0
votes1
answer559
viewsChange color of Listview item in Xamarin according to database data
I need to change the color of the listview item according to the data coming from the database, I have a field visited that this receiving a "*" would like to change the color of the person who has…
-
0
votes0
answers31
viewsJava virtual machine error in Xamarin project
I have an Android project that runs normally. However I created a Cross Platform and is giving this error: Error Could not create the Java Virtual Machine. Authorizer.Android C: Mobile Authorizer…