first android experience
DESCRIPTION
Slides from a presentation given at Web 2.0TRANSCRIPT
![Page 1: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/1.jpg)
Building Your First Android ExperienceWeb 2.0 • Tony Hillerson
1
![Page 2: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/2.jpg)
Tony HillersonSoftware Architect - EffectiveUIRails, Flex, Java‣ Mobile
✦ iPhone and Androidhttp://thillerson.blogspot.comhttp://twitter.com/thillersonhttp://brightkite.com/people/thillerson
http://github.com/thillerson/first_android_experience/
http://slideshare.com/thillerson/first-android-experience
2
![Page 3: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/3.jpg)
AgendaIntroduction
Tour
Our First Project
Cooking with Android
3
![Page 4: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/4.jpg)
What’s an Android?Operating System for Mobile DevicesHTC G1
SDKCompiler, tools and IDE
MarketFree or paid
A Platform for your Applications
4
an•droid |ˈanˌdroid|nouna robot with a human appearance.- Encyclopedia Galactica
androidYour plastic pal that’s fun to be with!- Sirius Cybernetics Corporation
![Page 5: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/5.jpg)
Open Handset Alliancehttp://www.openhandsetalliance.com/
Over 40 membersDevice Manufacturers, Networks, Chipmakers, Software Companies, etc
5
![Page 6: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/6.jpg)
Open Source FrameworkOpen it! - http://source.android.com/
SDK - http://developer.android.com
IDERuns in Eclipse
6
![Page 7: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/7.jpg)
Platform7
![Page 8: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/8.jpg)
Linux
8
![Page 9: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/9.jpg)
Linux
Native Libraries• Surface Manager• 2D+3D Graphics (OpenGL) + Media• SQLite• Browser (webkit)
9
![Page 10: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/10.jpg)
Linux
Native Libraries
Runtime + Dalvik VM • Lightweight Java VM• Efficient Bytecode
10
![Page 11: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/11.jpg)
Linux
Native Libraries
Runtime + Dalvik VM
Android Framework• Activity Manager• Content Provider• Location Manager• Notification Manager
11
![Page 12: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/12.jpg)
Linux
Native Libraries
Runtime + Dalvik VM
Android Framework
System Apps• Contacts• Phone Dialer• E-mail• Web Browser
12
![Page 13: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/13.jpg)
Linux
Native Libraries
Runtime
Android Framework
System Apps + Ur Appz
13
![Page 14: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/14.jpg)
Vocabulary14
![Page 15: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/15.jpg)
Activity: A single screen. Your app is made up of one or more Activities
15
![Page 16: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/16.jpg)
Service: A task that can be running while not visible.
Put that in your pipe and smoke it, iPhone.
16
![Page 17: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/17.jpg)
Intent: Code to accomplish a verb, like “call number” or “open comic”. Facilitates app to app communication.
17
![Page 18: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/18.jpg)
Content Provider: Data and an API that any app can access.
Android provides contact information through a Content Provider.
18
![Page 19: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/19.jpg)
Resource: Text, pictures, sound, etc. Everything is broken out of the code into a resource, which is compiled into a class called R
19
![Page 20: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/20.jpg)
Drawable: A bitmap or xml definition of something that can be drawn.
20
![Page 21: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/21.jpg)
Getting Androidhttp://developer.android.com
21
![Page 22: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/22.jpg)
Where to find Helphttp://developer.android.com/community/index.htmlGoogle’s Forums
http://android-developers.blogspot.com/Dev’s Blog
http://developer.android.com/reference/packages.htmlDocs
http://code.google.com/p/apps-for-android/Sample Apps by Googlers
22
![Page 23: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/23.jpg)
A Tour23
![Page 24: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/24.jpg)
Our First App24
![Page 25: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/25.jpg)
Cooking with Android25
![Page 26: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/26.jpg)
PicturesCamera
Image Library
26
![Page 27: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/27.jpg)
PersistenceSettings
SQLite
27
![Page 28: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/28.jpg)
Location Location LocationLocationProvider
Geocoding
28
![Page 29: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/29.jpg)
Hiding Your Threads in UserTasksGoogle’s UserTask
29
![Page 30: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/30.jpg)
Prettying Things UpStyling common widgets
Themes
Digging into existing styles
30
![Page 31: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/31.jpg)
Reading the SourceSDK
Android source and Apps
31
![Page 32: First Android Experience](https://reader033.vdocuments.mx/reader033/viewer/2022052900/555a2861d8b42a900d8b49fe/html5/thumbnails/32.jpg)
Thanks!Tony Hillersonhttp://slideshare.com/thillersonhttp://github.com/thillersonhttp://thillerson.blogspot.comhttp://effectiveui.com
Twitter: thillersonBrightkite: thillerson
32
You
YourFather
Bob