cross-platform development with xamarin
DESCRIPTION
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 - PowerPoint PPT PresentationTRANSCRIPT
2014 © Trivadis
BASEL BERN BRUGG LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN
2014 © Trivadis
Cross-Platform Developmentwith XamarinThomas Claudius Huber
02.04.2014Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
1
2014 © Trivadis
02.04.2014Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
2
> 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
Thomas Claudius Huber
2014 © Trivadis
Multi Platform
Android 4
iOS 7
WinPhone 7.5 / 8
Win 8/RT
02.04.2014Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
3
Mobile Leads
2014 © Trivadis
Architecture
02.04.2014Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
4
TrivadisAzureClients
Leads Everywhere
Outlook
OCRService
CRM Connector
SAP
Dynamics
In
Progress
2014 © Trivadis
Shared code
02.04.2014Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
5
19% 2
2%
389%
114%
286%
19%
291%
113%
287%
2014 © Trivadis
1. Xamarin’s Approach
2. Bringing .NET to Android/iOS
3. Develop a small cross platform application
02.04.2014Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
6
Cross-Platform Development with Xamarin
2014 © Trivadis
Expensive to staff multiple platform-specific teams
Expensive to maintain multiple code bases
Slows innovation
02.04.2014Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
7
Silo Approach: Build Apps Multiple Times
2014 © Trivadis
Poor user experience API coverage Performance
High abandonment rates
Wasted investment
02.04.2014Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
8
Write-once-run-anywhere Approach
Black Box
2014 © Trivadis
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
02.04.2014Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
9
Xamarin’s Unique Approach
2014 © Trivadis
1. Xamarin’s Approach
2. Bringing .NET to Android/iOS
3. Develop a small cross platform application
02.04.2014Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
10
Cross-Platform Development with Xamarin
2014 © Trivadis
Commercial LicenseOpen Source License / Free available
02.04.2014Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
11
From .NET to Xamarin
Windows
.NET Framework
Linux
Mono
iOS
MonoTouch
Android
Mono for Android
iOS
Xamarin.iOS
Android
Xamarin.Android
2014 © Trivadis
02.04.2014Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
12
.NET for Linux
Windows Kernel
.NET Runtime (CLR)
.NET APIs
Application
Linux Kernel
Mono Runtime
.NET APIs
2014 © Trivadis
02.04.2014Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
13
.NET for Android
Android Kernel
Mono Runtime
.NET APIs
Application
Dalvik Runtime
android.* java.*Android Bindings MCW
ACW
MCW = Mono Callable Wrapper
ACW = Android Callable Wrapper
2014 © Trivadis
Application
02.04.2014Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
14
.NET for iOS
iOS
Mono Runtime
Runtimes are not allowed
Application Code
.NET APIs
iOSBindings
2014 © Trivadis
02.04.2014Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
15
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.
2014 © Trivadis
1. Xamarin’s Approach
2. Bringing .NET to Android/iOS
3. Develop a small cross platform application
02.04.2014Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
16
Cross-Platform Development with Xamarin
2014 © Trivadis
02.04.2014Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
17
Get started
Download Tools:http://store.xamarin.com
2014 © Trivadis
02.04.2014Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
18
DEMO
2014 © Trivadis
1. Xamarin’s Approach
2. Bringing .NET to Android/iOS
3. Develop a small cross platform application
02.04.2014Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
19
Cross-Platform Development with Xamarin
2014 © Trivadis
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
02.04.2014Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
20
Summary of Xamarin
2014 © Trivadis
Fragen und Antworten...
2013 © Trivadis
BASEL BERN BRUGG LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN
Cross Platform Developmentwith Xamarin
Thomas Claudius [email protected]@thomasclaudiush
02.04.2014Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
21