Native User Interfaces Native API Access Native Performance

  • Slides: 29
Download presentation

Native User Interfaces Native API Access Native Performance

Native User Interfaces Native API Access Native Performance

Objective-C in Xcode Java in Android Studio C# in Visual Studio No shared code

Objective-C in Xcode Java in Android Studio C# in Visual Studio No shared code • Many languages & development environments • Multiple teams

Lua Javascript Actionscript HTML+CSS App Generator Limited native API access • Slow performance •

Lua Javascript Actionscript HTML+CSS App Generator Limited native API access • Slow performance • Poor user experience

i. OS-specific C# Android-specific C# Windows-specific C# Shared C# Logic Shared C# codebase •

i. OS-specific C# Android-specific C# Windows-specific C# Shared C# Logic Shared C# codebase • 100% native API access • High performance

Microsoft. Phone Microsoft. Networking Windows. Storage Windows. Foundation Microsoft. Devices System. Net System. IO

Microsoft. Phone Microsoft. Networking Windows. Storage Windows. Foundation Microsoft. Devices System. Net System. IO System. Linq System. Xml System. Data System. Windows System. Numerics System. Core System. Service. Model

Map. Kit UIKit i. Beacon Core. Graphics Core. Motion System. Net System. IO System.

Map. Kit UIKit i. Beacon Core. Graphics Core. Motion System. Net System. IO System. Linq System. Xml System. Data System. Windows System. Numerics System. Core System. Service. Model

Text-to-speech Action. Bar Printing Framework Renderscript NFC System. Net System. IO System. Linq System.

Text-to-speech Action. Bar Printing Framework Renderscript NFC System. Net System. IO System. Linq System. Xml System. Data System. Windows System. Numerics System. Core System. Service. Model

Xamarin. i. OS does full Ahead Of Time (AOT) compilation to produce an ARM

Xamarin. i. OS does full Ahead Of Time (AOT) compilation to produce an ARM binary for Apple’s App Store. Xamarin. Android takes advantage of Just In Time (JIT) compilation on the Android device.

Xamarin. i. OS Xamarin. Android

Xamarin. i. OS Xamarin. Android

i. Circuit 14% Android i. OS Touch Draw 28% 72% 86% 30% 70% 12%

i. Circuit 14% Android i. OS Touch Draw 28% 72% 86% 30% 70% 12% Mac 88% 10% Windows Phone 90% 39% 61% 24% 76%

Shared C# Logic

Shared C# Logic

UI + APIs Battery GPS Lights Notifications Settings Text to Speech What if we

UI + APIs Battery GPS Lights Notifications Settings Text to Speech What if we didn’t have to write this code? What if we could access it from shared code?

Speak (“Hello World”); AVSpeech. Synthesizer Text. To. Speech. Synthesizer

Speak (“Hello World”); AVSpeech. Synthesizer Text. To. Speech. Synthesizer

Common API

Common API

Get Started Today Xamarin. com

Get Started Today Xamarin. com

http: //github. com/jamesmontemagno/Coffee. Finder https: //github. com/Azure-Samples/My. Driving http: //xamarin. com

http: //github. com/jamesmontemagno/Coffee. Finder https: //github. com/Azure-Samples/My. Driving http: //xamarin. com