native mobile apps, xamarin, and phonegap

16
© Copyright SELA software & Education Labs Ltd. | 14-18 Baruch Hirsch St Bnei Brak, 51202 Israel | www.selagroup.com SELA DEVELOPER PRACTICE December 15-19, 2013 Native Mobile Apps, Xamarin, and PhoneGap Sasha Goldshtein Shai Raiten Ofir Makmal

Upload: sasha-goldshtein

Post on 09-May-2015

5.791 views

Category:

Technology


2 download

DESCRIPTION

A session at the Sela Developer Practice delivered jointly with Shai Raiten and Ofir Makmal from Sela. We provided an overview of the three primary mobile development paradigms -- native mobile apps (Windows Phone, iOS, Android), Xamarin, and PhoneGap.

TRANSCRIPT

Page 1: Native Mobile Apps, Xamarin, and PhoneGap

© Copyright SELA software & Education Labs Ltd. | 14-18 Baruch Hirsch St Bnei Brak, 51202 Israel | www.selagroup.com

SELA DEVELOPER PRACTICEDecember 15-19, 2013

Native Mobile Apps, Xamarin, and PhoneGap

Sasha GoldshteinShai RaitenOfir Makmal

Page 2: Native Mobile Apps, Xamarin, and PhoneGap

Agenda

The three big mobile platformsNative development toolsNative development conceptsXamarin: C# on 3 billion devicesXamarin tools and workflowPhoneGap and other HTML5 hybridsPhoneGap tools and workflowPros and cons and when to use what

Page 3: Native Mobile Apps, Xamarin, and PhoneGap

Mobile Platforms

iOS• Storyboards• Objective C• Xcode

Android• XML-based UI• Java• Eclipse/Android

Studio/IntelliJ IDEA

Windows Phone/Windows 8• XAML-based UI• C#, VB, C++,

JavaScript• Visual Studio

Page 4: Native Mobile Apps, Xamarin, and PhoneGap

OS Versions

Windows Phone 8;

70%

Windows Phone 7.x;

30%

iOS 7; 74%

iOS 6; 22%

Earlier; 4%

KitKat (4.4); 1.10%

JellyBean (4.1-4.3); 54.50%

ICS (4.0.x); 18.60%

Honeycomb (3.x); 0.10%

Gingerbread (2.3.x); 24.10%

Froyo (2.2); 1.60%

Page 5: Native Mobile Apps, Xamarin, and PhoneGap

iOS Basic Concepts

Foundation/UIKit

View controllers

Storyboards and segues

Table views

Page 6: Native Mobile Apps, Xamarin, and PhoneGap

Android Basic Concepts

Android SDK

Activities

Intents

ListViews and adapters

Page 7: Native Mobile Apps, Xamarin, and PhoneGap

Windows Runtime Basic Concepts.NET Framework

Pages

Navigation

ListViews and binding

Page 8: Native Mobile Apps, Xamarin, and PhoneGap

Xamarin

Founded in 2011 by Novell ex-employeesBased on the Mono project – launched on 2001 Brings the .NET Framework to Linux and OS X

Xamarin took it to the next step: all major platforms – iOS, Android, Linux, OS XOfficially partnered with MicrosoftOver 460,000 developers live, 20,000 paying customers, 120 consulting partners

Used by more than 20% of Fortune 500 companies

Page 9: Native Mobile Apps, Xamarin, and PhoneGap

Reuse your company’s current development investmentKeep using Visual Studio (or Xamarin Studio)Same-day support for all new API’s 100% platform API coverageAll latest C# goodness – LINQ, async\await, TPLAverage of 75% code sharing!Scan your code for conformance: scan.xamarin.com

Why Xamarin?

Page 10: Native Mobile Apps, Xamarin, and PhoneGap

Xamarin Application Architecture

Page 11: Native Mobile Apps, Xamarin, and PhoneGap

PhoneGap

PhoneGap is an open source mobile development framework

Developed by Nitobi SoftwarePurchased by Adobe

Renamed to Cordova after the shift to Adobe

Enables building mobile device applications

using the Web technology stack –HTML, CSS, and JavaScript

Page 12: Native Mobile Apps, Xamarin, and PhoneGap

Hybrid Apps

A PhoneGap application is considered hybrid

They are neither truly native, nor purely web-basedAll layout rendering is done via the Web View

Supports 7 platforms

Page 13: Native Mobile Apps, Xamarin, and PhoneGap

What Is PhoneGap All About?

WrapperBridge

Page 14: Native Mobile Apps, Xamarin, and PhoneGap

Getting Started with PhoneGap

Set up your development environmentPC, MacXcode, Eclipse, Visual StudioSDKs, JDKs, plug-insSame as for Native Development

Adobe® PhoneGap™ Build – upload your HTML5, CSS, and JavaScript assets to a cloud service which does the work of compiling for you

Page 15: Native Mobile Apps, Xamarin, and PhoneGap

Discussion/Panel

Page 16: Native Mobile Apps, Xamarin, and PhoneGap

Summary

Native development tools and conceptsThe Xamarin promisePhoneGap and HTML5 apps