mobile device programming cs368 0. choose your platform android ios google and the open handset...

8
Mobile Device Programming CS3680

Upload: maude-jones

Post on 02-Jan-2016

214 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Mobile Device Programming CS368 0. CHOOSE YOUR PLATFORM Android iOS Google and the Open Handset Alliance Apple We will talk about both of them in class,

Mobile Device Programming

CS3680

Page 2: Mobile Device Programming CS368 0. CHOOSE YOUR PLATFORM Android iOS Google and the Open Handset Alliance Apple We will talk about both of them in class,

CHOOSE YOUR PLATFORM

Android iOSGoogle

and the Open Handset AllianceApple

We will talk about both of them in class, but you should choose one to do your projects.

Page 3: Mobile Device Programming CS368 0. CHOOSE YOUR PLATFORM Android iOS Google and the Open Handset Alliance Apple We will talk about both of them in class,

Android iOS

EclipseXcode

Runs on Linux, OS X and Windows

Available from

http://eclipse.org

Free and open source

Runs only on OS X

Available on OS X installation disk and in the App Store

You have to use a Mac to develop software for iOS.

TOOLS

with ADT plug-in

Page 4: Mobile Device Programming CS368 0. CHOOSE YOUR PLATFORM Android iOS Google and the Open Handset Alliance Apple We will talk about both of them in class,

Android iOS

Java Objective-C

Garbage collection

PROGRAMMING LANGUAGE

Reference counting—automatic in iOS 5

Superset of C

Google made their own JVM called Dalvik

Messages, properties

Uses some of the Java SE API

Page 5: Mobile Device Programming CS368 0. CHOOSE YOUR PLATFORM Android iOS Google and the Open Handset Alliance Apple We will talk about both of them in class,

Android iOS

GUI editor—clunky compared to the one for iOS

MAKING A GUI

Xcode storyboards

Code

Code

XML

Page 6: Mobile Device Programming CS368 0. CHOOSE YOUR PLATFORM Android iOS Google and the Open Handset Alliance Apple We will talk about both of them in class,

Android iOS

Google Play App Store

One-time fee of $25

DISTRIBUTION

$100 per year

Apple must approve every app

Some complaints…

Can also install apps from other sources

Easy to install apps on your device

Page 7: Mobile Device Programming CS368 0. CHOOSE YOUR PLATFORM Android iOS Google and the Open Handset Alliance Apple We will talk about both of them in class,

Android iOS

WHAT DO YOU THINK?

(your comments here)

Page 8: Mobile Device Programming CS368 0. CHOOSE YOUR PLATFORM Android iOS Google and the Open Handset Alliance Apple We will talk about both of them in class,

iOS

Open GL ES

SQLite

ANYTHING IN COMMON?

web views

Android

Objective-C

Xcode

Java

Eclipse

opendistribution controlled

distribution