Introduction to Android - Mobile Fest Singapore 2009
-
Upload
sullis -
Category
Technology
-
view
108 -
download
0
description
Transcript of Introduction to Android - Mobile Fest Singapore 2009
![Page 1: Introduction to Android - Mobile Fest Singapore 2009](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/1.jpg)
Introduction to Android
Sean SullivanMobile Fest Singapore
18 February 2009
![Page 2: Introduction to Android - Mobile Fest Singapore 2009](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/2.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/3.jpg)
![Page 4: Introduction to Android - Mobile Fest Singapore 2009](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/4.jpg)
![Page 5: Introduction to Android - Mobile Fest Singapore 2009](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/5.jpg)
![Page 6: Introduction to Android - Mobile Fest Singapore 2009](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/6.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/7.jpg)
August 2005
Google acquires Android
November 2007
Open Handset Alliance announcement
Android SDK available
![Page 8: Introduction to Android - Mobile Fest Singapore 2009](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/8.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/9.jpg)
February 2009
Android SDK 1.1
HTC and SingTel announcement
HTC and Vodafone announcement
![Page 10: Introduction to Android - Mobile Fest Singapore 2009](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/10.jpg)
Third party applications
lifeaware.net Maverick Android Locale
![Page 11: Introduction to Android - Mobile Fest Singapore 2009](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/11.jpg)
• multiple applications, running simultaneously
• user may switch between running applications
• background services
• copy and paste
![Page 12: Introduction to Android - Mobile Fest Singapore 2009](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/12.jpg)
Android Market
![Page 13: Introduction to Android - Mobile Fest Singapore 2009](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/13.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/14.jpg)
System Architecture
![Page 15: Introduction to Android - Mobile Fest Singapore 2009](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/15.jpg)
Open source project
• http://source.android.com
• Apache 2.0 and GPL v2
• Git repository
![Page 16: Introduction to Android - Mobile Fest Singapore 2009](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/16.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/17.jpg)
Getting started
http://developer.android.com
![Page 18: Introduction to Android - Mobile Fest Singapore 2009](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/18.jpg)
Development tools
• Java SDK
• Android SDK
• Eclipse
• Eclipse plugin
![Page 19: Introduction to Android - Mobile Fest Singapore 2009](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/19.jpg)
Android SDK
• Android emulator
• command line tools
• documentation
• example applications
![Page 20: Introduction to Android - Mobile Fest Singapore 2009](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/20.jpg)
Android emulator
![Page 21: Introduction to Android - Mobile Fest Singapore 2009](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/21.jpg)
Eclipse plugin
https://dl-ssl.google.com/android/eclipse/
![Page 22: Introduction to Android - Mobile Fest Singapore 2009](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/22.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/23.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/24.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/25.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/26.jpg)
ListView
![Page 27: Introduction to Android - Mobile Fest Singapore 2009](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/27.jpg)
DatePicker
![Page 28: Introduction to Android - Mobile Fest Singapore 2009](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/28.jpg)
MapView
![Page 29: Introduction to Android - Mobile Fest Singapore 2009](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/29.jpg)
Location services
• Location providers:
GPS_PROVIDER
NETWORK_PROVIDER (Cell tower, WiFi)
• Proximity alerts
![Page 30: Introduction to Android - Mobile Fest Singapore 2009](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/30.jpg)
What’s next for Android?
• more phones
• virtual keyboard
• Bluetooth A2DP
• multi-touch?
![Page 31: Introduction to Android - Mobile Fest Singapore 2009](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/31.jpg)
Singapore Android developer group
http://www.facebook.com/group.php?gid=54219346370
![Page 32: Introduction to Android - Mobile Fest Singapore 2009](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/32.jpg)
Questions?
![Page 33: Introduction to Android - Mobile Fest Singapore 2009](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/33.jpg)
Thank you
![Page 34: Introduction to Android - Mobile Fest Singapore 2009](https://reader034.fdocuments.net/reader034/viewer/2022051314/54c8ec0b4a7959bb718b45ac/html5/thumbnails/34.jpg)
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