eGo Creative Media Solutions
Xamarina little bit of everything
Beginnings
Idea in 2000
Release in 2004
in 2011 profit!!!
Advantage
➔ All the power of. Net on any other platform *
➔ All** benefit of c#
➔ Code portability
*on any supported platform
**absolutely all
How does it work?
Who knows :)
Xamarin.iOS vs Xamarin.Android
➔ Ahead-of-Time (AOT) compilation in iOS. The program code must be pre-compiled into machine. For this purpose, AOT compiler Mono is used.
➔ Just-in-Time compilation in Android. Code is compiled into some intermediate byte code that is interpreted in CPU instructions at the time of program execution
Xamarin.Android Work
➔ Virtual machine Mono is added to the packaged application
➔ Mono and Dalvik are written on C and are running under the Linux kernel
➔ When starting Android application, both virtual machines start running side by side and they are exchanging data via a special wrapper`s mechanism.
Performance
LINPACK performance comparison
Devices
UI
What to do with native code?
Bind!
Java Bindings LibraryJava Native InterfaceCode porting
iOS binding projectObjective Sharpie
PCL – cross-platform base
➔ PCL code can run on any platform
➔ A small functional
MvvmCross
➔ MVVM template for Xamarin projects
➔ IoC/DI from the box
➔ Wide default functional
➔ Easy to expansion
Holywar