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 Loca...
Android is a software stack for mobile devices
 that includes an operating system, middleware
 and key applications




so...
source: NY Times, May 27 2009
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 reta...
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
• bac...
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 c...
Self-publishing

• upload application to your own web server
  http://icecondor.com/download/icecondor-v20090201.apk

• us...
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...
Application API’s
                        java.util.*
                         java.io.*
  Java
                       jav...
Application API’s
    Web              android.webkit.WebView

   Camera         android.hardware.CameraDevice
Local datab...
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 ...
android.app.Activity
import android.app.Activity;

public class MyActivity extends Activity
{
    public void onCreate(Bun...
Application
            building blocks
•   AndroidManifest.xml   •   Intents &
                              IntentReceiv...
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

...
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-...
Domo Arigato Mr. Roboto - Open Source Bridge 2009
Domo Arigato Mr. Roboto - Open Source Bridge 2009
Upcoming SlideShare
Loading in...5
×

Domo Arigato Mr. Roboto - Open Source Bridge 2009

3,434

Published on

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

Published in: Technology, News & Politics
1 Comment
3 Likes
Statistics
Notes
No Downloads
Views
Total Views
3,434
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
94
Comments
1
Likes
3
Embeds 0
No embeds

No notes for slide

Domo Arigato Mr. Roboto - Open Source Bridge 2009

  1. 1. Domo Arigato Mr. Roboto Sean Sullivan June 17, 2009
  2. 2. Wednesday June 17 3:50 PM - Morrison Domo Arigato Mr. Roboto Thursday June 18 11:20 AM - Hawthorne Android Location Services
  3. 3. Android is a software stack for mobile devices that includes an operating system, middleware and key applications source: Google
  4. 4. source: NY Times, May 27 2009
  5. 5. August 2005 Google acquires Android November 2007 Open Handset Alliance announcement Android SDK available
  6. 6. 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
  7. 7. February 2009 Android 1.1 HTC and Vodafone announce HTC Magic April 2009 Android 1.5 HTC Magic available in Spain
  8. 8. June 2009 Acer joins Open Handset Alliance Huawei announces U8230
  9. 9. Huawei U8230 source: http://www.huawei.com/news/view.do?id=10855&cid=42
  10. 10. Android applications • multiple applications, running simultaneously • user may switch between running applications • background services • copy and paste
  11. 11. Third party applications lifeaware.net Maverick Android Locale
  12. 12. Distributing Android apps • Android Market • self-publish on your own web site • use a 3rd party application store
  13. 13. Android Market
  14. 14. 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/
  15. 15. 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
  16. 16. System Architecture
  17. 17. Open source project • http://source.android.com • Apache 2.0 and GPL v2 • Git repository
  18. 18. Android applications • are written in the Java language • run on the Dalvik virtual machine • Android != J2ME
  19. 19. 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
  20. 20. 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
  21. 21. 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.*
  22. 22. Getting started http://developer.android.com
  23. 23. Development tools • Java SDK • Android SDK • Eclipse • Eclipse plugin
  24. 24. Android SDK • Android emulator • command line tools • documentation • example applications
  25. 25. Android emulator
  26. 26. Eclipse plugin https://dl-ssl.google.com/android/eclipse/
  27. 27. Android applications • application package file: myapp.apk • an application is composed of one or more activities
  28. 28. 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
  29. 29. android.app.Activity import android.app.Activity; public class MyActivity extends Activity { public void onCreate(Bundle savedValues) { super.onCreate(savedValues); setContentView(R.layout.main); } }
  30. 30. Application building blocks • AndroidManifest.xml • Intents & IntentReceivers • Activities • Services • Views • Notifications • Layouts • ContentProviders
  31. 31. UI development • XML • Java code
  32. 32. Android Views a view is an object that knows how to draw itself on the screen
  33. 33. ListView
  34. 34. DatePicker
  35. 35. MapView
  36. 36. Additional topics • Threading • Android IDL (AIDL) • Security model • Data synchronization • Internationalization • WiFi API • Power management • Bluetooth API
  37. 37. What’s next for Android? • more phones • text to speech API • “Donut”
  38. 38. Questions?
  39. 39. Thank you
  40. 40. 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
  1. Gostou de algum slide específico?

    Recortar slides é uma maneira fácil de colecionar informações para acessar mais tarde.

×