Questions tagged [xamarin]

Xamarin is a platform consisting of Xamarin.iOS, Xamarin.Android, Xamarin.Mac and Xamarin Test Cloud. It allows you to write cross-platform native Apps for iOS, Android and Mac and follow your app through its entire lifecycle. The introduction of Xamarin.Forms supports Native UI development for iOS, Android and Windows

is a platform consisting of , , , , and . The platform provides tools for the entire lifecycle of an App - developing, test and DevOps. This platform allows you to write cross-platform native applications for , and using , allowing you to share a lot of code between platforms.

Tag Usage

When using the , you should also include the related Xamarin platform tag your question relates to.

If you are describing a question about a crash in your app, please include a complete stack trace and, preferably, a minimal reproducible sample.

History

Xamarin was founded in May 2011 and is headquartered in San Francisco, with an engineering office in Boston, MA. Xamarin was acquired by Microsoft in February 2016.

At Microsoft's Build 2016 developer conference on March 31st, 2016, Microsoft announced a new licensing scheme; including Xamarin with all Visual Studio and Visual Studio for Mac versions, including Visual Studio Community edition. And now, Xamarin is free for anyone to use with Visual Studio, on either Mac or Windows

Xamarin created the Xamarin Platform which includes Visual Studio for Mac as well as a plug-in for Visual Studio on Windows, which can be used to develop native mobile applications for Windows, iOS, and Android platforms using the .NET framework.

The Xamarin Platform includes Xamarin.iOS, Xamarin.Android, and Xamarin.Mac (for macOS), which allows for the development of C# and .NET applications with full access to the native APIs. This allows for code sharing between platforms and the creation of applications for multiple platforms with a native user experience.

Xamarin 3 introduced , a framework for creating UI from code shared between platforms.

Xamarin 4 introduced a new SSH-based build host, to replace the old and buggy build host. The build host provides the connection between Visual Studio and the Mac in order to be able to build and deploy iOS applications.

Since June 2017 the Xamarin Platform supports libraries shifting and expanding the previous Portable Class Library (PCL). It enhances access to APIs within the .NET base class libraries and supports more platforms.

Resources

Books

Chat Rooms

50490 questions
566
votes
6 answers

How to compare the performance of Android Apps written in Java and Xamarin C#? Anyway to check quantitative data (code & results)

I came across Xamarin claims that their Mono implementation on Android and their C# compiled apps are faster than Java code. Did anyone perform actual benchmarks on very similar Java and C# code on different Android platforms to verify such claims,…
gregko
  • 5,642
  • 9
  • 49
  • 76
428
votes
11 answers

What's the difference between .NET Core, .NET Framework, and Xamarin?

Microsoft now has .NET Core, .NET Framework and Xamarin (Mono) in its family. It seems to be a lot of overlap here. What's the difference between these types of .NET Platforms? When should I choose to use .NET Core in my project, instead of .NET…
MeeChao
  • 4,317
  • 3
  • 10
  • 6
278
votes
22 answers

Even though JRE 8 is installed on my MAC -" No Java Runtime present,requesting to install " gets displayed in terminal

Even though JRE 8 is installed on my MAC OS Yosemite 10.10.3,while running the Android present in tools in sdk - the error - " No Java Runtime present,requesting to install " gets displayed in terminal- how do i solve this issue? I wanted to…
Gina Gina
  • 2,915
  • 2
  • 10
  • 16
265
votes
6 answers

Xamarin 2.0 vs Appcelerator Titanium vs PhoneGap

After all IDE evolutions (all platforms on topic are changed) of this year, i'm looking to understand what is the state of technology for those platforms. What are strengths and weaknesses of each ones? There are some limitations of one of those…
Valerie Linc
  • 2,811
  • 3
  • 14
  • 12
228
votes
22 answers

Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE] even if app appears to not be installed

When trying to deploy my app to the Android device I am getting the following error: Deployment failed because of an internal error: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE] I am aware of this question but the app is not installed. It has been…
YKa
  • 3,998
  • 4
  • 20
  • 31
186
votes
12 answers

Failed to find or create execution context for description

I'm working on a project for iOS and I'm doing the programming with Visual Studios and it connects to a mac server using Xamarin. I recently tried to add more views to the storyboard and an additional class. When I tried to build the code, I…
Adam Lietzau
  • 1,871
  • 2
  • 9
  • 5
182
votes
3 answers

What is the difference between Xamarin.Form's LayoutOptions, especially Fill and Expand?

In Xamarin.Forms every View has the two properties HorizontalOptions and VerticalOptions. Both are of type LayoutOptions and can have one of the following…
Falko
  • 17,076
  • 13
  • 60
  • 105
173
votes
20 answers

Add bottom border line to UI TextField view in SwiftUI / Swift / Objective-C / Xamarin

I would like to keep the border at the bottom part only in UITextField. But I don't know how we can keep it on the bottom side. Can you please advise me?
dhaval shah
  • 4,499
  • 10
  • 29
  • 42
172
votes
3 answers

What is the difference between Xamarin.Forms and Xamarin Native?

I am confused between Xamarin.Forms and Xamarin native. What is the difference between the two? So what are the technical positives and negatives of using Xamarin.Forms over Xamarin Native?
Ajay Kumar
  • 2,031
  • 2
  • 13
  • 17
143
votes
4 answers

Project not selected to build for this solution configuration

The error: >------ Skipped Deploy: Project: DrawShape.Android, Configuration: Debug Any CPU ------ >Project not selected to build for this solution configuration The configuration in Configuration Manager seems correct: This is the code of the…
Xavier Peña
  • 7,399
  • 9
  • 57
  • 99
130
votes
4 answers

What's the meaning of * (asterisk) in XAML ColumnDefinition?

What is the meaning of * (asterisk) in the XAML below?
Shashank
  • 6,117
  • 20
  • 51
  • 72
128
votes
11 answers

Is Xamarin free in Visual Studio 2015?

Currently I explore the Visual Studio 2015 RC and realized that Xamarin Studio is integrated into Visual Studio and its installer. My Question is: Is Xamarin from now on free in Visual Studio?
Dennis Kassel
  • 2,726
  • 4
  • 19
  • 30
117
votes
13 answers

How do you switch pages in Xamarin.Forms?

How do you switch between pages in Xamarin Forms? My main page is a ContentPage and I don't want to switch to something like a Tabbed Page. I've been able to pseudo-do it by finding parents of the controls that should trigger the new page until I…
Eric
  • 1,882
  • 3
  • 16
  • 21
116
votes
21 answers

Toast equivalent for Xamarin Forms

Is there any way using Xamarin Forms (not Android or iOS specific) to have a pop-up, like Android does with Toast, that needs no user interaction and goes away after a (short) period of time? From searching around all I'm seeing are alerts that…
Jimmy
  • 1,299
  • 2
  • 10
  • 14
103
votes
11 answers

The SSL connection could not be established

I am using a third party library (Splunk c# SDK ) in my ASP.NET core application. I am trying to connect to my localhost Splunk service via this SDK, but I get an exception saying: System.Net.Http.HttpRequestException: The SSL connection could…
MVafa
  • 1,121
  • 2
  • 8
  • 6
1
2 3
99 100