xamarin 4 - the future of apps

54
James Montemagno Developer Evangelist, Xamarin 4 The future of apps @JamesMontemagno

Upload: james-montemagno

Post on 13-Jan-2017

635 views

Category:

Engineering


0 download

TRANSCRIPT

Page 1: Xamarin 4  - the future of apps

James MontemagnoDeveloper Evangelist, Xamarin

4

The future of apps

@JamesMontemagno

Page 2: Xamarin 4  - the future of apps

JamesMontemagnoDeveloper Evangelist, Xamarin

[email protected] motzcod.es @JamesMontemagno

Page 3: Xamarin 4  - the future of apps

Make it fast, easy, and fun to create great mobile apps.

Xamarin’s Mission

Page 4: Xamarin 4  - the future of apps

Stay current

Your priorities when building apps

Works EverywhereNative5-Star App

Integration

Page 5: Xamarin 4  - the future of apps

Xamarin 4

Completemobile lifecycle

Enterprise-grade

Page 6: Xamarin 4  - the future of apps

Xamarin – Your Complete Mobile Solution

BUILD TEST MONITOR

ACCELERATE

Page 7: Xamarin 4  - the future of apps

Xamarin 4: the complete mobile lifecycle

BUILD TEST MONITOR

ACCELERATE

Page 8: Xamarin 4  - the future of apps

Xamarin Platform: native apps across platforms

Page 9: Xamarin 4  - the future of apps

Shared C# codebase • 100% native API access • High performance

iOS C# UI Windows C# UIAndroid C# UI

Shared C# Mobile

Page 10: Xamarin 4  - the future of apps

Traditional Xamarin Approach

With Xamarin.Forms:More code-sharing, all native

iOS C# UI Windows C# UIAndroid C# UI

Shared C# Backend

Shared UI Code

Shared C# Backend

Page 11: Xamarin 4  - the future of apps

Microsoft.Phone Microsoft.Networking Windows.Storage Windows.Foundation Microsoft.Devices

System.Data System.Windows System.Numerics System.Core System.ServiceModel

System.Net System System.IO System.Linq System.Xml

Page 12: Xamarin 4  - the future of apps

MapKit UIKit iBeacon CoreGraphics CoreMotion

System.Data System.Windows System.Numerics System.Core System.ServiceModel

System.Net System System.IO System.Linq System.Xml

Page 13: Xamarin 4  - the future of apps

Text-to-speech ActionBar Printing Framework Renderscript NFC

System.Data System.Windows System.Numerics System.Core System.ServiceModel

System.Net System System.IO System.Linq System.Xml

Page 14: Xamarin 4  - the future of apps

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.

.NET

C# Compileand Link .APK

Bindings

RunsNatively

IL+

JIT

Page 15: Xamarin 4  - the future of apps

✓Always Up-to-Date

••••••

•••••

Page 16: Xamarin 4  - the future of apps
Page 17: Xamarin 4  - the future of apps

Code SharingStatsMac

iOS

Android

Windows Phone

iCircuit Touch Draw

86%

14%

72%

28%

70%30%

61%39%

88%

12%

76%

24%

90%

10%

Page 18: Xamarin 4  - the future of apps

9

What’s new in Xamarin Platform?

Enhanced VS IntegrationXamarin.Forms 2.0 iOS 9 & Android M PreviewTechnologies

Page 19: Xamarin 4  - the future of apps

Xamarin.Forms 2.0

Page 20: Xamarin 4  - the future of apps

Xamarin.Forms 2.0: Material Design

https://blog.xamarin.com/material-design-for-your-xamarin-forms-android-apps/

Page 21: Xamarin 4  - the future of apps

Xamarin.Forms 2.0: Material Design

https://blog.xamarin.com/material-design-for-your-xamarin-forms-android-apps/

Page 22: Xamarin 4  - the future of apps

Xamarin.Forms 2.0: ListView Optimizations

http://developer.xamarin.com/guides/cross-platform/xamarin-forms/user-interface/listview/performance/

Page 23: Xamarin 4  - the future of apps

Xamarin.Forms 2.0: ListView Optimizations

http://developer.xamarin.com/guides/cross-platform/xamarin-forms/user-interface/listview/performance/

Page 24: Xamarin 4  - the future of apps

Xamarin.Forms 2.0: XAML Optimizations

https://developer.xamarin.com/guides/cross-platform/xamarin-forms/user-interface/xaml-basics/xamlc/

