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.
Introduction to Cross Platform Mobile 
Development in C# with Xamarin! 
@JamesMontemagno! 
!
Who is this guy?! 
James Montemagno! 
Developer Evangelist, Xamarin! 
@JamesMontemagno ! 
! 
motzcod.es! 
MyStepCounterApp...
The best language for Windows development. 
Modern Features • Advanced Tools • Proven Libraries • Large Community • Static...
Windows Developer in Phoenix
I had an opportunity.
+ 
Xamarin makes C# the best language for mobile development. 
Native Code Generation • Platform API Bindings • Code Shari...
What is native?!
The Anatomy of a Native App! 
Native User Interfaces! Native API Access! Native Performance!
Architecting ! 
Mobile Apps!
The Silo Approach! 
Build App ! 
Multiple Times!
The Write-Once-Run-Anywhere Approach! 
Lowest Common! 
Denominator!
Xamarin’s Unique Approach! 
Native With ! 
Code Sharing!
How Xamarin! 
Works!
Windows APIs!
iOS APIs | 100% Coverage!
Android APIs | 100% Coverage!
Anything you can do in Objective-C, Swift, or Java ! 
can be done in C# with Xamarin using Visual Studio!
Native Performance 
Xamarin.iOS does full Ahead Of Time 
(﴾AOT)﴿ compilation to produce an 
ARM binary for Apple’s App Sto...
Always Up to Date 
Same day support for 
iOS 5, iOS 6, iOS 6.1, 
iOS 7, iOS 7.1, iOS 8!
Emerging Technologies & Devices 
Android Wear Google Glass Amazon Fire Phone Amazon Fire TV!
Where to start!
Development Environment 
Xamarin Studio 
PC or Mac 
Visual Studio Plugin 
VS 2010/2012/2013
Android 
Develop on:! 
• Mac or PC! 
• Xamarin Studio or Visual Studio! 
Run on:! 
• Google Emulators! 
• Xamarin Android ...
Develop on:! 
• Mac in Xamarin Studio! 
• or! 
• PC in Visual Studio (connected to Mac “Build 
Host”)! 
Run on:! 
• iOS Si...
Live Coding 
Adventure 1!
Let’s talk about ! 
code sharing…!
Code Sharing: Accelerate Development 
Android 
iOS 
Mac 
WP
File Linking
Shared Code Projects
Portable Class Libraries 
• 1 Assembly 
• Multiple Platforms 
• Including: 
• Xamarin.Android 
• Xamarin.iOS
Portable Class Libraries Features 
• Centralized Code Sharing 
• How you expect it to work 
• Debug seamlessly into and 
o...
Live Coding 
Adventure 2!
Share More 
Code!
Xamarin + Xamarin.Forms! 
With Xamarin.Forms: ! 
more code-sharing, native controls! 
Traditional Xamarin approach! 
Share...
More Xamarin in Phoenix!! 
Arizona – Xamarin! 
Monthly Mobile .NET User Group! 
meetup.com/azxplatform! 
Game Jam at UAT i...
xamarin.com/university! 
Unrivaled Mobile Development Training! 
Live unlimited mobile development training from mobile ex...
Find Me:! 
@JamesMontemagno | motzcod.es! 
@XamarinHQ | blog.xamarin.com! 
Q & A! 
! 
Get your free C# t-shirt:! 
xamarin....
Desert code camp 2014, iOS and Android development for c# developers with Xamarin
Upcoming SlideShare
Loading in …5
×

Desert code camp 2014, iOS and Android development for c# developers with Xamarin

1,069 views

Published on

As the mobile landscape continues to expand and evolve managing multiple code bases in different programming languages and development tools can become a nightmare fast. In this session learn how to leverage the awesome features of C# and combine them with Xamarin technology to create beautiful native cross platform mobile apps from a shared C# code base with the tools that you love.

Published in: Engineering
  • Be the first to comment

Desert code camp 2014, iOS and Android development for c# developers with Xamarin

  1. 1. Introduction to Cross Platform Mobile Development in C# with Xamarin! @JamesMontemagno! !
  2. 2. Who is this guy?! James Montemagno! Developer Evangelist, Xamarin! @JamesMontemagno ! ! motzcod.es! MyStepCounterApp.com!
  3. 3. The best language for Windows development. Modern Features • Advanced Tools • Proven Libraries • Large Community • Statically Typed
  4. 4. Windows Developer in Phoenix
  5. 5. I had an opportunity.
  6. 6. + Xamarin makes C# the best language for mobile development. Native Code Generation • Platform API Bindings • Code Sharing • Visual Studio
  7. 7. What is native?!
  8. 8. The Anatomy of a Native App! Native User Interfaces! Native API Access! Native Performance!
  9. 9. Architecting ! Mobile Apps!
  10. 10. The Silo Approach! Build App ! Multiple Times!
  11. 11. The Write-Once-Run-Anywhere Approach! Lowest Common! Denominator!
  12. 12. Xamarin’s Unique Approach! Native With ! Code Sharing!
  13. 13. How Xamarin! Works!
  14. 14. Windows APIs!
  15. 15. iOS APIs | 100% Coverage!
  16. 16. Android APIs | 100% Coverage!
  17. 17. Anything you can do in Objective-C, Swift, or Java ! can be done in C# with Xamarin using Visual Studio!
  18. 18. Native Performance 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.
  19. 19. Always Up to Date Same day support for iOS 5, iOS 6, iOS 6.1, iOS 7, iOS 7.1, iOS 8!
  20. 20. Emerging Technologies & Devices Android Wear Google Glass Amazon Fire Phone Amazon Fire TV!
  21. 21. Where to start!
  22. 22. Development Environment Xamarin Studio PC or Mac Visual Studio Plugin VS 2010/2012/2013
  23. 23. Android Develop on:! • Mac or PC! • Xamarin Studio or Visual Studio! Run on:! • Google Emulators! • Xamarin Android Player! • Physical Device!
  24. 24. Develop on:! • Mac in Xamarin Studio! • or! • PC in Visual Studio (connected to Mac “Build Host”)! Run on:! • iOS Simulators on Mac! • iOS Device plugged into a Mac!
  25. 25. Live Coding Adventure 1!
  26. 26. Let’s talk about ! code sharing…!
  27. 27. Code Sharing: Accelerate Development Android iOS Mac WP
  28. 28. File Linking
  29. 29. Shared Code Projects
  30. 30. Portable Class Libraries • 1 Assembly • Multiple Platforms • Including: • Xamarin.Android • Xamarin.iOS
  31. 31. Portable Class Libraries Features • Centralized Code Sharing • How you expect it to work • Debug seamlessly into and out of PCL • Project/Assembly Sharing • NuGet
  32. 32. Live Coding Adventure 2!
  33. 33. Share More Code!
  34. 34. Xamarin + Xamarin.Forms! With Xamarin.Forms: ! more code-sharing, native controls! Traditional Xamarin approach! Shared UI Code!
  35. 35. More Xamarin in Phoenix!! Arizona – Xamarin! Monthly Mobile .NET User Group! meetup.com/azxplatform! Game Jam at UAT in Tempe! Nov. 7th – 9th ! 48 hours of game development! Follow me on Twitter for details! @JamesMontemagno! !
  36. 36. xamarin.com/university! Unrivaled Mobile Development Training! Live unlimited mobile development training from mobile experts, ! in your time-zone, on your schedule and as often as you'd like.!
  37. 37. Find Me:! @JamesMontemagno | motzcod.es! @XamarinHQ | blog.xamarin.com! Q & A! ! Get your free C# t-shirt:! xamarin.com/shirt!

×