Domo Arigato Mr. Roboto - Open Source Bridge 2009
Upcoming SlideShare
Loading in...5
×
 

Domo Arigato Mr. Roboto - Open Source Bridge 2009

on

  • 4,730 views

introduction to Android

introduction to Android
Open Source Bridge
June 17 2009
Portland, Oregon

Statistics

Views

Total Views
4,730
Views on SlideShare
4,728
Embed Views
2

Actions

Likes
3
Downloads
93
Comments
1

1 Embed 2

http://www.slideshare.net 2

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Domo Arigato Mr. Roboto - Open Source Bridge 2009 Domo Arigato Mr. Roboto - Open Source Bridge 2009 Presentation Transcript

  • Domo Arigato Mr. Roboto Sean Sullivan June 17, 2009
  • Wednesday June 17 3:50 PM - Morrison Domo Arigato Mr. Roboto Thursday June 18 11:20 AM - Hawthorne Android Location Services
  • Android is a software stack for mobile devices that includes an operating system, middleware and key applications source: Google View slide
  • source: NY Times, May 27 2009 View slide
  • August 2005 Google acquires Android November 2007 Open Handset Alliance announcement Android SDK available
  • September 2008 HTC and T-Mobile announce G1 October 2008 Android 1.0 Android Market goes live G1 available in retail stores in USA Android open source project
  • February 2009 Android 1.1 HTC and Vodafone announce HTC Magic April 2009 Android 1.5 HTC Magic available in Spain
  • June 2009 Acer joins Open Handset Alliance Huawei announces U8230
  • Huawei U8230 source: http://www.huawei.com/news/view.do?id=10855&cid=42
  • Android applications • multiple applications, running simultaneously • user may switch between running applications • background services • copy and paste
  • Third party applications lifeaware.net Maverick Android Locale
  • Distributing Android apps • Android Market • self-publish on your own web site • use a 3rd party application store
  • Android Market
  • 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/
  • Self-publishing • upload application to your own web server http://icecondor.com/download/icecondor-v20090201.apk • use correct MIME type application/vnd.android.package-archive
  • System Architecture
  • Open source project • http://source.android.com • Apache 2.0 and GPL v2 • Git repository
  • Android applications • are written in the Java language • run on the Dalvik virtual machine • Android != J2ME
  • Dalvik VM • not a Java VM • design constraints: slow CPU, little RAM • will run on OS without swap space • http://sites.google.com/site/io/dalvik-vm-internals
  • Application API’s java.util.* java.io.* Java java.lang.* etc android.widget.* UI android.view.* android.graphics.* Telephony android.telephony.* SMS android.telephony.gsm.SmsManager
  • Application API’s Web android.webkit.WebView Camera android.hardware.CameraDevice Local database android.database.* Maps com.google.android.maps.MapView Location android.location.LocationManager Multimedia android.media.MediaPlayer HTTP org.apache.http.client.*
  • Getting started http://developer.android.com
  • Development tools • Java SDK • Android SDK • Eclipse • Eclipse plugin
  • Android SDK • Android emulator • command line tools • documentation • example applications
  • Android emulator
  • Eclipse plugin https://dl-ssl.google.com/android/eclipse/
  • Android applications • application package file: myapp.apk • an application is composed of one or more activities
  • 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
  • android.app.Activity import android.app.Activity; public class MyActivity extends Activity { public void onCreate(Bundle savedValues) { super.onCreate(savedValues); setContentView(R.layout.main); } }
  • Application building blocks • AndroidManifest.xml • Intents & IntentReceivers • Activities • Services • Views • Notifications • Layouts • ContentProviders
  • UI development • XML • Java code
  • Android Views a view is an object that knows how to draw itself on the screen
  • ListView
  • DatePicker
  • MapView
  • Additional topics • Threading • Android IDL (AIDL) • Security model • Data synchronization • Internationalization • WiFi API • Power management • Bluetooth API
  • What’s next for Android? • more phones • text to speech API • “Donut”
  • Questions?
  • Thank you
  • 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