Dev Days 1 - Introducción a Xamarin
-
Upload
sergio-gasca-garcia -
Category
Documents
-
view
51 -
download
0
Transcript of Dev Days 1 - Introducción a Xamarin
PowerPoint Presentation
#XamarinDevDays
Introduccin a Xamarin Cross Platform con Xamarin.FormsApps conectadas con AzureComidaTallerAgenda
Slides, Demos, & Lab - Clona o Descarga:http://github.com/xamarin/dev-days-labs
#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
5
#XamarinDevDays
Microsoft.comSponsor
#XamarinDevDays
www.meetup.com/CrossdevelopmentSupporter
Sergio Gasca@SergioZgzDesarrollo nativo iOS & Android con Xamarin
Xamarin Solucin completa para el Desarrollo mvil
DesarrollarTestBuildDistribuirMonitorear
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
Arquitectura de Apps mviles
So we know what we want how do we get there? Lets talk about the state of mobile development.10
El enfoque SiloiOSWindowsAndroidObjective-CXcodeC#Visual StudioJavaAndroid StudioNo hay cdigo compartido Diferentes lenguajes & entornos de desarrollo Mltiples equipos
Multiple TeamsMultiple Code BasesExpensive & SlowPositive = Great apps delivered to users platformNegative = Development hampered by multiple code bases & fragmentation11
Escribe una vez, corre en todo
App Generator
LuaJavascriptActionscriptHTML+CSS
Acceso limitado a APIs Rendimiento inferior Experiencia de usuario pobre
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.11/25/201612
El enfoque de XamarinBase de cdigo C# compartido 100% de acceso a APIs nativas Alto rendimiento
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.11/25/2016 8:51 PM13
Windows APIsMicrosoft.PhoneMicrosoft.NetworkingWindows.StorageWindows.FoundationMicrosoft.Devices
System.DataSystem.WindowsSystem.NumericsSystem.CoreSystem.ServiceModelSystem.NetSystemSystem.IOSystem.LinqSystem.Xml
iOS 100% convergencia APIsMapKitUIKitiBeaconCoreGraphicsCoreMotion
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.11/25/2016 8:51 PM15
Android 100% convergencia APIsText-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.11/25/2016 8:51 PM16
Rendimiento nativoXamarin.iOS hace uso de la compilacin Ahead Of Time (AOT) para crear binario ARM binary para las Apple App Store.Xamarin.Android toma ventaja de la compilacin Just In Time (JIT) en dispositivos Android.
Cualquier cosa que puedas hacer con Objective-C, Swift, o Javase puede hacer con C# y Visual Studio con 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.11/25/201618
Siempre al daSoporte complete para:Apple WatchAndroid WearAmazon Fire TVGoogle GlassY msSoporte el mismo da :iOS 5iOS 6iOS 7iOS 7.1iOS 8iOS 9 10 -
Experiencia de Desarrollo
Xamarin is includedin Visual StudioXamarin se incluye conVisual StudioIncluso en la edicin Community!
Xamarin.com/DownloadIntegracin con Visual Studio
El diseador Android
Se puede crear la UI con drag & drop
Se puede probar en diferentes Tamaos de pantalla, resoluciones y versiones de Android
Layouts se guarda en archivos in Android XML estndard
Emuladores Android Hyper-V para PCSoporte Multi-TouchMuy rpidoRotar, screenshots, similar localizacin, y ms!http://bit.ly/hyperv-android
El diseador Xamarin para iOS
Compotamiento similar al de otros diseadores en Visual Studio
Suporte a todos los elementos UIKit
Se pueden editar components de 3rd
Live preview de los cambios en propiedades
Visual Studio iOS Simulator RemotingPermite gestos Multi-TouchSensible a presinMuy rpidoRotar, screenshots, cambios en localizacin No hay que dejar 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
Compartiendo cdigo
1 libreraMultiples Platformas
Incluidas:Xamarin.iOS y Xamarin.AndroidPortable Class Libraries
NuGet
Proyectos compartidos
Estadsticas de cdigo compartidoMaciOSAndroidWindows PhoneCalcaiCircuitTouch Draw
Vamos a crear una Apphttps://github.com/BraventIT/XamarinDevsDays
Simplificando el desarrollo
C# Backend Compartido
Cdigo especfico de plataformaQu ocurre si no necesitamos escribir este cdigo?
Y si podemos accede desde cdigo compartido?
UI+APIsUI + APIsUI + APIsBateraGPSLightsNotificationesSettingsText To SpeechBateraGPSLightsNotificationesSettingsText To SpeechBateraGPSLightsNotificationesSettingsText To Speech
TextToSpeechSpeak(Hello World);
AVSpeechSynthesizerSpeechSynthesizer
Plugins para Xamarin Common API
github.com/xamarin/plugins
10 Minutos de descanso
SergioGasca Garca
12monos.es@SergioZgz
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.11/25/201640