Introduction to Xamarin App development
Xamarin is an open-source platform that creates fast approached apps for multiple devices, like iOS, Android, and Windows. It is an abstraction layer that manages the communication of shared code with platform code. And it collects memory allocation and garbage storage. It can be written on Mac and PC. Xamarin compiles the native application packages like. APK on Android and.IPA files on iOS.
Xamarin
is for the developers for the following goals:
- It allows developers to share the
code and test on various business platforms.
- All applications are written in 3C
and visual studio
How Xamarin works?
Firstly, Xamarin creates
the native UI on each platform and business logic using #C that all platforms
share. It follows with building the Mono, Mono Touch, and Mono for Android.
These are the cross platforms implementations that depend on common language
infrastructure and common language specifications. It is built on the top of
.NET, which automatically handles the tasks such as memory allocation, garbage
storage collection, and interchangeability.
Xamarin
Development Approaches
There are two ways of
developing cross-platforms via Xamarin, including:
1.Forms
Technology - It first allows you to
design the user interface and attach the #c code with it. And you can share
this Base code with Android, iOS, and Windows platforms. In this, the UI and
backend codes are pulled together for the different solutions.
2.Xmarin
Native - It includes Xamarin Android, Xamarin
iOS, and Xamarin windows libraries that create different applications for each
platform. In this case, the UI code is similar, but the backend code is shared
with Xamarin forms.
The
following Xamarin types with other platforms are written below:
·
Xamarin Android -
It compiles from C language to intermediate language, which is just in time to
integrate to a native assembly when the application launches. It runs with the
mono execution environment and side-by-side Android Runtime virtual machine.
·
Xamarin iOS - It
is ahead of time, compiled from #C into native ARM assembly code. In this,
selectors and registrars are known as bindings and allow objectives #C and C to
communicate. For fast processing, Xamarin iOS is used to convey the messages.
·
Xamarin Essentials - It
is a library that provides cross platforms with APIs for native device
features. The essentials are device info, File System, Accelerometer, Phone Dialer,
Text to Speech and Screen lock, etc.
· Xamarin Forms - It is an open-source UI framework. Xamarin forms allow the developers to build the Xamarin iOS, Xamarin Android, and Windows application
Comments
Post a Comment