Cross Platform Mobile
Development with .NET
Javier Cantón Ferrero
MVP DirectX / Visual C#
jcanton@plainconcepts.com
Why is it so important?
Mobile Market
Mobile Multiplatform
• Android
• iOS
• Windows Phone
• Symbian
• RIM
• FirefoxOS
• UbuntuOS
What are the known options?
Spoiler Alert
Write mobile apps and have them
work on all platforms
It’s a myth!!
Look and Feel
!= !=
• Implementation Open Source .NET
• For non-Microsoft platforms
• Version 3.0
• Support for C# 5.0 (async, await)
• Moonli...
• Mono
• July 2001, Miguel de Icaza
• July 2003, Ximian bought by Novell
• MonoTouch
• September 2009
• MonoDroid
• April ...
Architecture overview, Xamarin.iOS, Xamarin.Android
Xamarin
Xamarin
UI
C#
Runtime
Platform
XAML
Business Logic
.NET
Windows
Phone
iOS
Mono
Android
Xamarin.iOS
Xamarin.
Android
Xamarin.iOS
.NET development on iPhone and iPad
• What is it?
• C# on iOS (iPhone, iPad)
• What is it not?
• Silverlight for iOS
• Compact Framework for iOS
• Develop app...
Working with Xamarin.iOS
Working with Xamarin.iOS
Working with Xamarin.iOS
• Issue
• Apple disabled Just-in-Time compilation
• Solution
• Native compilation (AOT)
• Similar to Ngen
How is it possib...
Xamarin.Android
.NET development on Android Phone and Android Tablet
• You don’t need a Mac
• Good Support for Visual Studio
• Free Xamarin Studio for Windows or Mac
• JIT (Just in Time compi...
Xamarin.Android Architecture
Xamarin.Android UI
Licenses
– Xamarin Mobile World Congress App
– http://blog.xamarin.com/2012/02/24/mwc_2012/
ShowCase
Results
• iPhone + iPad (2,476 LOC / 2 apps) 57%
• Android (1095 LOC) 60%
• WP7 (896 LOC) 65%
ShowCase
• Radio service via internet
• 50000 channels
• Updates at the same time
Radio
• Advanced circuit simulator
• C# productivity
• 70% - 87% shared
iCircuit
• Diagram drawing
• 3 weeks = 1 week
• Bug Fixing
TouchDraw
Own experience
Sage Murano, Contaplus, Despachos
12 apps (Phone and Tablet)
Universal Apps (Android and iOS)
Git Project i...
Android environment
iOS Environment
Xamarin Mobile, Xamarin Components,TestCloud
More interesting things
Xamarin Mobile
Xamarin Components
TestCloud
Thank you!
Javier Cantón Ferrero
MVP DirectX / Visual C#
jcanton@plainconcepts.com
Xamarin Tecnhologies
Xamarin Tecnhologies
Upcoming SlideShare
Loading in …5
×

Xamarin Tecnhologies

962 views

Published on

Introduction to Xamarin.iOS and Xamarin.Android.

Published in: Technology
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
962
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
0
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide

Xamarin Tecnhologies

  1. 1. Cross Platform Mobile Development with .NET Javier Cantón Ferrero MVP DirectX / Visual C# jcanton@plainconcepts.com
  2. 2. Why is it so important? Mobile Market
  3. 3. Mobile Multiplatform • Android • iOS • Windows Phone • Symbian • RIM • FirefoxOS • UbuntuOS
  4. 4. What are the known options?
  5. 5. Spoiler Alert Write mobile apps and have them work on all platforms It’s a myth!!
  6. 6. Look and Feel != !=
  7. 7. • Implementation Open Source .NET • For non-Microsoft platforms • Version 3.0 • Support for C# 5.0 (async, await) • Moonlight • MonoDevelop Project Mono
  8. 8. • Mono • July 2001, Miguel de Icaza • July 2003, Ximian bought by Novell • MonoTouch • September 2009 • MonoDroid • April 2011 • Xamarin • Novell -> Xamarin (May 2011) Project Mono
  9. 9. Architecture overview, Xamarin.iOS, Xamarin.Android Xamarin
  10. 10. Xamarin UI C# Runtime Platform XAML Business Logic .NET Windows Phone iOS Mono Android Xamarin.iOS Xamarin. Android
  11. 11. Xamarin.iOS .NET development on iPhone and iPad
  12. 12. • What is it? • C# on iOS (iPhone, iPad) • What is it not? • Silverlight for iOS • Compact Framework for iOS • Develop apps for iOS without a Mac Xamarin.iOS
  13. 13. Working with Xamarin.iOS
  14. 14. Working with Xamarin.iOS
  15. 15. Working with Xamarin.iOS
  16. 16. • Issue • Apple disabled Just-in-Time compilation • Solution • Native compilation (AOT) • Similar to Ngen How is it possible?
  17. 17. Xamarin.Android .NET development on Android Phone and Android Tablet
  18. 18. • You don’t need a Mac • Good Support for Visual Studio • Free Xamarin Studio for Windows or Mac • JIT (Just in Time compilation) • Supports all .NET languages • Shared Runtime for Development • APK includes Mono + Linked Assemblies Xamarin.Android
  19. 19. Xamarin.Android Architecture
  20. 20. Xamarin.Android UI
  21. 21. Licenses
  22. 22. – Xamarin Mobile World Congress App – http://blog.xamarin.com/2012/02/24/mwc_2012/ ShowCase
  23. 23. Results • iPhone + iPad (2,476 LOC / 2 apps) 57% • Android (1095 LOC) 60% • WP7 (896 LOC) 65% ShowCase
  24. 24. • Radio service via internet • 50000 channels • Updates at the same time Radio
  25. 25. • Advanced circuit simulator • C# productivity • 70% - 87% shared iCircuit
  26. 26. • Diagram drawing • 3 weeks = 1 week • Bug Fixing TouchDraw
  27. 27. Own experience Sage Murano, Contaplus, Despachos 12 apps (Phone and Tablet) Universal Apps (Android and iOS) Git Project in Visual Studio 2013 Emulators on each plataform MVVMCross to navigation 50 – 60% reuse
  28. 28. Android environment
  29. 29. iOS Environment
  30. 30. Xamarin Mobile, Xamarin Components,TestCloud More interesting things
  31. 31. Xamarin Mobile
  32. 32. Xamarin Components
  33. 33. TestCloud
  34. 34. Thank you! Javier Cantón Ferrero MVP DirectX / Visual C# jcanton@plainconcepts.com

×