Cross platform mobile development with visual studio and xamarin
Cross-Platform Development with Xamarin
Click here to load reader
-
Upload
trivadis -
Category
Technology
-
view
349 -
download
3
description
Transcript of Cross-Platform Development with Xamarin
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 Development
with Xamarin Thomas Claudius Huber
02.04.2014 Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
1
2014 © Trivadis
02.04.2014 Introduction 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.2014 Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
3
Mobile Leads
2014 © Trivadis
1. Xamarin’s Approach
2. Bringing .NET to Android/iOS
3. Develop a small cross platform application
02.04.2014 Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
4
Cross-Platform Development with Xamarin
2014 © Trivadis
Expensive to staff multiple platform-
specific teams
Expensive to maintain multiple code
bases
Slows innovation
02.04.2014 Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
5
Silo Approach: Build Apps Multiple Times
2014 © Trivadis
Poor user experience
API coverage
Performance
High abandonment rates
Wasted investment
02.04.2014 Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
6
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.2014 Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
7
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.2014 Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
8
Cross-Platform Development with Xamarin
2014 © Trivadis
Commercial License Open Source License / Free available
02.04.2014 Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
9
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.2014 Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
10
.NET for Linux
Windows Kernel
.NET Runtime (CLR)
.NET APIs
Application
Linux Kernel
Mono Runtime
.NET APIs
2014 © Trivadis
02.04.2014 Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
11
.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.2014 Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
12
.NET for iOS
iOS
Mono Runtime
Runtimes are not allowed
Application Code
.NET
APIs
iOS
Bindings
2014 © Trivadis
02.04.2014 Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
13
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.2014 Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
14
Cross-Platform Development with Xamarin
2014 © Trivadis
02.04.2014 Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
15
Get started
Download Tools:
http://store.xamarin.com
2014 © Trivadis
02.04.2014 Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
16
DEMO
2014 © Trivadis
1. Xamarin’s Approach
2. Bringing .NET to Android/iOS
3. Develop a small cross platform application
02.04.2014 Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
17
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.2014 Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
18
Summary of Xamarin
2014 © Trivadis
02.04.2014 Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
19
Verlosung
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 Development
with Xamarin
Thomas Huber
02.04.2014 Introduction into Cross-Platform Development with Xamarin ::: Thomas Claudius Huber
20