developing native ios, android, and windows apps in c# with xamarin

32
Developing Native iOS, Android, and Windows apps in C# with Xamarin @XamarinHQ #Xamarin

Upload: harmon

Post on 25-Feb-2016

66 views

Category:

Documents


2 download

DESCRIPTION

@ XamarinHQ #Xamarin. Developing Native iOS, Android, and Windows apps in C# with Xamarin. Who is this guy?. James Montemagno. Developer Evangelist, Xamarin. james.montemagno@ xamarin.com @ JamesMontemagno | motzcod.es @ XamarinHQ | blog.xamarin.com. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

Developing Native iOS, Android, and Windows apps in C# with Xamarin

@XamarinHQ

#Xamarin

Page 2: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

Who is this guy?

James MontemagnoDeveloper Evangelist, [email protected]

@JamesMontemagno | motzcod.es

@XamarinHQ | blog.xamarin.com

Page 3: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

Automatically test your app on

hundreds of mobile devices

Create native iOS, Android, Mac and

Windows apps in Visual Studio and C#

Page 4: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

What is native?

Page 5: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

The Anatomy of a Native App

Native User Interfaces Native API Access Native Performance

Page 6: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

Architecting Mobile Apps

Page 7: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

The Silo Approach

Build App Multiple Times

Page 8: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

The Write-Once-Run-Anywhere Approach

Lowest CommonDenominator

Page 9: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

Xamarin’s Unique Approach

Native With Code Sharing

Page 10: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

Windows APIs

Page 11: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

iOS APIs | 100% Coverage

Page 12: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

Android APIs | 100% Coverage

Page 13: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

Anything you can do in Objective-C, Swift, or Java

can be done in C# with Xamarin using Visual Studio

Page 14: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

Xamarin.iOS does full Ahead Of Time (AOT) compilation to produce an ARM binary for Apple’s App Store.

Native Performance

Xamarin.Android takes advantage of Just In Time (JIT) compilation on the Android device.

Page 15: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

Emerging Technologies & Devices

Android Wear Google Glass Amazon Fire Phone Amazon Fire TV

Page 16: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

Live Coding Adventure 1

Page 17: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

Portable Class Libraries

Page 18: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

Xamarin + Xamarin.FormsWith Xamarin.Forms:

more code-sharing, native controlsTraditional Xamarin approach

Shared UI Code

Page 19: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

Xamarin + Xamarin.Forms

Shared UI Code

Quickly and easily build native user interfaces using shared code

Xamarin.Forms elements map to native controls and behaviors

Mix-and-match Xamarin.Forms with native APIs

Page 20: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

What’s Included 40+ Pages, Layouts, and

Controls Build from code behind or

XAML

Two-way Data Binding

Navigation

Animation API

Dependency Service

Messaging Center

Page 21: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

Pages

Content MasterDetail Navigation Tabbed Carousel

Page 22: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

Layouts

Stack Absolute Relative Grid ContentView ScrollView Frame

Page 23: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

ControlsActivityIndicat

or BoxView Button DatePicker Editor

Entry Image Label ListView Map

OpenGLView Picker ProgressBar SearchBar Slider

Stepper TableView TimePicker WebView EntryCell

ImageCell SwitchCell TextCell ViewCell

Page 24: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

Login ViewModel

Page 25: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

Login Page – Code Behind

Page 26: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

Login Page – XAML

Page 27: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

Login Page

Page 28: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

Live Coding Adventure 2

Page 29: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

Key Attendees

xamarin.com/evolve

Page 30: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

Unrivaled Mobile Development TrainingLive unlimited mobile development training from mobile experts,

in your time-zone, on your schedule and as often as you'd like

xamarin.com/university

Page 31: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

Get Started Today: xamarin.com/download

Page 32: Developing  Native  iOS, Android,  and  Windows apps  in C# with  Xamarin

Q & AGet your free C# t-shirt:xamarin.com/shirt

Find Me:@JamesMontemagno | motzcod.es@XamarinHQ | blog.xamarin.com