first android experience

Post on 19-May-2015

6.701 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Slides from a presentation given at Web 2.0

TRANSCRIPT

Building Your First Android ExperienceWeb 2.0 • Tony Hillerson

1

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

AgendaIntroduction

Tour

Our First Project

Cooking with Android

3

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

Open Handset Alliancehttp://www.openhandsetalliance.com/

Over 40 membersDevice Manufacturers, Networks, Chipmakers, Software Companies, etc

5

Open Source FrameworkOpen it! - http://source.android.com/

SDK - http://developer.android.com

IDERuns in Eclipse

6

Platform7

Linux

8

Linux

Native Libraries• Surface Manager• 2D+3D Graphics (OpenGL) + Media• SQLite• Browser (webkit)

9

Linux

Native Libraries

Runtime + Dalvik VM • Lightweight Java VM• Efficient Bytecode

10

Linux

Native Libraries

Runtime + Dalvik VM

Android Framework• Activity Manager• Content Provider• Location Manager• Notification Manager

11

Linux

Native Libraries

Runtime + Dalvik VM

Android Framework

System Apps• Contacts• Phone Dialer• E-mail• Web Browser

12

Linux

Native Libraries

Runtime

Android Framework

System Apps + Ur Appz

13

Vocabulary14

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 communication.

17

Content Provider: Data and an API that any app can access.

Android provides contact information through a Content Provider.

18

Resource: Text, pictures, sound, etc. Everything is broken out of the code into a resource, which is compiled into a class called R

19

Drawable: A bitmap or xml definition of something that can be drawn.

20

Getting Androidhttp://developer.android.com

21

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

A Tour23

Our First App24

Cooking with Android25

PicturesCamera

Image Library

26

PersistenceSettings

SQLite

27

Location Location LocationLocationProvider

Geocoding

28

Hiding Your Threads in UserTasksGoogle’s UserTask

29

Prettying Things UpStyling common widgets

Themes

Digging into existing styles

30

Reading the SourceSDK

Android source and Apps

31

Thanks!Tony Hillersonhttp://slideshare.com/thillersonhttp://github.com/thillersonhttp://thillerson.blogspot.comhttp://effectiveui.com

Twitter: thillersonBrightkite: thillerson

32

You

YourFather

Bob

top related