Building Your First Android Experience 1 Web 2.0 Tony Hillerson - - PowerPoint PPT Presentation

building your first android experience
SMART_READER_LITE
LIVE PREVIEW

Building Your First Android Experience 1 Web 2.0 Tony Hillerson - - PowerPoint PPT Presentation

Building Your First Android Experience 1 Web 2.0 Tony Hillerson Tony Hillerson Software Architect - EffectiveUI Rails, Flex, Java Mobile iPhone and Android http://thillerson.blogspot.com http://twitter.com/thillerson


slide-1
SLIDE 1

Building Your First Android Experience

Web 2.0 • Tony Hillerson

1

slide-2
SLIDE 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

slide-3
SLIDE 3

Agenda

Introduction Tour Our First Project Cooking with Android

3

slide-4
SLIDE 4

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

an•droid |ˈanˌdroid|

noun a robot with a human appearance.

  • Encyclopedia Galactica

android

Your plastic pal that’s fun to be with!

  • Sirius Cybernetics Corporation
slide-5
SLIDE 5

Open Handset Alliance

http://www.openhandsetalliance.com/ Over 40 members

Device Manufacturers, Networks, Chipmakers, Software Companies, etc

5

slide-6
SLIDE 6

Open Source Framework

Open it! - http://source.android.com/ SDK - http://developer.android.com IDE

Runs in Eclipse

6

slide-7
SLIDE 7

Platform

7

slide-8
SLIDE 8

Linux

8

slide-9
SLIDE 9

Linux Native Libraries

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

9

slide-10
SLIDE 10

Linux Native Libraries Runtime + Dalvik VM

  • Lightweight Java VM
  • Efficient Bytecode

10

slide-11
SLIDE 11

Linux Native Libraries Runtime + Dalvik VM Android Framework

  • Activity Manager
  • Content Provider
  • Location Manager
  • Notification Manager

11

slide-12
SLIDE 12

Linux Native Libraries Runtime + Dalvik VM Android Framework System Apps

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

12

slide-13
SLIDE 13

Linux Native Libraries Runtime Android Framework System Apps + Ur Appz

13

slide-14
SLIDE 14

Vocabulary

14

slide-15
SLIDE 15

Activity: A single screen. Your app is made up of

  • ne or more Activities

15

slide-16
SLIDE 16

Service: A task that can be running while not visible.

Put that in your pipe and smoke it, iPhone.

16

slide-17
SLIDE 17

Intent: Code to accomplish a verb, like “call number” or “open comic”. Facilitates app to app communication.

17

slide-18
SLIDE 18

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

Android provides contact information through a Content Provider.

18

slide-19
SLIDE 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

slide-20
SLIDE 20

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

20

slide-21
SLIDE 21

Getting Android

http://developer.android.com

21

slide-22
SLIDE 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

slide-23
SLIDE 23

A Tour

23

slide-24
SLIDE 24

Our First App

24

slide-25
SLIDE 25

Cooking with Android

25

slide-26
SLIDE 26

Pictures

Camera Image Library

26

slide-27
SLIDE 27

Persistence

Settings SQLite

27

slide-28
SLIDE 28

Location Location Location

LocationProvider Geocoding

28

slide-29
SLIDE 29

Hiding Your Threads in UserTasks

Google’s UserTask

29

slide-30
SLIDE 30

Prettying Things Up

Styling common widgets Themes Digging into existing styles

30

slide-31
SLIDE 31

Reading the Source

SDK Android source and Apps

31

slide-32
SLIDE 32

Thanks!

Tony Hillerson

http://slideshare.com/thillerson http://github.com/thillerson http://thillerson.blogspot.com http://effectiveui.com

Twitter: thillerson Brightkite: thillerson

32

You Your Father Bob