Building Your First Android Experience
1
    Web 2.0 • Tony Hillerson
Tony Hillerson
    Software Architect - EffectiveUI
    Rails, Flex, Java
      ‣ Mobile
       ✦ iPhone and Android

    ...
Agenda
    Introduction
    Tour
    Our First Project
    Cooking with Android




3
android
    an•droid
    noun                                  Your plastic pal that’s
    a robot with a human           ...
Open Handset Alliance
    http://www.openhandsetalliance.com/
    Over 40 members
    Device Manufacturers, Networks, Chip...
Open Source Framework
    Open it! - http://source.android.com/
    SDK - http://developer.android.com
    IDE
    Runs in...
Platform
7
Linux
8
• Surface Manager

    Native Libraries   • 2D+3D Graphics (OpenGL) + Media
                       • SQLite
              ...
Runtime + Dalvik VM   • Lightweight Java VM
                           • Efficient Bytecode




          Native Libraries
...
• Activity Manager

     Android Framework   • Content Provider
                         • Location Manager
              ...
• Contacts

     System Apps        • Phone Dialer
                        • E-mail
                        • Web Browser
...
System Apps + Ur Appz
      Android Framework
           Runtime
        Native Libraries
             Linux
13
Vocabulary
14
Activity: A single screen.
     Your app is made up of
     one or more Activities




15
Service: A task that can
     be running while not
     visible.
     Put that in your pipe and smoke it, iPhone.




16
Intent: Code to
     accomplish a verb, like
     “call number” or “open
     comic”. Facilitates app to
     app communic...
Content Provider: Data
     and an API that any app
     can access.
     Android provides contact information
     throug...
Resource: Text, pictures,
     sound, etc. Everything is
     broken out of the code
     into a resource, which is
     c...
Drawable: A bitmap or xml
     definition of something
     that can be drawn.




20
Getting Android
     http://developer.android.com




21
Where to find Help
     http://developer.android.com/community/index.html
     Google’s Forums

     http://android-develop...
A Tour
23
Our First App
24
Cooking with Android
25
Pictures
     Camera
     Image Library




26
Persistence
     Settings
     SQLite




27
Location Location Location
     LocationProvider
     Geocoding




28
Hiding Your Threads in UserTasks
     Google’s UserTask




29
Prettying Things Up
     Styling common widgets
     Themes
     Digging into existing styles




30
Reading the Source
     SDK
     Android source and Apps




31
Your
                              Bob
                                        Father




                                ...
Upcoming SlideShare
Loading in...5
×

First Android Experience

6,734

Published on

Slides from a presentation given at Web 2.0

Published in: Technology, Education
0 Comments
15 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
6,734
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
817
Comments
0
Likes
15
Embeds 0
No embeds

No notes for slide

First Android Experience

  1. 1. Building Your First Android Experience 1 Web 2.0 • Tony Hillerson
  2. 2. Tony Hillerson Software Architect - EffectiveUI Rails, Flex, Java ‣ Mobile ✦ iPhone and Android http://thillerson.blogspot.com http://twitter.com/thillerson http://brightkite.com/people/thillerson http://github.com/thillerson/first_android_experience/ http://slideshare.com/thillerson/first-android-experience 2
  3. 3. Agenda Introduction Tour Our First Project Cooking with Android 3
  4. 4. android an•droid noun Your plastic pal that’s a robot with a human fun to be with! appearance. - Sirius Cybernetics Corporation - Encyclopedia Galactica What’s an Android? Operating System for Mobile Devices HTC G1 SDK Compiler, tools and IDE Market Free or paid A Platform for your Applications 4
  5. 5. Open Handset Alliance http://www.openhandsetalliance.com/ Over 40 members Device Manufacturers, Networks, Chipmakers, Software Companies, etc 5
  6. 6. Open Source Framework Open it! - http://source.android.com/ SDK - http://developer.android.com IDE Runs in Eclipse 6
  7. 7. Platform 7
  8. 8. Linux 8
  9. 9. • Surface Manager Native Libraries • 2D+3D Graphics (OpenGL) + Media • SQLite • Browser (webkit) Linux 9
  10. 10. Runtime + Dalvik VM • Lightweight Java VM • Efficient Bytecode Native Libraries Linux 10
  11. 11. • Activity Manager Android Framework • Content Provider • Location Manager • Notification Manager Runtime + Dalvik VM Native Libraries Linux 11
  12. 12. • Contacts System Apps • Phone Dialer • E-mail • Web Browser Android Framework Runtime + Dalvik VM Native Libraries Linux 12
  13. 13. System Apps + Ur Appz Android Framework Runtime Native Libraries Linux 13
  14. 14. Vocabulary 14
  15. 15. Activity: A single screen. Your app is made up of one or more Activities 15
  16. 16. Service: A task that can be running while not visible. Put that in your pipe and smoke it, iPhone. 16
  17. 17. Intent: Code to accomplish a verb, like “call number” or “open comic”. Facilitates app to app communication. 17
  18. 18. Content Provider: Data and an API that any app can access. Android provides contact information through a Content Provider. 18
  19. 19. Resource: Text, pictures, sound, etc. Everything is broken out of the code into a resource, which is compiled into a class called R 19
  20. 20. Drawable: A bitmap or xml definition of something that can be drawn. 20
  21. 21. Getting Android http://developer.android.com 21
  22. 22. Where to find Help http://developer.android.com/community/index.html Google’s Forums http://android-developers.blogspot.com/ Dev’s Blog http://developer.android.com/reference/packages.html Docs http://code.google.com/p/apps-for-android/ Sample Apps by Googlers 22
  23. 23. A Tour 23
  24. 24. Our First App 24
  25. 25. Cooking with Android 25
  26. 26. Pictures Camera Image Library 26
  27. 27. Persistence Settings SQLite 27
  28. 28. Location Location Location LocationProvider Geocoding 28
  29. 29. Hiding Your Threads in UserTasks Google’s UserTask 29
  30. 30. Prettying Things Up Styling common widgets Themes Digging into existing styles 30
  31. 31. Reading the Source SDK Android source and Apps 31
  32. 32. Your Bob Father You Thanks! Tony Hillerson http://slideshare.com/thillerson http://github.com/thillerson http://thillerson.blogspot.com http://effectiveui.com Twitter: thillerson Brightkite: thillerson 32
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×