+ All Categories
Home > Mobile > Xamarin Dev Days 2016 introduction to xamarin

Xamarin Dev Days 2016 introduction to xamarin

Date post: 13-Apr-2017
Category:
Upload: dan-ardelean
View: 157 times
Download: 5 times
Share this document with a friend
40
#XamarinDevDays
Transcript

PowerPoint Presentation

#XamarinDevDays

Dan Ardelean - Introduction to Xamarin Alessandro Pozone - Cross Platform UI with Xamarin.FormsMarco Minerva Connected Apps with AzureLunch Courtesy of XamarinFile -> New App WorkshopAgenda

#XamarinDevDays

meetup.com/DotNetLombardiaSupporter

#XamarinDevDays

Supporter

#XamarinDevDays

Syncfusion.comSponsor

Essential Studio for XamarinCross-platform mobile development for Xamarin.Forms, Xamarin.iOS, and Xamarin.Android.

Claim your free license at:www.Syncfusion.com/XamarinDevDaysFree Syncfusion LicenseDeliver innovation with ease

6

#XamarinDevDays

Microsoft.comSponsor

Dan ArdeleanTwitter: @danardeleanMicrosoft MVP Windows Platform DevelopmentXamarin Certified Mobile DeveloperNative iOS & Android Development with Xamarin

Xamarin Your Complete Mobile Solution

DevelopTestBuildDistributeMonitor

Xamarin is your complete mobile solution.

Xamarin Platform is usually what you hear about which is building native iOS, Android, Mac, and Windows Apps all in C#

However Xamarin offers a wide range of products for developers to go mobile including Test Cloud, Hockey App, and a way to learn all of mobile with University.9

Architecting Mobile Apps

So we know what we want how do we get there? Lets talk about the state of mobile development.10

Silo ApproachiOSWindowsAndroidObjective-CXcodeC#Visual StudioJavaAndroid StudioNo shared code Many languages & development environments Multiple teams

Multiple TeamsMultiple Code BasesExpensive & SlowPositive = Great apps delivered to users platformNegative = Development hampered by multiple code bases & fragmentation11

Write Once, Run Anywhere

App Generator

LuaJavascriptActionscriptHTML+CSS

Limited native API access Slow performance Poor user experience

Unhappy UsersUnhappy DevelopersIncrease in Abandoned AppsLimited to what is implemented

2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.7/16/201612

Xamarins Unique ApproachShared C# codebase 100% native API access High performance

iOS C# UI Windows C# UIAndroid C# UIShared C# Mobile

Build 2015 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.7/16/2016 8:48 AM13

Windows APIsMicrosoft.PhoneMicrosoft.NetworkingWindows.StorageWindows.FoundationMicrosoft.Devices

System.DataSystem.WindowsSystem.NumericsSystem.CoreSystem.ServiceModelSystem.NetSystemSystem.IOSystem.LinqSystem.Xml

iOS 100% API CoverageMapKitUIKitiBeaconCoreGraphicsCoreMotion

System.DataSystem.WindowsSystem.NumericsSystem.CoreSystem.ServiceModelSystem.NetSystemSystem.IOSystem.LinqSystem.Xml

Build 2015 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.7/16/2016 8:48 AM15

Android 100% API CoverageText-to-speechActionBarPrinting FrameworkRenderscriptNFC

System.DataSystem.WindowsSystem.NumericsSystem.CoreSystem.ServiceModelSystem.NetSystemSystem.IOSystem.LinqSystem.Xml

Build 2015 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.7/16/2016 8:48 AM16

Native PerformanceXamarin.iOS does full Ahead Of Time (AOT) compilation to produce an ARM binary for Apples App Store.Xamarin.Android takes advantage of Just In Time (JIT) compilation on the Android device.

Anything you can do in Objective-C, Swift, or Javacan be done in C# and Visual Studio with Xamarin.

Coming up next is bubbles 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.7/16/201618

Always Up-to-DateFull support for:Apple WatchAndroid WearAmazon Fire TVGoogle Glassand much moreSame-day support:iOS 5iOS 6iOS 7iOS 7.1iOS 8iOS 9

Development Experience

Xamarin is includedin Visual StudioXamarin is included in Visual StudioIncluding Community Edition!

Xamarin.com/DownloadVisual Studio Integration

Android Designer

Create UI with drag & drop simplicity

Target multiple screen sizes, resolutions and Android versions

Layouts saved in standard Android XML files

Android Hyper-V Emulators for PCMulti-Touch EnabledSuper FastRotate, screenshots, location changes, and more!http://bit.ly/hyperv-android

Xamarin Designer for iOS

Follows familiar Visual Studio designer idioms

Supports all UIKit elements

Edit custom and 3rd party components

Live preview of changes to properties

Visual Studio iOS Simulator RemotingMulti-Touch EnabledPressure SensitiveSuper FastRotate, screenshots, location changesNever leave VS

*available as a preview

Xamarin Studio Mac

Xamarin Studio on Mac offers: Android, iOS and Mac developmentWorld Class IDE with great features:Code AnalysisUpload to Test FlightGit & Subversion IntegrationCode CompletionCode NavigationEasy transition from Visual StudioThe same Solution & Projects open in BOTH Xamarin Studio and Visual Studio!27

Open Source open.xamarin.com

Sharing Code

1 AssemblyMultiple Platforms

Including:Xamarin.iOS and Xamarin.AndroidPortable Class Libraries

NuGet

Shared Projects

Code SharingStatsMaciOSAndroidWindows PhoneCalcaiCircuitTouch Draw

Lets Build an App

Simplifying Development

Shared C# Backend

PlatformSpecific CodeWhat if we didnt have to write this code?

What if we could access it from shared code?

UI+APIsUI + APIsUI + APIsBatteryGPSLightsNotificationsSettingsText To SpeechBatteryGPSLightsNotificationsSettingsText To SpeechBatteryGPSLightsNotificationsSettingsText To Speech

TextToSpeechSpeak(Hello World);

AVSpeechSynthesizerSpeechSynthesizer

Plugins for Xamarin Common API

github.com/xamarin/plugins

10 Minute Break

DanArdeleanMicrosoft MVP Windows Platform DevXamarin Certified Mobile [email protected] http://sviluppomobile.blogspot.comTwitter @danardelean

2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.7/16/201640


Recommended