Share
Embed
Introduction to Xamarin
Prashant Cholachagudda
June 24, 2013
Transcript
27 slides
-
1 Introducing Xamarin 2.0 Cross platform development with
Xamarin Prashant Cholachagudda email address deleted @prshntvc -
2 It all started with Mono • Open
source implementa?on of .NET/CLI by Ximian • 2001: Created to bring Windows applica?ons to Linux. • 2003: Acquired by Novell with Ximian • Matured at Novell in research mode; now a world class run?me. hOp://en.wikipedia.org/wiki/Mono_%28soTware%29 -
3 What is Xamarin? • C# and .NET
for Android, iOS and Mac • Full na?ve APIs – no compromise • Share code across Android, iOS, Mac, Windows Phone, Windows RT, Windows • Only pla]orm that allows sharing code across these pla]orms while keeping na?ve performance and UX • Business can leverage exis?ng C# skills, tools, teams and code. • Focused on mobile development -
4 Cross-‐pla)orm field service app for iOS, Android
and Windows 8 Na?ve UI -
6 Xamarin.iOS • Xamarin Studio on Mac &
Visual Studio on PC • monotouch.dll • Full sta?c AOT compiler • Support for all your exis?ng code, Generics LINQ, anonymous methods, Lambda’s • Objec?ve-‐C na?ve libraries through binding -
7 Xamarin.Android • Xamarin Studio on Mac &
Visual Studio on PC • monoandroid.dll • Allow JIT for Android • Supports all your exis?ng code • Android na?ve libraries through binding. -
8 Code sharing Na?ve UI APIs
C# Run?me OS WPF WinForms … Business Logic & Middleware (engine, core and 3rd party libraries) .NET Windows, WP 7/8 Xamarin.iOS Mono iOS Xamarin.Mac Mac OSX Xamarin.And orid Android -
9 Cross pla]orm frameworks • MVVMCross
– Cross-‐Pla]orm Mvvm Pla]orm for MonoTouch, MonoDroid, WP7 and WinRT. – hOps://github.com/slodge/MvvmCross • MVVMLight: -
10 What’s New in 2.0? • Xamarin Studio
– The best IDE for mobile development • iOS for Visual Studio – Develop iOS apps from VS on Windows • Component Store – Drop-‐in components to build apps faster -
11 What’s New in 2.0? • New Pricing
– An edi?on for every developer • New Names – Xamarin.iOS, Xamarin.Android, Xamarin.Mac • Developer Center – Massively revamped documenta?on website – World class tutorials and guides -
13 Xamarin Studio • Streamlined development
experience • Responsive, beau?ful user interface • Unified global search -
14 Xamarin Studio • Fast, smooth C# code
naviga?on, comple?on and refactoring • Git and subversion integra?on • Powerful debugger • Available on Windows and Mac -
16 iOS for Visual Studio • Write, build,
deploy and debug iOS apps from Visual Studio • Take advantage of exis?ng skills and extensions, for example TFS and ReSharper • Develop for iOS, Android, Windows Phone from a single solu?on -
17 iOS for Visual Studio • Connects to
Mac over network • Seamlessly transfers compiled C# to Mac for na?ve build, sign • Launch and debug on simulator or device -
19 Component Store • Paid and free
components • Add Components to your app directly from within XS or VS • Submit your own! -
20 Xamarin Test Cloud
Automa?cally test your app on hundreds of mobile devices. -
23 Xamarin Edi?ons • Free Starter Edi?on
– 32kb of user IL, cannot link na?ve code • Indie Edi?on – Unrestricted size and na?ve linking • Business Edi?on – Visual Studio, WCF, email support • Enterprise – App kickoff, priority support, free components • Trial – 30 day trial of Business Edi?on -
25 What’s coming? • F# Support
– Create iOS and Android apps with your favorite func?onal language • Portable Class Libraries – Build libraries that can be used from mul?ple frameworks, e.g. .NET 4, Xamarin.iOS, WP7 • Mono 3.0 run?me – C# 5 with async support – Upgraded GC and class libraries • Built-‐in iOS designer for Xamarin Studio and Visual Studio • And more! -
27 Get started • Downloads – hOp://www.xamarin.com/download
• Developer Center – hOp://docs.xamarin.com • Forums – hOp://forums.xamarin.com • Evolve Conf. Videos – hOp://xamarin.com/evolve/2013 • Seminars: – hOp://xamarin.com/seminars