Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Dev days 1 Introduction to Xamarin Taswar Bhatti

1,576 views

Published on

Introduction to Xamarin using Visual Studio 2017, at Ottawa IT User Group Xamarin Dev Days 2017.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Dev days 1 Introduction to Xamarin Taswar Bhatti

  1. 1. Slides, Demos, & Lab - Clone or Download: http://github.com/xamarin/dev-days-labs
  2. 2. iOS WindowsAndroid Objective-C Xcode C# Visual Studio Java Android Studio No shared code • Many languages & development environments • Multiple teams
  3. 3. App Generator Lua Javascript Actionscript HTML+CSS Limited native API access • Slow performance • Poor user experience
  4. 4. Shared C# codebase • 100% native API access • High performance iOS C# UI Windows C# UIAndroid C# UI Shared C# Mobile
  5. 5. 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 C#
  6. 6. MapKit UIKit iBeacon CoreGraphics CoreMotion System.Data System.Windows System.Numerics System.Core System.ServiceModel System.Net System System.IO System.Linq System.Xml C#
  7. 7. 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 C#
  8. 8. Building User Interfaces
  9. 9. 3 Native User Interfaces Shared App Logic iOS C# Windows C#Android C# Shared C# Logic
  10. 10. Shared User Interface Shared App Logic Shared C# Logic Shared UI Code
  11. 11. CocosSharp UrhoSharp
  12. 12. 86% 14% 72% 28% 70% 30% 61% 39% 88% 12% 76% 24% 90% 10%
  13. 13. 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.
  14. 14. ✓Always Up-to-Date • • • • • • • • • • •
  15. 15. Xamarin is included in Visual Studio
  16. 16. Xamarin.com/Download
  17. 17. Visual Studio for Mac (Preview) iOS, Android, & macOS .NET development .NET Core & ASP.NET Core Tools for Azure
  18. 18. • Multi-Touch Enabled • Pressure Sensitive • Super Fast • Rotate, screenshots, location changes • Never leave VS
  19. 19. Shared C# Backend
  20. 20. What if we didn’t have to write this code? What if we could access it from shared code? UI+APIs UI + APIsUI + APIs Battery GPS Lights Notifications Settings Text To Speech Battery GPS Lights Notifications Settings Text To Speech Battery GPS Lights Notifications Settings Text To Speech
  21. 21. TextToSpeech Speak(“Hello World”); AVSpeechSynthesizer SpeechSynthesizer
  22. 22. Common API
  23. 23. A/B Testing Live Update Storage Push Notifications Crash Reporting Remote Config. Identity Tables
  24. 24. A/B Testing Live Update Storage Push Notifications Crash Reporting Remote Config. Identity Tables Visual Studio Mobile Center mobile.azure.com
  25. 25. 15 Minute Break Presenter First Name Presenter Last Name Presenter Title Presenter e-mail blogs Twitter

×