Page 25: Xamarin 4  - the future of apps

Xamarin.Forms 2.0: XAML Optimizations

https://developer.xamarin.com/guides/cross-platform/xamarin-forms/user-interface/xaml-basics/xamlc/

Page 26: Xamarin 4  - the future of apps

Xamarin.Forms 2.0: Windows 10 (UWP) Preview

https://blog.xamarin.com/getting-started-with-xamarin-forms-windows-10-preview/

Page 27: Xamarin 4  - the future of apps

Demo

Page 28: Xamarin 4  - the future of apps

Visual Studio Integration Enhancements

Page 29: Xamarin 4  - the future of apps

9

Enhanced iOS & Android Designers

Page 30: Xamarin 4  - the future of apps

Preview Technologies

Profiler Objective SharpieCocoaPod Integration Inspector

Page 31: Xamarin 4  - the future of apps

Demo

Page 32: Xamarin 4  - the future of apps

Xamarin – Your Complete Mobile Solution

BUILD TEST MONITOR

ACCELERATE

Page 33: Xamarin 4  - the future of apps

Challenges

Page 34: Xamarin 4  - the future of apps

On Mobile, Quality is Hard

72020356

OS versionsDevicesLanguagesLocalesScreen sizes

1024K+

395727156

OS versionsDistinct devicesLanguagesLocalesScreen sizesManufacturersScreen configurations

Page 35: Xamarin 4  - the future of apps

Android diversification

Page 36: Xamarin 4  - the future of apps

iOS diversification

3D Touch

iPhone 6s series only

Apple penciliPad Pro only

Multi TaskingOnly select iPads

iPads

iPod touch

iPhones

Form factors iOS 9 features

Page 37: Xamarin 4  - the future of apps

Thousands of iOS and Android APIs

Public web APIs

Backend integrations

Third party libraries

Memory, CPU and network constraints

App Complexity

Page 38: Xamarin 4  - the future of apps

Tap Scroll Swipe Pinch Multi Finger

Text Entry Rotation GPS

Page 39: Xamarin 4  - the future of apps

Xamarin Test Cloud: automated testing on thousands of devices

Page 40: Xamarin 4  - the future of apps

What’s new in Xamarin Test Cloud?

Integratedwith Platform

UITest 1.0 Test Recorder

Page 41: Xamarin 4  - the future of apps

Demo

Page 42: Xamarin 4  - the future of apps

Xamarin – Your Complete Mobile Solution

BUILD TEST MONITOR

ACCELERATE

Page 43: Xamarin 4  - the future of apps

Supports

✓ Xamarin.iOS✓ Xamarin.Android✓ Xamarin.Mac✓ Windows Phone✓ Windows Store✓ Windows Desktop

Page 44: Xamarin 4  - the future of apps

Introducing Xamarin Insights API//Crash ReportInsights.Report(exception);

//Feature UsageInsights.Track(“Splash Page”);

//Timed EventsInsights.TrackTime(“TimeToSync”);

//User SessionsInsights.Identify(“Steve”, user_traits);

Page 45: Xamarin 4  - the future of apps

Track any event that occurs in your application.

Even track performance of how long an operation takes.

Page 46: Xamarin 4  - the future of apps

Combine event tracking with user identification to resolve issues faster.

Page 47: Xamarin 4  - the future of apps

Automatically report any uncaught managed or native exception.

Report your own caught exceptions with simple cross-platform API.

Page 48: Xamarin 4  - the future of apps

Simple integrations into popular servicesfor mission critical notifications.

Page 49: Xamarin 4  - the future of apps

Xamarin – Your Complete Mobile Solution

BUILD TEST MONITOR

ACCELERATE

Page 50: Xamarin 4  - the future of apps

What’s Xamarin University?

Reduced renewal pricing

Over 60 classes Guest Lectures and office hours

Lightning Lectures: Bite size

learning on specific topics

Certification: Be recognized

for being a Mobile and

Xamarin expert

Page 51: Xamarin 4  - the future of apps

Every Xamarin Platform Subscription Includes:

Page 52: Xamarin 4  - the future of apps

Xamarin – Your Complete Mobile Solution

BUILD TEST MONITOR

ACCELERATE

Page 53: Xamarin 4  - the future of apps

evolve.xamarin.com

Page 54: Xamarin 4  - the future of apps

Thank you.

JamesMontemagnoDeveloper Evangelist, Xamarin

[email protected] motzcod.es @JamesMontemagno

Questions?