210 likes | 423 Views
Cross-Platform Development with Xamarin. Thomas Claudius Huber. Thomas Claudius Huber. > Principal Consultant @ Trivadis AG >> Trainer , Coach, Developer, Architect >> www.thomasclaudiushuber.com > Specializes in WPF , XAML, WinApps >> Author of several books
E N D
Cross-Platform Developmentwith Xamarin • Thomas Claudius Huber Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
Thomas Claudius Huber • > Principal Consultant @ Trivadis AG>> Trainer, Coach, Developer, Architect>> www.thomasclaudiushuber.com • > Specializes in WPF, XAML, WinApps>> Author of several books • > Develops native Apps for major mobile platforms: Windows Phone, Android, iOS Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
Mobile Leads • Multi Platform • Android 4 • iOS 7 • WinPhone 7.5 / 8 • Win 8/RT Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
Architecture Clients Trivadis Azure Outlook Leads Everywhere SAP CRM Connector OCR Service Dynamics In Progress Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
Shared code Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
Cross-Platform Development with Xamarin • Xamarin’s Approach • Bringing .NET to Android/iOS • Develop a small cross platform application Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
Silo Approach: Build Apps Multiple Times • Expensive to staff multiple platform-specific teams • Expensive to maintain multiple code bases • Slows innovation Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
Write-once-run-anywhere Approach • Poor user experience • API coverage • Performance • High abandonment rates • Wasted investment Black Box Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
Xamarin’s Unique Approach • Fully native apps written in C# • Native UI, Native Performance • Anything you can do in Objective-C and Java can be done in Xamarin • Re-use existing skills, teams, tools and code • Share on average 75% source code across platforms Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
Cross-Platform Development with Xamarin • Xamarin’s Approach • Bringing .NET to Android/iOS • Develop a small cross platform application Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
From .NET to Xamarin Commercial License Open Source License / Free available iOS iOS Xamarin.iOS MonoTouch Linux Mono Android Android Xamarin.Android Mono for Android Windows .NET Framework Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
.NET for Linux Application .NET APIs .NET APIs Mono Runtime .NET Runtime (CLR) Linux Kernel Windows Kernel Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
.NET for Android MCW = Mono Callable Wrapper ACW = Android Callable Wrapper Application .NET APIs Android Bindings android.* java.* MCW ACW Mono Runtime Dalvik Runtime Android Kernel Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
.NET for iOS Runtimes are not allowed Application Application Code .NET APIs iOSBindings Mono Runtime iOS Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
Xamarin App Development Overview Xamarin.iOS does full Ahead Of Time (AOT) compilation to produce an ARM binary suitable for Apple’s App Store. Xamarin.Android takes advantage of Just In Time (JIT) compilation on the Android device. Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
Cross-Platform Development with Xamarin • Xamarin’s Approach • Bringing .NET to Android/iOS • Develop a small cross platform application Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
Get started Download Tools:http://store.xamarin.com Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
DEMO Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
Cross-Platform Development with Xamarin • Xamarin’s Approach • Bringing .NET to Android/iOS • Develop a small cross platform application Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
Summary of Xamarin • provides .NET-based access to Android and iOS API • allows development in Visual Studio • with Business or Enterprise edition • for iOS a Mac is needed to create UI and to compile • allows a common code-basis for all platforms Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
Cross Platform Developmentwith Xamarin • Thomas Claudius Huberthomas.huber@trivadis.com@thomasclaudiush Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber