Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use xamarin to build a cross-platform library usable in native apps

I want to build an iOS native apps and an Android native apps. I want to keep the code that manage the views purely native, ie. write Java code for Android and Objective-C code for iOS.

I would like to know if it is possible to build a library in C#, using Xamarin (or another tool/technology) ; with models, network code, behavior logic (ViewModel stuff), etc. that could be shared between the 2 native apps. If yes, how ? :)

Thanks!

like image 284
nverinaud Avatar asked Apr 26 '13 11:04

nverinaud


People also ask

Is Xamarin native or cross-platform?

Xamarin apps are native apps! Whether you're designing a uniform UI across platforms or building a native user interface, your apps will behave the way users expect.

Does Xamarin build native apps?

Moreover, Xamarin is native, and because it gives access to 100 percent of the native APIs, developers can also create Android wear apps, Apple Watch apps, and Apple TV apps.

What are the reason to use Xamarin for cross-platform development?

Xamarin has full access to native APIs and toolkits used on iOS, Android, and Windows platforms. It offers amazing native design and performance for every application. Having platform-specific elements and technologies available in C# and Visual Studio, Xamarin offers a feature of nativeness.

How Xamarin is used for native Android and iOS development?

Xamarin Forms enable fast prototyping with built-in UI libraries, adapted both to Android and iOS; Rich access to native APIs – just like in native apps, you can get access to the user's Bluetooth, camera, microphone. Features that use these API can be written in a specific language for faster performance.


1 Answers

No, it is not supported yet according to this forum discussion.

like image 59
nverinaud Avatar answered Sep 28 '22 15:09

nverinaud