Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Will Xamarin app run on windows phone?

What is the best way to write for iPhone, Android and Windows phone ? If I'm writing in C# and using Xamarin will my app run on the windows phone as well ?

like image 298
Orn Kristjansson Avatar asked Dec 08 '13 19:12

Orn Kristjansson


People also ask

Is Xamarin only for mobile?

Xamarin is an open-source platform for building modern and performant applications for iOS, Android, and Windows with .

Do I need Android studio for Xamarin?

To use the Xamarin Android SDK Manager, you will need the following: Visual Studio 2022 Community, Professional, or Enterprise. Visual Studio 2019 Community, Professional, or Enterprise. OR Visual Studio 2017 (Community, Professional, or Enterprise edition).

How do I put Xamarin app on my phone?

Option 1: Manually upload the APK Select Ad-Hoc, then click Next. In the Android Signing Identity, click Import an Existing Key (or Create a New Key if you don't already have one). Select your key and then click Next. Review the app's details and then click Publish.

Can I use Xamarin iOS on Windows?

To build Xamarin. iOS apps with Visual Studio 2019 or Visual Studio 2022 on Windows, you will need: A Windows machine with Visual Studio 2019 or Visual Studio 2022 installed. This can be a physical or a virtual machine.


1 Answers

You can share any code written with the BCLs that are included with Xamarin (or any library built on top of those).

You will then need to write a custom Windows Phone application that uses those libraries. It is easiest to think of this as the "UI" of your application. You cannot share UI code between iOS, Android, and Windows Phone.

The MWC app is probably the best example of how to architect a solution that spans the 3 platforms.

like image 85
Erik Kerber Avatar answered Sep 25 '22 09:09

Erik Kerber