Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

32
James Montemagno Xamarin, Developer Evangelist Xamarin.Forms: Native iOS, Android, and Windows Phone apps from ONE C# Codebase @JamesMontemagno | @XamarinHQ

Transcript of Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

Page 1: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

James Montemagno Xamarin, Developer Evangelist

Xamarin.Forms: Native iOS, Android, and Windows Phone apps from ONE C# Codebase

@JamesMontemagno | @XamarinHQ

Page 2: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

Automatically test your app on!hundreds of mobile devices !

Create native iOS, Android, Mac and Windows apps in Visual Studio and C#

Page 3: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

What is native?!

Page 4: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

The Anatomy of a Native App!

Native User Interfaces! Native API Access! Native Performance!

Page 5: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

Architecting !Mobile Apps!

Page 6: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

Silo  Approach  

Build  Apps  Mul1ple  Times  

Page 7: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

Write  Once,  Run  Anywhere  Approach  

Lowest    Common  Denominator  

Page 8: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

Xamarin’s Unique Approach!

Native With !Code Sharing!

Page 9: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

Windows APIs!

Page 10: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

iOS APIs | 100% Coverage!

Page 11: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

Android APIs | 100% Coverage!

Page 12: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

Anything you can do in Objective-C, Swift, or Java !can be done in C# with Xamarin using Visual Studio!

Page 13: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

C# runs on 2.6 Billion Devices!

Page 14: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

How  Xamarin  Works  

§  C# + .NET Runtime §  Native UI §  Native Performance

Page 15: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

Development Environment

Xamarin Studio PC or Mac

Visual Studio Plugin VS 2010/2012/2013

Page 16: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

Xamarin Designer for Android!

Fully integrated into Xamarin Studio & Visual Studio!!Multi-resolution editing!!Easy switch between design and Android XML!!Shipping for over 2 years!

Page 17: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

Xamarin Designer for iOS!

Page 18: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

Portable  Class  Libraries  

Page 19: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

Xamarin.Forms!

With Xamarin.Forms: !more code-sharing, native controls!

Traditional Xamarin approach!

Shared UI Code!

Page 20: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

Xamarin.Forms!

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!!!!!!!!!!

Shared UI Code!

Page 21: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

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!

Shared UI Code!

Page 22: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

Pages!

Content" MasterDetail" Navigation" Tabbed" Carousel"

Page 23: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

Layouts!

Stack" Absolute" Relative" Grid" ContentView" ScrollView" Frame"

Page 24: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

Controls!

ActivityIndicator! BoxView! Button! DatePicker! Editor!

Entry! Image! Label! ListView! Map!

OpenGLView! Picker! ProgressBar! SearchBar! Slider!

Stepper! TableView! TimePicker! WebView! EntryCell!

ImageCell! SwitchCell! TextCell! ViewCell!

Page 25: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

Demo!

Page 26: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

•  Azure Mobile Service •  Cross Platform •  Component & NuGet •  PCL Support •  Online / Offline Sync

Cross Platform Cloud Service!

Page 27: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

•  OAuth •  Twitter •  Facebook •  Microsoft Account •  Google •  Custom

•  Easy Implementation •  Look and Feel of Each Platform

Cloud Made Easy!

Page 28: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

Client Synchronization!

Page 29: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

Let’s Do It!!

Page 30: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

Learn more!

Unrivaled Mobile Development Training!Live 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: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

Get Started Today: xamarin.com/download"

Page 32: Xamarin.Forms: Native iOS, Android, and Windows Phone apps ...

Q & A!!Get your free C# t-shirt:!xamarin.com/shirt!!Follow Me:!@JamesMontemagno!

@XamarinHQ!#Xamarin!