Developing Native iOS, Android, and Windows apps in C# with Xamarin @XamarinH Q #Xamarin
date post
29-Dec-2015Category
Documents
view
221download
1
Embed Size (px)
Transcript of Developing Native iOS, Android, and Windows apps in C# with Xamarin @XamarinH Q #Xamarin
FileNewTemplate
Developing Native iOS, Android, and Windows apps in C# with Xamarin
@XamarinHQ#Xamarin1Who is this guy?James MontemagnoDeveloper Evangelist, [email protected]
@JamesMontemagno | motzcod.es
@XamarinHQ | blog.xamarin.com
2
Automatically test your app onhundreds of mobile devices Create native iOS, Android, Mac andWindows apps in Visual Studio and C#
3What is native?4The Anatomy of a Native App
Native User InterfacesNative API AccessNative Performance5Architecting Mobile Apps6The Silo ApproachBuild App Multiple Times
7The Write-Once-Run-Anywhere ApproachLowest CommonDenominator
Poor user experience API coverage Performance
High abandonment rates
Wasted investment
8Xamarins Unique ApproachNative With Code Sharing
9Windows APIs
10iOS APIs | 100% Coverage
11Android APIs | 100% Coverage
12Anything you can do in Objective-C, Swift, or Java can be done in C# with Xamarin using Visual Studio13Xamarin.iOS does full Ahead Of Time (AOT) compilation to produce an ARM binary for Apples App Store.Native PerformanceXamarin.Android takes advantage of Just In Time (JIT) compilation on the Android device.
There is no compromise on performance.Xamarin apps look and feel native because they are native.14
Emerging Technologies & Devices
Android Wear Google Glass Amazon Fire Phone Amazon Fire TV15Live Coding Adventure 116Portable Class Libraries
Xamarin + Xamarin.Forms
With Xamarin.Forms: more code-sharing, native controlsTraditional Xamarin approachShared UI Code18Xamarin + Xamarin.Forms
Shared UI CodeQuickly 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 APIsI19Whats Included40+ Pages, Layouts, and ControlsBuild from code behind or XAML
Two-way Data Binding
Navigation
Animation API
Dependency Service
Messaging Center
20Pages
ContentMasterDetailNavigationTabbedCarousel
First you have a set of pages for each screen of your applicationThere are things like Content, and MasterDetail which gives you a nice flyoutWith a tabbed view you get the correct look on each platformiOS on bottom, Android on top, and on WP you have a Pivot control21Layouts
StackAbsoluteRelativeGridContentViewScrollViewFrameInside of a page are layoutsA lot of options from something simple like a stack panel to complex and powerful grids
22ControlsActivityIndicatorBoxViewButtonDatePickerEditorEntryImageLabelListViewMapOpenGLViewPickerProgressBarSearchBarSliderStepperTableViewTimePickerWebViewEntryCellImageCellSwitchCellTextCellViewCell23Login ViewModel
24Login Page Code Behind
25Login Page XAML
26Login Page
27Live Coding Adventure 228Key Attendees
xamarin.com/evolveUnrivaled Mobile Development Training
Live unlimited mobile development training from mobile experts, in your time-zone, on your schedule and as often as you'd likexamarin.com/university30
Get Started Today: xamarin.com/download
31Q & A
Get your free C# t-shirt:xamarin.com/shirt
Find Me:@JamesMontemagno | [email protected] | blog.xamarin.com32