Developing Native iOS, Android, and Windows apps in C# with Xamarin @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
Create native iOS, Android, Mac and Windows apps in Visual Studio and C# Automatically test your app on hundreds of mobile devices
What is native?
The Anatomy of a Native App Native User Interfaces Native API Access Native Performance
Architecting Mobile Apps
Build App Multiple Times The Silo Approach Build App Multiple Times
The Write-Once-Run-Anywhere Approach Lowest Common Denominator Poor user experience – API coverage – Performance High abandonment rates Wasted investment
Xamarin’s Unique Approach Native With Code Sharing
Windows APIs
iOS APIs | 100% Coverage
Android APIs | 100% Coverage
Anything you can do in Objective-C, Swift, or Java can be done in C# with Xamarin using Visual Studio
Native Performance Xamarin.iOS does full Ahead Of Time (AOT) compilation to produce an ARM binary for Apple’s App Store. Xamarin.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.
Emerging Technologies & Devices Android Wear Google Glass Amazon Fire Phone Amazon Fire TV
Live Coding Adventure 1
Portable Class Libraries
Xamarin + Xamarin.Forms With Xamarin.Forms: more code-sharing, native controls Traditional Xamarin approach Shared UI Code
Xamarin + 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 I
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
Pages Content MasterDetail Navigation Tabbed Carousel First you have a set of pages for each screen of your application There are things like Content, and MasterDetail which gives you a nice flyout With a tabbed view you get the correct look on each platform iOS on bottom, Android on top, and on WP you have a Pivot control
Layouts Inside of a page are layouts Stack Absolute Relative Grid ContentView ScrollView Frame Inside of a page are layouts A lot of options from something simple like a stack panel to complex and powerful grids
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
Login ViewModel
Login Page – Code Behind
Login Page – XAML
Login Page
Live Coding Adventure 2
Key Attendees xamarin.com/evolve
xamarin.com/university 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
Get Started Today: xamarin.com/download
Q & A Get your free C# t-shirt: xamarin.com/shirt Find Me: @JamesMontemagno | motzcod.es @XamarinHQ | blog.xamarin.com Q & A Get your free C# t-shirt: xamarin.com/shirt