Cross platform mobile development with visual studio and xamarin
Cross Platform Mobile Development with C# and Xamarin
-
Upload
kms-technology -
Category
Technology
-
view
5.393 -
download
0
description
Transcript of Cross Platform Mobile Development with C# and Xamarin
![Page 1: Cross Platform Mobile Development with C# and Xamarin](https://reader036.fdocuments.in/reader036/viewer/2022081504/554f5ae0b4c905524c8b54aa/html5/thumbnails/1.jpg)
KMS Technology Property 1
CROSS-PLATFORM MOBILE DEVELOPMENT WITH
C# AND XAMARIN SDK
![Page 2: Cross Platform Mobile Development with C# and Xamarin](https://reader036.fdocuments.in/reader036/viewer/2022081504/554f5ae0b4c905524c8b54aa/html5/thumbnails/2.jpg)
KMS Technology Property 2
Nguyễn Lê Phú An
Software Engineer, KMSNguyễn Ngọc Trí
Software Engineer, KMS
TODAY SPEAKERS
![Page 3: Cross Platform Mobile Development with C# and Xamarin](https://reader036.fdocuments.in/reader036/viewer/2022081504/554f5ae0b4c905524c8b54aa/html5/thumbnails/3.jpg)
KMS Technology Property 3
AGENDA
Introducing Xamarin Xamarin - Getting started Other Worth Mentioning More Q&A
![Page 4: Cross Platform Mobile Development with C# and Xamarin](https://reader036.fdocuments.in/reader036/viewer/2022081504/554f5ae0b4c905524c8b54aa/html5/thumbnails/4.jpg)
KMS Technology Property 4
INTRODUCING XAMARINWhat is Xamarin?
![Page 5: Cross Platform Mobile Development with C# and Xamarin](https://reader036.fdocuments.in/reader036/viewer/2022081504/554f5ae0b4c905524c8b54aa/html5/thumbnails/5.jpg)
KMS Technology Property 5
XAMARIN HISTORY
Founded in May 2011 76 Employees Already > 13.000 paying customers
Nat FriedmanCEO and co-founder@natfriedman
Miguel de IcazaCTO and co-founder@migueldeicaza
![Page 6: Cross Platform Mobile Development with C# and Xamarin](https://reader036.fdocuments.in/reader036/viewer/2022081504/554f5ae0b4c905524c8b54aa/html5/thumbnails/6.jpg)
KMS Technology Property 6
XAMARIN PRODUCTS
SDKs IDE
![Page 7: Cross Platform Mobile Development with C# and Xamarin](https://reader036.fdocuments.in/reader036/viewer/2022081504/554f5ae0b4c905524c8b54aa/html5/thumbnails/7.jpg)
KMS Technology Property 7
Xamarin Compiler
C# Wrapper
BINDING TO NATIVE SDK
C# Wrapper
Native SDK API
UI
![Page 8: Cross Platform Mobile Development with C# and Xamarin](https://reader036.fdocuments.in/reader036/viewer/2022081504/554f5ae0b4c905524c8b54aa/html5/thumbnails/8.jpg)
KMS Technology Property 8
UI SAMPLE CODE
Xamarin Native
![Page 9: Cross Platform Mobile Development with C# and Xamarin](https://reader036.fdocuments.in/reader036/viewer/2022081504/554f5ae0b4c905524c8b54aa/html5/thumbnails/9.jpg)
KMS Technology Property 9
CODE SHARING
Device Access Layer
Device Access Layer
Device Access Layer
![Page 10: Cross Platform Mobile Development with C# and Xamarin](https://reader036.fdocuments.in/reader036/viewer/2022081504/554f5ae0b4c905524c8b54aa/html5/thumbnails/10.jpg)
KMS Technology Property 10
LIBRARY REUSING
Xamarin App
Mono Framework
P/InvokeCxxi
Libraries
Implemented C# Wrapper
![Page 11: Cross Platform Mobile Development with C# and Xamarin](https://reader036.fdocuments.in/reader036/viewer/2022081504/554f5ae0b4c905524c8b54aa/html5/thumbnails/11.jpg)
XAMARIN STUDIO
KMS Technology Property 11
Common IDE features (auto completion, source control…)
Design UI:o Android: Xamarin Designero iOS: Xcode integration
Debugging and Building Tools (support simulator and device debug)
![Page 12: Cross Platform Mobile Development with C# and Xamarin](https://reader036.fdocuments.in/reader036/viewer/2022081504/554f5ae0b4c905524c8b54aa/html5/thumbnails/12.jpg)
VISUAL STUDIO PLUGIN
KMS Technology Property 12
![Page 13: Cross Platform Mobile Development with C# and Xamarin](https://reader036.fdocuments.in/reader036/viewer/2022081504/554f5ae0b4c905524c8b54aa/html5/thumbnails/13.jpg)
KMS Technology Property 13
GETTING STARTEDLet’s practice!
![Page 14: Cross Platform Mobile Development with C# and Xamarin](https://reader036.fdocuments.in/reader036/viewer/2022081504/554f5ae0b4c905524c8b54aa/html5/thumbnails/14.jpg)
KMS Technology Property 14
FIRST STEP
SIMPLE PROJECT
1. Creating a iOS project2. Working with Xcode IB3. Creating a Android project4. Working with Xamarin Designer
![Page 15: Cross Platform Mobile Development with C# and Xamarin](https://reader036.fdocuments.in/reader036/viewer/2022081504/554f5ae0b4c905524c8b54aa/html5/thumbnails/15.jpg)
KMS Technology Property 15
CODE SHARING
TASKY
1. Creating core project2. Linking core project3. Implementation
![Page 16: Cross Platform Mobile Development with C# and Xamarin](https://reader036.fdocuments.in/reader036/viewer/2022081504/554f5ae0b4c905524c8b54aa/html5/thumbnails/16.jpg)
KMS Technology Property 16
LIBRARY REUSE
1. Getting source code2. Implement Objective C
wrapper3. Building static library4. Implement C# wrapper5. Calling
PJSIP
![Page 17: Cross Platform Mobile Development with C# and Xamarin](https://reader036.fdocuments.in/reader036/viewer/2022081504/554f5ae0b4c905524c8b54aa/html5/thumbnails/17.jpg)
KMS Technology Property 17
LIBRARY REUSE
SHERLOCK ACTION BAR
1. Getting source code2. Packing (JAR or ZIP) 3. Generating C# Wrapper4. Calling
![Page 18: Cross Platform Mobile Development with C# and Xamarin](https://reader036.fdocuments.in/reader036/viewer/2022081504/554f5ae0b4c905524c8b54aa/html5/thumbnails/18.jpg)
KMS Technology Property 18
OTHER WORTH MENTIONINGHighlights
![Page 19: Cross Platform Mobile Development with C# and Xamarin](https://reader036.fdocuments.in/reader036/viewer/2022081504/554f5ae0b4c905524c8b54aa/html5/thumbnails/19.jpg)
KMS Technology Property 19
WHAT WE LOVE
Cross-platform development in C#
Native UI, Native Performance
Reuse existing code
Visual Studio or Xamarin Studio
![Page 20: Cross Platform Mobile Development with C# and Xamarin](https://reader036.fdocuments.in/reader036/viewer/2022081504/554f5ae0b4c905524c8b54aa/html5/thumbnails/20.jpg)
KMS Technology Property 20
WHAT WE HATE
Requires platform’s knowledge
Expensive!
Need Mac OS X machine for iOS development
![Page 21: Cross Platform Mobile Development with C# and Xamarin](https://reader036.fdocuments.in/reader036/viewer/2022081504/554f5ae0b4c905524c8b54aa/html5/thumbnails/21.jpg)
CUSTOMER SERVICES
KMS Technology Property 21
![Page 22: Cross Platform Mobile Development with C# and Xamarin](https://reader036.fdocuments.in/reader036/viewer/2022081504/554f5ae0b4c905524c8b54aa/html5/thumbnails/22.jpg)
KMS Technology Property 22
COMMUNITIES
![Page 23: Cross Platform Mobile Development with C# and Xamarin](https://reader036.fdocuments.in/reader036/viewer/2022081504/554f5ae0b4c905524c8b54aa/html5/thumbnails/23.jpg)
KMS Technology Property 23
XAMARIN VS COMPETITORS
Xamarin Titanium PhoneGap Corona
Platforms iOS, Android, Windows Phone7 & 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/developer/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
![Page 24: Cross Platform Mobile Development with C# and Xamarin](https://reader036.fdocuments.in/reader036/viewer/2022081504/554f5ae0b4c905524c8b54aa/html5/thumbnails/24.jpg)
KMS Technology Property 24
CASE STUDY
SMART SHOOTEmpower your smart phone’s camera with:Choose the best faces while shootingTag and find people with their names
![Page 25: Cross Platform Mobile Development with C# and Xamarin](https://reader036.fdocuments.in/reader036/viewer/2022081504/554f5ae0b4c905524c8b54aa/html5/thumbnails/25.jpg)
KMS Technology Property 25
REFERENCES
• http://docs.xamarin.com/• http://xamarin.com/how-it-works• http://components.xamarin.com/• http://stackoverflow.com/questions/tagged
/monodroid+or+monotouch?sort=active
• http://en.wikipedia.org/wiki/Xamarin• http://www.mono-project.com/Main_Page
![Page 26: Cross Platform Mobile Development with C# and Xamarin](https://reader036.fdocuments.in/reader036/viewer/2022081504/554f5ae0b4c905524c8b54aa/html5/thumbnails/26.jpg)
© 2013 KMS Technology26
THANK YOU