Build 2016 - B836 - Cross-Platform Mobile with Xamarin

Post on 13-Jan-2017

1.153 views 0 download

Transcript of Build 2016 - B836 - Cross-Platform Mobile with Xamarin

#Build2016

Mobile First

Miguel de Icazamiguel@xamarin.com

B836

Xamarin for Everyone

Mobile Agility with Xamarin and .NETIncrease Your ReachSupport customers on every device, everywhere

Delight your CustomersUse the best features available on each platformFull access and full control of the platform

High Quality AppsAvoid platform disparityDo not fix the same bug three times

Lower Development Costs

Open Source

.NET Everywhere

.NETSimple, powerful and native

Windows APIs

Microsoft.Phone Microsoft.Networking

Windows.Storage

Windows.Foundation

Microsoft.Devices

System.Data System.Windows

System.Numerics System.Core System.ServiceMod

el

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

iOS – 100% API Coverage

MapKit UIKit iBeacon CoreGraphics CoreMotion

System.Data System.Windows

System.Numerics System.Core System.ServiceMod

el

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

Android – 100% API Coverage

Text-to-speech ActionBar Printing Framework Renderscript NFC

System.Data System.Windows

System.Numerics System.Core System.ServiceMod

el

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

Strategies for sharing code

Xamarin’s Cross-platform approach

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

Windows-specific C#Android-specific C#iOS-specific C#

Shared C# Logic

Sharing Code - StrategiesShared ProjectsPut shared code in a “Shared Project”Reference the shared project from Android, iOS, Windows, WebAnd the source code from the shared project is included.Very flexible, can use partial classes, very simple, full API access

Portable Class LibrariesFor when you are designing code to be consumed by othersEasier to consume by third partiesLimited API access

Existing Components and NuGetsOur libraries support you with either approach

Powerful abstractions

SpeechSynthesizerTextToSpeechAVSpeechSynthesizer

TextToSpeech.Speak(“Hello World”);

Plugins for Xamarin

Common Mobile API

xamarin.com/plugins

Speech Camera Settings Connectivity

SMS Location

Platform Native APIs

Xamarin.Forms slide

Windows-specific C#Android-specific C#iOS-specific C#

Shared C# Logic

Shared Xamarin.Forms UI

2D Graphics LibrarySkiaThe 2D graphics enginePowers Google Chrome and Android.Cross platform: Android, iOS, Mac, Windows. Coming soon: UWP, tvOS.

ComprehensiveImage loading and savingImmediate composited rendering modeGPU accelerated (where available/enabled)Custom effects and shaders

Actively DevelopedBoth Skia and the SkiaSharp bindingsare in active development

Shapes Bézier Curves

Translations & Rotations

Text rendering

Discrete Path Effects

Composed Path Effects

Sum Path Effects

Shaders

3D Retained Graphics EngineUrhoRetained 3D engine

Cross platform: Android, iOS, Mac, Windows. Coming soon: UWP, tvOS.

Comprehensive3D ScenesRetained component systemGPU accelerated Custom effects and shaders

Actively DevelopedBoth Urho and the UrhoSharp bindings are in active development

Inspector and Workbooks

InspectorIDE support to inspect live applicationsMonitor your application liveExecute C# code against a running applicationMake changes, explore your application

Powered by Roslyn’s C#

Cross PlatformSupports Android, iOS, Mac and Windows

WorkbooksBringing Interactive C# to the next level

Learn by experimentation

Workbooks are live documentsThey contain Markdown textWith embedded C# codeThe code executes on demandAnd re-executes any code after you make changes

Hands on

Demo –Learning by ExperimentingMiguel de Icaza

Demo –Learning with WorkbooksMiguel de Icaza

Testing

Authoring testsUnit testingUI Testing

Test Recorder

Demo –Test RecorderMiguel de Icaza

Demo –Test CloudMiguel de Icaza

Please Complete An Evaluation FormYour input is important!

or

© 2016 Microsoft Corporation. All rights reserved.