Your SlideShare is downloading. ×
Techcamp xamarin 2014
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Techcamp xamarin 2014

289
views

Published on


0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
289
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
17
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. DEVELOPING CROSS PLATFORM APPS USING XAMARIN TECHCAMP 2014 RMIT, HCMC MARCH 23
  • 2. $ WHOAMI Nguyễn Lê Phú An Senior Software Engineer R&D, KMS Technology anlpnguyen@kms-technology.com DEVELOPING CROSS PLATFORM APPS USING XAMARIN An Nguyen
  • 3. DEVELOPING CROSS PLATFORM APPS USING XAMARIN  Multiple platforms  Performance  Native UI & UX
  • 4. AGENDA  Introduction to Xamarin  Getting started  Other Worth Mentioning  Things to take away  Q&A DEVELOPING CROSS PLATFORM APPS USING XAMARIN
  • 5. INTRODUCTION TO XAMARIN DEVELOPING CROSS PLATFORM APPS USING XAMARIN
  • 6. INTRODUCTION TO XAMARIN DEVELOPING CROSS PLATFORM APPS USING XAMARIN  Founded in May 2011  From 2 Microsoft guys:  Nat Friedman: CEO  Miguel de Icaza: CTO  Based on Mono Framework
  • 7. BINDING TO NATIVE SDK DEVELOPING CROSS PLATFORM APPS USING XAMARIN
  • 8. SAMPLE CODE – ANDROID UI DEVELOPING CROSS PLATFORM APPS USING XAMARIN
  • 9. SAMPLE CODE – IOS UI DEVELOPING CROSS PLATFORM APPS USING XAMARIN
  • 10. CODE SHARING DEVELOPING CROSS PLATFORM APPS USING XAMARIN
  • 11. LIBRARY BINDING DEVELOPING CROSS PLATFORM APPS USING XAMARIN Libraries
  • 12. XAMARIN STUDIO DEVELOPING CROSS PLATFORM APPS USING XAMARIN  Common IDE features (auto completion, source control…)  Design UI: o Android: Xamarin Designer o iOS: Xcode integration  Debugging and Building Tools (support simulator and device)
  • 13. VISUAL STUDIO PLUGIN DEVELOPING CROSS PLATFORM APPS USING XAMARIN
  • 14. GETTING STARTED DEVELOPING CROSS PLATFORM APPS USING XAMARIN
  • 15. FIRST STEP DEVELOPING CROSS PLATFORM APPS USING XAMARIN  Create a iOS project  Play with Xcode IB  Create a Android project  Play with Xamarin Designer SIMPLE PROJECT
  • 16. CODE SHARING DEVELOPING CROSS PLATFORM APPS USING XAMARIN TASKY  Create core project  Link core project  Implement
  • 17. LIBRARY REUSE DEVELOPING CROSS PLATFORM APPS USING XAMARIN ADSLIDING CONTROLLER  Get source code  Build static library  Implement C# wrapper  Reference
  • 18. LIBRARY REUSE DEVELOPING CROSS PLATFORM APPS USING XAMARIN ACTION BAR SHERLOCK  Get source code  Packing (JAR or ZIP)  Generate C# Wrapper  Reference
  • 19. OTHER WORTH MENTIONING DEVELOPING CROSS PLATFORM APPS USING XAMARIN
  • 20. CUSTOMER SERVICE DEVELOPING CROSS PLATFORM APPS USING XAMARIN
  • 21. COMMUNITIES DEVELOPING CROSS PLATFORM APPS USING XAMARIN
  • 22. WHAT WE LOVE DEVELOPING CROSS PLATFORM APPS USING XAMARIN Cross-platform development in C# Native UI, Native Performance Reuse native libraries Visual Studio or Xamarin Studio
  • 23. WHAT WE HATE DEVELOPING CROSS PLATFORM APPS USING XAMARIN Requires platform’s knowledge Expensive! Need Mac OS X machine for iOS development
  • 24. COMPETITORS DEVELOPING CROSS PLATFORM APPS USING XAMARIN Xamarin Titanium PhoneGap Corona Platforms iOS, Android, Windows Phone 7 & 8 iOS, Android, Blackberry iOS, Android, Windows Phone, Blackberry… iOS, Android Language C# Javascript HTML, CSS, Javascript… Lua Pricing Free (limited) $299/year Per platform, per developer Free Free Free (limited) $192/year Per developer UI Capabilities Native UI Native UI Web UI Common native UI controls Access of device API Full Access Full Access Limited Almost Full Access Performance Nearest Native Nearly Native Device’s Web View performance Nearly Native OpenGL Application Types Productivity and Utility Apps Productivity and Utility Apps Basic/Simple Apps Game
  • 25. THINGS TO TAKE AWAY DEVELOPING CROSS PLATFORM APPS USING XAMARIN
  • 26. DEVELOPING CROSS PLATFORM APPS USING XAMARIN  C#  Native Performance  Separating native UI  Sharing the logic code  Reuse native libraries (not a piece of cake)  Require knowledge for each platform  Require a Mac machine (not be considered by everyone)  Free with limited feature
  • 27. QUESTIONS? DEVELOPING CROSS PLATFORM APPS USING XAMARIN anlpnguyen@kms-technology.com