SlideShare a Scribd company logo
DEVELOPING CROSS PLATFORM APPS
USING XAMARIN
TECHCAMP 2014
RMIT, HCMC
MARCH 23
$ 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
DEVELOPING CROSS PLATFORM APPS USING XAMARIN
 Multiple platforms
 Performance
 Native UI & UX
AGENDA
 Introduction to Xamarin
 Getting started
 Other Worth Mentioning
 Things to take away
 Q&A
DEVELOPING CROSS PLATFORM APPS USING XAMARIN
INTRODUCTION TO XAMARIN
DEVELOPING CROSS PLATFORM APPS USING XAMARIN
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
BINDING TO NATIVE SDK
DEVELOPING CROSS PLATFORM APPS USING XAMARIN
SAMPLE CODE – ANDROID UI
DEVELOPING CROSS PLATFORM APPS USING XAMARIN
SAMPLE CODE – IOS UI
DEVELOPING CROSS PLATFORM APPS USING XAMARIN
CODE SHARING
DEVELOPING CROSS PLATFORM APPS USING XAMARIN
LIBRARY BINDING
DEVELOPING CROSS PLATFORM APPS USING XAMARIN
Libraries
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)
VISUAL STUDIO PLUGIN
DEVELOPING CROSS PLATFORM APPS USING XAMARIN
GETTING STARTED
DEVELOPING CROSS PLATFORM APPS USING XAMARIN
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
CODE SHARING
DEVELOPING CROSS PLATFORM APPS USING XAMARIN
TASKY
 Create core project
 Link core project
 Implement
LIBRARY REUSE
DEVELOPING CROSS PLATFORM APPS USING XAMARIN
ADSLIDING CONTROLLER
 Get source code
 Build static library
 Implement C# wrapper
 Reference
LIBRARY REUSE
DEVELOPING CROSS PLATFORM APPS USING XAMARIN
ACTION BAR SHERLOCK
 Get source code
 Packing (JAR or ZIP)
 Generate C# Wrapper
 Reference
OTHER WORTH MENTIONING
DEVELOPING CROSS PLATFORM APPS USING XAMARIN
CUSTOMER SERVICE
DEVELOPING CROSS PLATFORM APPS USING XAMARIN
COMMUNITIES
DEVELOPING CROSS PLATFORM APPS USING XAMARIN
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
WHAT WE HATE
DEVELOPING CROSS PLATFORM APPS USING XAMARIN
Requires platform’s knowledge
Expensive!
Need Mac OS X machine for iOS
development
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
THINGS TO TAKE AWAY
DEVELOPING CROSS PLATFORM APPS USING XAMARIN
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
QUESTIONS?
DEVELOPING CROSS PLATFORM APPS USING XAMARIN
anlpnguyen@kms-technology.com

More Related Content

PPTX
Xamarin Forms: O caminho para 100% de código compartilhado em aplicativos móveis
PPTX
Cross Platform Mobile Development with C# and Xamarin
PPTX
Xamarin Cross-Platform with Xamarin.Form, MvvmCross
PDF
Xamarin Traditional Approach & Xamarin.Forms
DOCX
Cordova vs xamarin vs titanium
PPTX
Native Mobile Apps, Xamarin, and PhoneGap
PPTX
State of the Platforms
PDF
Xamarin 4 - the future of apps
Xamarin Forms: O caminho para 100% de código compartilhado em aplicativos móveis
Cross Platform Mobile Development with C# and Xamarin
Xamarin Cross-Platform with Xamarin.Form, MvvmCross
Xamarin Traditional Approach & Xamarin.Forms
Cordova vs xamarin vs titanium
Native Mobile Apps, Xamarin, and PhoneGap
State of the Platforms
Xamarin 4 - the future of apps

What's hot (20)

