Mobile Programming - Android 3
Chapter 23- 2D Drawing Part 1: Using onDraw

Topics
o
o
o
o
o
covered:
Extending a View
Using onDraw
Referring to custom View in layout file
Drawing basic shapes with Canvas
Drawing bitmaps (images) with Canvas
Chapter 24- 2D Drawing Part 2: Coordinate Transformations and ShapeDrawable

Topics covered:
o Canvas coordinate transformations
 translate
 rotate
 skew
 scale
o Using ShapeDrawable
 Motivation
 Making a ShapeDrawable
 Drawing a ShapeDrawable
Chapter 25- Custom Components

Topics covered:
o Custom components: big idea
o Using onMeasure
 If told how big to be: resizing content to fit current size
 If asked how big you want to be: calculating desired sizes
o Reading custom XML attributes
 Declaring attributes in attrs.xml
 Setting a custom namespace in layout file
 Using the custom attributes in layout file
 Extracting values from AttributeSet in View constructor

Chapter 26- Managing and Accessing Local Databases

Topics
o
o
o
covered:
The Database Example
A Quick SQLite Primer
Start at the Beginning
o
o
o
o
Setting the Table
Makin’ Data
What Goes Around Comes Around
 Raw Queries
 Regular Queries
 Building with Builders
 Using Cursors
Data, Data, Everywhere
Chapter 27- Android Animations

Topics covered:
o
o
o
o
Overview

Animator and AnimatorListener

ViewPropertyAnimator

Layout animations

Animations for Activity transition
Tutorial: View Animation
Animations for Fragment transition
Property Animation API for older Android releases
Chapter 28- Creating a Service

Topics
o
o
o
o
o
covered:
Service with Class
There Can Only Be One
Manifest Destiny
Lobbing One Over the Fence
 Callbacks
 Broadcast Intents
Where’s the Remote? And the Rest of the Code?
Chapter 29- Invoking a Service

Topics covered:
o The Ties That Bind
o Catching the Lob
Chapter 30- Alerting Users via Notifications

Topics covered:
o Types of Pestering
 Hardware Notifications
 Icons
o Seeing Pestering in Action
Chapter 31- Accessing Location-Based Services

Topics covered:
o
o
o
o
o
Location Providers: They Know Where You’re Hiding
Finding Yourself
On the Move
Are We There Yet? Are We There Yet? Are We There Yet?
Testing...Testing...
Chapter 32- Handling Telephone Calls
o
o
Report to the Manager
You Make the Call!
Chapter 33- Development Tools
o
o
o
Hierarchical Management
Delightful Dalvik Debugging Detailed, Demoed
 Logging
 File Push and Pull
 Screenshots
 Location Updates
 Placing Calls and Messages
Put It on My Card
 Creating a Card Image
 Inserting the Card
www.awbpro.com