introduction to android - mobile fest singapore 2009

34
Introduction to Android Sean Sullivan Mobile Fest Singapore 18 February 2009

Upload: sullis

Post on 28-Jan-2015

108 views

Category:

Technology


0 download

DESCRIPTION

Mobile Fest Singapore February 18, 2009

TRANSCRIPT

Page 1: Introduction to Android - Mobile Fest Singapore 2009

Introduction to Android

Sean SullivanMobile Fest Singapore

18 February 2009

Page 2: Introduction to Android - Mobile Fest Singapore 2009

05 February 2009

Singapore Telecommunications Limited (SingTel) and HTC Corporation, a global leader in mobile phone innovation and design, today unveiled the first Android™ powered mobile phone released in Asia - the HTC Dream™

Page 3: Introduction to Android - Mobile Fest Singapore 2009
Page 4: Introduction to Android - Mobile Fest Singapore 2009
Page 5: Introduction to Android - Mobile Fest Singapore 2009
Page 6: Introduction to Android - Mobile Fest Singapore 2009

Android is a software stack for mobile devices that includes an operating system, middleware and key applications

source: Google

Page 7: Introduction to Android - Mobile Fest Singapore 2009

August 2005

Google acquires Android

November 2007

Open Handset Alliance announcement

Android SDK available

Page 8: Introduction to Android - Mobile Fest Singapore 2009

September 2008

HTC and T-Mobile announce G1

October 2008

Android SDK 1.0

Android Market goes live

G1 available in retail stores in USA

Page 9: Introduction to Android - Mobile Fest Singapore 2009

February 2009

Android SDK 1.1

HTC and SingTel announcement

HTC and Vodafone announcement

Page 10: Introduction to Android - Mobile Fest Singapore 2009

Third party applications

lifeaware.net Maverick Android Locale

Page 11: Introduction to Android - Mobile Fest Singapore 2009

• multiple applications, running simultaneously

• user may switch between running applications

• background services

• copy and paste

Page 12: Introduction to Android - Mobile Fest Singapore 2009

Android Market

Page 13: Introduction to Android - Mobile Fest Singapore 2009

Android Market

• US$25 registration fee for developers

• developer receives 70% of each sale

• remaining amount goes to carriers

• Google does not take a percentage

• http://www.android.com/market/

Page 14: Introduction to Android - Mobile Fest Singapore 2009

System Architecture

Page 15: Introduction to Android - Mobile Fest Singapore 2009

Open source project

• http://source.android.com

• Apache 2.0 and GPL v2

• Git repository

Page 16: Introduction to Android - Mobile Fest Singapore 2009

Android applications

• are written in the Java language

• run on the Dalvik virtual machine

• Android != J2ME

Page 17: Introduction to Android - Mobile Fest Singapore 2009

Getting started

http://developer.android.com

Page 18: Introduction to Android - Mobile Fest Singapore 2009

Development tools

• Java SDK

• Android SDK

• Eclipse

• Eclipse plugin

Page 19: Introduction to Android - Mobile Fest Singapore 2009

Android SDK

• Android emulator

• command line tools

• documentation

• example applications

Page 20: Introduction to Android - Mobile Fest Singapore 2009

Android emulator

Page 21: Introduction to Android - Mobile Fest Singapore 2009

Eclipse plugin

https://dl-ssl.google.com/android/eclipse/

Page 22: Introduction to Android - Mobile Fest Singapore 2009

Android applications

• application package file: myapp.apk

• an application is composed of one or more activities

Page 23: Introduction to Android - Mobile Fest Singapore 2009

Activity

• an activity is usually a single screen in your application

• however, activities can also be faceless

• one activity is designated as the entry point for your application

Page 24: Introduction to Android - Mobile Fest Singapore 2009

android.app.Activity

import android.app.Activity;

public class MyActivity extends Activity { public void onCreate(Bundle savedValues) { super.onCreate(savedValues); setContentView(R.layout.main); }

}

Page 25: Introduction to Android - Mobile Fest Singapore 2009

Android Views

a view is an object that knows how to draw itself on the screen

Page 26: Introduction to Android - Mobile Fest Singapore 2009

ListView

Page 27: Introduction to Android - Mobile Fest Singapore 2009

DatePicker

Page 28: Introduction to Android - Mobile Fest Singapore 2009

MapView

Page 29: Introduction to Android - Mobile Fest Singapore 2009

Location services

• Location providers:

GPS_PROVIDER

NETWORK_PROVIDER (Cell tower, WiFi)

• Proximity alerts

Page 30: Introduction to Android - Mobile Fest Singapore 2009

What’s next for Android?

• more phones

• virtual keyboard

• Bluetooth A2DP

• multi-touch?

Page 32: Introduction to Android - Mobile Fest Singapore 2009

Questions?

Page 33: Introduction to Android - Mobile Fest Singapore 2009

Thank you

Page 34: Introduction to Android - Mobile Fest Singapore 2009

Android resources

• http://developer.android.com

• http://android-developers.blogspot.com

• http://code.google.com/p/apps-for-android/

• http://sites.google.com/site/io/

• http://www.openhandsetalliance.com

• http://source.android.com