PPTX
Say hello to Xamarin 3
PPTX
C# everywhere: Xamarin and cross platform development
PPT
Developing Cross-platform Native Apps with Xamarin
PPTX
Xamarin 3 hieu 19-06
PDF
Cross platform development
PPTX
20141216 멜팅팟 부산 세션 ii - cross platform 개발
PPTX
Xamarin.Forms (Northern VA Mobile C# Developers Group 8/13/14)
KEY
Cross Platform Development with Xamarin
PPTX
TDC2016SP - Cross-Platform Development with C#
PDF
Smaller Not Taller: Defeating the mobile application architecture giant
PPTX
Intro to Building Mobile Apps with Xamarin
PPTX
Hitchhicker's Guide to Using Xamarin Forms with RESTful Services
PDF
Native i os, android, and windows development in c# with xamarin 4
PPT
Cross platform mobile application development
PDF
Xamarin Platform
PPTX
Cross Platform Mobile Dev with C# and Xamarin 3 (RADNUG 8/19/14)
PDF
State of Union: Xamarin & Cross-Platform .NET in 2016 and Beyond
PDF
Cross Platform Development with Xamarin
PPTX
Getting Started with iOS & Android Development Using Xamarin & Visual Studio
PPTX
Xamarin Forms, MVVM and Testing
Say hello to Xamarin 3
C# everywhere: Xamarin and cross platform development
Developing Cross-platform Native Apps with Xamarin
Xamarin 3 hieu 19-06
Cross platform development
20141216 멜팅팟 부산 세션 ii - cross platform 개발
Xamarin.Forms (Northern VA Mobile C# Developers Group 8/13/14)
Cross Platform Development with Xamarin
TDC2016SP - Cross-Platform Development with C#
Smaller Not Taller: Defeating the mobile application architecture giant
Intro to Building Mobile Apps with Xamarin
Hitchhicker's Guide to Using Xamarin Forms with RESTful Services
Native i os, android, and windows development in c# with xamarin 4
Cross platform mobile application development
Xamarin Platform
Cross Platform Mobile Dev with C# and Xamarin 3 (RADNUG 8/19/14)
State of Union: Xamarin & Cross-Platform .NET in 2016 and Beyond
Cross Platform Development with Xamarin
Getting Started with iOS & Android Development Using Xamarin & Visual Studio
Xamarin Forms, MVVM and Testing
Ad

Similar to Techcamp xamarin 2014 (20)

DOCX
Reason why app development company choose xamarin for cross platform
PPTX
xamarin ppt m (1).pptx GENARAL SEMINAR TOPIC PPT
PPTX
Cross platform development with c# and xamarin
PPTX
X-Platform native apps in C# and .NET using Xamarin tools (iOS/WP/Android)
PPTX
Introduction to Xamarin - Confoo 2015
PPTX
Building Cross Platform Mobile Apps with Xamarin
PPTX
Introduction to Xamarin
PDF
Cross platform apps using Xamarin
PPTX
Cross platform app development with xamarin.forms
PDF
Introduction to Xamarin Philly Code Camp 2014
PDF
Mobile Cross-Platform App Development in C# with Xamarin
PPTX
Future of Mobile Development -Xamarin
PPTX
Introduction to xamarin
PDF
How Xamarin Is Revolutionizing Mobile Development
PPTX
Xamarin Platform
PPTX
Cross platform mobile development with xamarin and office 365
PDF
Building Mobile Cross-Platform Apps for iOS, Android & Windows in C# with Xam...
PPTX
Cross platform app dev with xamarin forms
PDF
Infinum Android Talks #09 - Xamarin platform
Reason why app development company choose xamarin for cross platform
xamarin ppt m (1).pptx GENARAL SEMINAR TOPIC PPT
Cross platform development with c# and xamarin
X-Platform native apps in C# and .NET using Xamarin tools (iOS/WP/Android)
Introduction to Xamarin - Confoo 2015
Building Cross Platform Mobile Apps with Xamarin
Introduction to Xamarin
Cross platform apps using Xamarin
Cross platform app development with xamarin.forms
Introduction to Xamarin Philly Code Camp 2014
Mobile Cross-Platform App Development in C# with Xamarin
Future of Mobile Development -Xamarin
Introduction to xamarin
How Xamarin Is Revolutionizing Mobile Development
Xamarin Platform
Cross platform mobile development with xamarin and office 365
Building Mobile Cross-Platform Apps for iOS, Android & Windows in C# with Xam...
Cross platform app dev with xamarin forms
Infinum Android Talks #09 - Xamarin platform
Ad

Techcamp xamarin 2014

  • 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
  • 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