Orn Kristjansson
Orn Kristjansson

Reputation: 3485

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 ?

Upvotes: 8

Views: 4224

Answers (1)

Erik Kerber
Erik Kerber

Reputation: 5656

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.

Upvotes: 9

Related Questions