Cross Platform Mobile Development with C# and Xamarin

7,463 views

Published on

This is the presentation that Mr. An Nguyen and Mr. Tri Nguyen – Software Engineers of KMS Technology presented at “Cross Platform Mobile Development with C# and Xamarin” workshop on September 7th, 2013.

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

No Downloads
Views
Total views
7,463
On SlideShare
0
From Embeds
0
Number of Embeds
16
Actions
Shares
0
Downloads
155
Comments
0
Likes
9
Embeds 0
No embeds

No notes for slide

Cross Platform Mobile Development with C# and Xamarin

  1. 1. CROSS-PLATFORM MOBILE DEVELOPMENT WITH C# AND XAMARIN SDK KMS Technology Property 1
  2. 2. Nguyễn Lê Phú An Software Engineer, KMS Nguyễn Ngọc Trí Software Engineer, KMS KMS Technology Property 2 TODAY SPEAKERS anlpnguyen@kms-technology.com trinnguyen@kms-technology.com
  3. 3. AGENDA  Introducing Xamarin  Xamarin - Getting started  Other Worth Mentioning  More Q&A KMS Technology Property 3
  4. 4. INTRODUCING XAMARIN What is Xamarin? KMS Technology Property 4
  5. 5. XAMARIN HISTORY KMS Technology Property 5  Founded in May 2011  76 Employees  Already > 13.000 paying customers Nat Friedman CEO and co-founder @natfriedman Miguel de Icaza CTO and co-founder @migueldeicaza
  6. 6. XAMARIN PRODUCTS KMS Technology Property 6 SDKs IDE
  7. 7. Xamarin Compiler C# Wrapper BINDING TO NATIVE SDK KMS Technology Property 7
  8. 8. UI SAMPLE CODE KMS Technology Property 8 Xamarin Native
  9. 9. CODE SHARING KMS Technology Property 9 Device Access Layer Device Access Layer Device Access Layer
  10. 10. LIBRARY REUSING KMS Technology Property 10 Libraries
  11. 11. XAMARIN STUDIO KMS Technology Property 11  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 debug)
  12. 12. VISUAL STUDIO PLUGIN KMS Technology Property 12
  13. 13. GETTING STARTED Let’s practice! KMS Technology Property 13
  14. 14. FIRST STEP KMS Technology Property 14 SIMPLE PROJECT 1. Creating a iOS project 2. Working with Xcode IB 3. Creating a Android project 4. Working with Xamarin Designer
  15. 15. CODE SHARING KMS Technology Property 15 TASKY 1. Creating core project 2. Linking core project 3. Implementation
  16. 16. LIBRARY REUSE KMS Technology Property 16 1. Getting source code 2. Implement Objective C wrapper 3. Building static library 4. Implement C# wrapper 5. Calling PJSIP
  17. 17. LIBRARY REUSE KMS Technology Property 17 SHERLOCK ACTION BAR 1. Getting source code 2. Packing (JAR or ZIP) 3. Generating C# Wrapper 4. Calling
  18. 18. OTHER WORTH MENTIONING Highlights KMS Technology Property 18
  19. 19. KMS Technology Property 19 WHAT WE LOVE Cross-platform development in C# Native UI, Native Performance Reuse existing code Visual Studio or Xamarin Studio
  20. 20. KMS Technology Property 20 WHAT WE HATE Requires platform’s knowledge Expensive! Need Mac OS X machine for iOS development
  21. 21. CUSTOMER SERVICES KMS Technology Property 21
  22. 22. COMMUNITIES KMS Technology Property 22
  23. 23. XAMARIN VS COMPETITORS KMS Technology Property 23 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, Objective C, C, Java Pricing $300 platform/develope r/year Free Free $600 developer/year UI Capabilities Native UI (rich) Native UI (rich) Web UI Common native UI controls (acceptable) 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/Utility / Enterprise Apps Productivity and Utility Apps Basic/Simple Apps Game
  24. 24. CASE STUDY KMS Technology Property 24 SMART SHOOT Empower your smart phone’s camera with: Choose the best faces while shooting Tag and find people with their names
  25. 25. REFERENCES • http://docs.xamarin.com/ • http://xamarin.com/how-it-works • http://components.xamarin.com/ • http://stackoverflow.com/questions/tagged/mono droid+or+monotouch?sort=active • http://en.wikipedia.org/wiki/Xamarin • http://www.mono-project.com/Main_Page KMS Technology Property 25
  26. 26. © 2013 KMS Technology 26 THANK YOU

×