340 likes | 361 Views
iOS & Android Development for the C# Developer with Xamarin. James Montemagno @ JamesMontemagno. Who’s this guy?. james@xamarin.com. motzcod.es. @ JamesMontemagno. James Montemagno Developer Evangelist, Xamarin. Xamarin – Your Complete Mobile Solution. What is Native?. What is native?.
E N D
iOS & Android Development for the C# Developer with Xamarin James Montemagno @JamesMontemagno
Who’s this guy? james@xamarin.com motzcod.es @JamesMontemagno James Montemagno Developer Evangelist, Xamarin
What is Native? What is native?
Architecting Mobile Apps Architecting Mobile Apps
Silo Approach iOS Android Windows Objective-C Xcode C# Visual Studio Java Android Studio No shared code • Many languages & development environments • Multiple teams
Write Once, Run Anywhere App Generator Lua Javascript Actionscript HTML+CSS Limited native API access • Slow performance • Poor user experience
Xamarin’s Unique Approach iOS C# UI Android C# UI Windows C# UI Shared C# Logic Shared C# codebase • 100% native API access • High performance
Windows APIs Microsoft.Phone Windows.Storage Windows.Foundation Microsoft.Devices Microsoft.Networking System.Data System.Windows System.Numerics System.Core System.ServiceModel System.Net System System.IO System.Linq System.Xml
iOS – 100% API Coverage MapKit UIKit iBeacon CoreGraphics CoreMotion System.Net System System.IO System.Linq System.Xml System.Data System.Windows System.Numerics System.Core System.ServiceModel
Android – 100% API Coverage Text-to-speech ActionBar Printing Framework Renderscript NFC System.Net System System.IO System.Linq System.Xml System.Data System.Windows System.Numerics System.Core System.ServiceModel
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. Native Performance
✓Always Up-to-Date Same-day support: • iOS 5 • iOS 6 • iOS 7 • iOS 8 • iOS 9 Full support for: • Apple Watch • Apple TV • Android Wear • Amazon Fire TV • and much more
Visual Studio Xamarin Studio
Anything you can do in Objective-C, Swift, or Javacan be done in C# and Visual Studio with Xamarin.
Xamarin is included in Visual Studio Xamarin is included in Visual Studio Including Community Edition!
Visual Studio Integration Xamarin.com/Download
Visual Studio iOS Simulator Remoting • Multi-Touch Enabled • Pressure Sensitive • Super Fast • Rotate, screenshots, location changes • Never leave VS *available as a preview
Sharing Code Sharing Code
Portable Class Libraries 1 Assembly Multiple Platforms Including: Xamarin.iOSandXamarin.Android
Touch Draw iCircuit Code SharingStats Android iOS Mac Windows
App Building Time Let’s build an app
What about this stuff? Shared C# Logic
Platform Specific Code UI + APIs UI+APIs UI + 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 What if we didn’t have to write this code? What if we could access it from shared code?
A Better API Speak(“Hello World”); TextToSpeech SpeechSynthesizer AVSpeechSynthesizer
Plugins for Xamarin Xamarin.com/plugins Common API
Plugin Time! Plugin time!
Get Started Today Xamarin.com
Thank You! james@xamarin.com motzcod.es @JamesMontemagno James Montemagno Developer Evangelist, Xamarin