Introduction to Xamarin

50
www.xam-consulting.com www.michaelridland.com Introduction to Xamarin

Transcript of Introduction to Xamarin

Page 1: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Introduction to Xamarin

Page 2: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Michael Ridland

www.michaelridland.com

Page 3: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Mobile Technology Specialists

Page 4: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

What is native?

Page 5: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

The Anatomy of a Native App

Native User Interfaces Native API Access Native Performance

Page 6: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

The Silo Approach

Build App Multiple Times

Page 7: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

The Write-Once-Run-Anywhere Approach

Lowest Common Denominator

Page 8: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Xamarin’s (Traditional) Approach

Native With Code Sharing

Page 9: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Language Support

Functional Imperative/OOP

F#

C#

Page 10: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Base Class Libraries

Page 11: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Windows APIs

Page 12: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

iOS APIs | 100% Coverage

Page 13: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Android APIs | 100% Coverage

Page 14: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Anything you can do in Objective-C or Java can be done in C# or F# with Xamarin

Pro Tip

Page 15: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

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.

Page 16: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Demos - Xamarin Traditional

Demos

Page 17: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Always Up To Date

Same day support for iOS 5, iOS 6, iOS 6.1, iOS 7, iOS 7.1, iOS 8…

Page 18: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Future Proof

Always up-to-date with the latest APIs from Apple and Google.

Full Support for Android TV, Fire TV, Android Wear, Google Glass, etc

Page 19: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Distribute Everywhere

A Xamarin app is an app, distribute it everywhere

Page 20: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Rich Library EcoSystem

Json.NET Rx

…and many more!

Page 21: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Development Environments

Page 22: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Development Environment

Xamarin StudioPC or Mac

Visual Studio PluginVS 2010/2012/2013

Page 23: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Development Environment

or even?

Page 24: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Visual Studio Integration

Page 25: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Android Designer

Page 26: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

iOS Designer

Fully integrated into Xamarin Studio & Visual Studio

iOS 6 & 7 Storyboard support

Intuitive event handling

Support for auto-layout

Live preview of custom controls

Page 27: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Component Store

Page 28: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Component Vendors

Page 29: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Xamarin.Forms

Page 30: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Xamarin.Forms

Xamarin.FormsTraditional Xamarin approach

Shared UI Code

Page 31: Introduction to Xamarin
Page 32: Introduction to Xamarin
Page 33: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Xamarin.Forms: What’s Included?

▪ 40+ Pages, Layouts, and Controls

▪ Build from code or XAML

▪ Two-way Data Binding

▪ Navigation

▪ Animation API

▪ Dependency Service

▪ Messaging Center

Page 34: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Xamarin.Forms: Pages

Content MasterDetail Navigation Tabbed Carousel

Page 35: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Xamarin.Forms: Layouts

Stack Absolute Relative Grid ContentView ScrollView Frame

Page 36: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Xamarin.Forms: 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 37: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Xamarin Forms Demo

Page 38: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Real Apps

Page 39: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Extended Product Line (Some Pre-Release)

Page 40: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Xamarin Test Cloud

Page 41: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Xamarin Test Cloud Customers

Page 42: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Xamarin Android Player

▪ Super fast hardware accelerated

simulator

▪ Available on Mac and PC

▪ Free for Xamarin Customers

Page 43: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Page 44: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

▪ Exception Reporting

▪ Custom Reporting

Page 45: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

▪ Event Tracking

▪ Performance Tracking

Page 46: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

▪ Match exceptions

to users

Page 47: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Sketches

▪ Live Coding Environment

Page 48: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Xamarin Profiler Preview

▪ Analyse performance of your apps

Page 49: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Profitable Innovative Company

▪ Yes, the platform does cost money but that’s

GREAT!

▪ It gives them money to solve more problems!

▪ It gives them money to build the ecosystem!

Page 50: Introduction to Xamarin

www.xam-consulting.com www.michaelridland.com

Q & AMichael Ridland

[email protected]

@rid00z

www.michaelridland.com