25
CROSS-PLATFORM MOBILE DEVELOPMENT WITH C# AND XAMARIN SDK KMS Technology Property 1

Cross-platform Mobile Development with C# and Xamarin Webinar

Embed Size (px)

DESCRIPTION

This is the presentation that Mr. An Nguyen – Software Engineer of KMS Technology presented at “Cross Platform Mobile Development with C# and Xamarin” webinar on October 16th, 2013.

Citation preview

Page 1: Cross-platform Mobile Development with C# and Xamarin Webinar

CROSS-PLATFORM MOBILE

DEVELOPMENT WITH

C# AND XAMARIN SDK

KMS Technology Property 1

Page 2: Cross-platform Mobile Development with C# and Xamarin Webinar

Nguyễn Lê Phú An

Software Engineer, KMS

Nguyễn Ngọc Trí

Software Engineer, KMS

KMS Technology Property 2

TODAY SPEAKERS

[email protected]

[email protected]

Page 3: Cross-platform Mobile Development with C# and Xamarin Webinar

AGENDA

Introducing Xamarin

Xamarin - Getting started

Other Worth Mentioning

More Q&A

KMS Technology Property 3

Page 4: Cross-platform Mobile Development with C# and Xamarin Webinar

INTRODUCING XAMARIN

What is Xamarin?

KMS Technology Property 4

Page 5: Cross-platform Mobile Development with C# and Xamarin Webinar

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

Page 6: Cross-platform Mobile Development with C# and Xamarin Webinar

XAMARIN PRODUCTS

KMS Technology Property 6

SDKs IDE

Page 7: Cross-platform Mobile Development with C# and Xamarin Webinar

Xamarin Compiler

C# Wrapper

BINDING TO NATIVE SDK

KMS Technology Property 7

C# Wrapper

Native SDK API

Page 8: Cross-platform Mobile Development with C# and Xamarin Webinar

UI SAMPLE CODE

KMS Technology Property 8

Xamarin Native

Page 9: Cross-platform Mobile Development with C# and Xamarin Webinar

CODE SHARING

KMS Technology Property 9

Device Access Layer

Device Access Layer

Device Access Layer

Page 10: Cross-platform Mobile Development with C# and Xamarin Webinar

LIBRARY REUSING

KMS Technology Property 10

Libraries

Page 11: Cross-platform Mobile Development with C# and Xamarin Webinar

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)

Page 12: Cross-platform Mobile Development with C# and Xamarin Webinar

VISUAL STUDIO PLUGIN

KMS Technology Property 12

Page 13: Cross-platform Mobile Development with C# and Xamarin Webinar

GETTING STARTED

Let’s practice!

KMS Technology Property 13

Page 14: Cross-platform Mobile Development with C# and Xamarin Webinar

FIRST STEP

KMS Technology Property 14

SIMPLE PROJECT

1. Create a sample iOS project

2. Play with Xcode IB

3. Create sample Android project

4. Play with Xamarin Designer

Page 15: Cross-platform Mobile Development with C# and Xamarin Webinar

CODE SHARING

KMS Technology Property 15

TASKY

1. Get Tasky Project

2. Link core project to existing

projects

Page 16: Cross-platform Mobile Development with C# and Xamarin Webinar

LIBRARY REUSE

KMS Technology Property 16

1. Get source code

2. Build static library

3. Generate a wrapper project

4. Write a C# wrapper

5. Use it in a iOS project

ADSLIDING CONTROLLER

Page 17: Cross-platform Mobile Development with C# and Xamarin Webinar

LIBRARY REUSE

KMS Technology Property 17

ACTION BAR SHERLOCK

1. Get source code

2. Pack Android library (JAR or ZIP)

3. Generate a wrapper project

4. Use it in a Android project

Page 18: Cross-platform Mobile Development with C# and Xamarin Webinar

OTHER WORTH MENTIONING

Highlights

KMS Technology Property 18

Page 19: Cross-platform Mobile Development with C# and Xamarin Webinar

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 Webinar

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 Webinar

CUSTOMER SERVICES

KMS Technology Property 21

Page 22: Cross-platform Mobile Development with C# and Xamarin Webinar

COMMUNITIES

KMS Technology Property 22

Page 23: Cross-platform Mobile Development with C# and Xamarin Webinar

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/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 25: Cross-platform Mobile Development with C# and Xamarin Webinar

© 2013 KMS Technology

THANK YOU