Can I port Xamarin.Android to Xamarin.ios application?

if i like to create a new project in Xamarin Studio that target two platform Android and iOS i create new solution --> android App or Cross-platform App ?

Upvotes: 1

Views: 1293

Answers (2)

Felix Alcala
Felix Alcala

Reputation: 2935

You've got two options: Xamarin Forms or Native Cross Platform ('Single View App' in the template chooser).

Xamarin Forms is most useful for prototyping and data-entry apps with limited visual requirements. With the native option, on the other hand, you're completely free to create any app you'd like.

To create a new solution, use File -> New Solution -> Cross Platform -> App:

enter image description here

'Blank Xamarin.Forms App' will give you just that, while 'Simple View App' will give you a near-blank native cross-platform app.

To learn more on the specifics of cross platform coding with Xamarin, you might want learn more about native and/or Forms cross-platform development at the Xamarin Docs.

Upvotes: 1

ripple182
ripple182

Reputation: 861

Cross-platform App will create a Xamarin.Forms application. Xamarin.Forms will enabled you to write UI code a single time for multiple platforms. http://xamarin.com/forms

Otherwise you can create individual Xamarin.Platform apps for Android / iOS and use common business logic in a separate library project that they both reference.

Upvotes: 1

Related Questions