The busy coder's guide to Android development
If you are interested in programming for Android, you will need at least basic understanding of how to program in Java. Android programming is done using Java syntax, plus a class library that resembles a subset of the Java SE library (plus Android-specific extensions). If you have not programmed in...
Saved in:
Institution: | Biblioteca digital de libros de acceso abierto |
---|---|
Main Author: | |
Format: | Book |
Language: | English |
Published: |
United States : CommonsWare, 2008.
2008-07
|
Subjects: | |
Online Access: | http://libros.metabiblioteca.org/handle/001/414 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
id |
oai:libros.metabiblioteca.org:001-414 |
---|---|
recordtype |
dspace |
spelling |
Murphy, Mark L. 2012-01-24T17:00:48Z 2012-01-24T17:00:48Z 2008-07 380 p. ; il. , Indice. Libro Electrónico If you are interested in programming for Android, you will need at least basic understanding of how to program in Java. Android programming is done using Java syntax, plus a class library that resembles a subset of the Java SE library (plus Android-specific extensions). If you have not programmed in Java before, you probably should quick learn how that works before attempting to dive into programming for Android. The book does not cover in any detail how to download or install the Android development tools, either the Eclipse IDE flavor or the standalone flavor. The Android Web site covers this quite nicely. The material in the book should be relevant whether you use the IDE or not. You should download, install, and test out the Android development tools from the Android Web site before trying any of the examples listed in this book. Welcome to the Warescription!xiii Prefacexv Welcome to the Book!xv Prerequisitesxv Warescriptionxvi Book Bug Bountyxvii Source Code Licensexviii Creative Commons and the Four-to-Free (42F) Guaranteexviii The Big Picture1 What Androids Are Made Of3 Activities3 Content Providers4 Intents4 Services4 Stuff At Your Disposal5 Storage5 Network5 Multimedia5 GPS5 Phone Services6 Project Structure7 Root Contents7 The Sweat Off Your Brow8 iii Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition And Now, The Rest of the Story8 What You Get Out Of It9 Inside the Manifest11 In The Beginning, There Was the Root, And It Was Good11 Permissions, Instrumentations, and Applications (Oh, My!)12 Your Application Does Something, Right?13 Creating a Skeleton Application17 Begin at the Beginning17 The Activity18 Dissecting the Activity19 Building and Running the Activity21 Using XML-Based Layouts23 What Is an XML-Based Layout?23 Why Use XML-Based Layouts?24 OK, So What Does It Look Like?25 What's With the @ Signs?26 And We Attach These to the JavaHow?26 The Rest of the Story27 Employing Basic Widgets29 Assigning Labels29 Button, Button, Who's Got the Button?30 Fleeting Images31 Fields of Green Or Other Colors31 Just Another Box to Check34 Turn the Radio Up37 It's Quite a View39 Useful Properties39 Useful Methods39 Working with Containers41 Thinking Linearly42 Concepts and Properties42 Example45 All Things Are Relative50 iv Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition Concepts and Properties50 Example53 Tabula Rasa56 Concepts and Properties56 Example59 Scrollwork60 Using Selection Widgets65 Adapting to the Circumstances65 Using ArrayAdapter66 Other Key Adapters67 Lists of Naughty and Nice68 Spin Control70 Grid Your Lions (Or Something Like That)74 Fields: Now With 35% Less Typing!78 Galleries, Give Or Take The Art82 Employing Fancy Widgets and Containers83 Pick and Choose83 Time Keeps Flowing Like a River88 Making Progress89 Putting It On My Tab90 The Pieces91 The Idiosyncrasies91 Wiring It Together93 Other Containers of Note96 Applying Menus97 Flavors of Menu97 Menus of Options98 Menus in Context100 Taking a Peek102 Embedding the WebKit Browser107 A Browser, Writ Small107 Loading It Up109 Navigating the Waters111 v Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition Entertaining the Client111 Settings, Preferences, and Options (Oh, My!)114 Showing Pop-Up Messages117 Raising Toasts117 Alert! Alert!118 Checking Them Out119 Dealing with Threads123 Getting Through the Handlers123 Messages124 Runnables127 Running In Place127 Utilities (And I Don't Mean Water Works)128 And Now, The Caveats128 Handling Activity Lifecycle Events131 Schroedinger's Activity131 Life, Death, and Your Activity132 onCreate() and onCompleteThaw()132 onStart(), onRestart(), and onResume()133 onPause(), onFreeze(), onStop(), and onDestroy()134 Using Preferences137 Getting What You Want137 Stating Your Preference138 A Preference For Action138 Accessing Files143 You And The Horse You Rode In On143 Readin' 'n Writin'147 Working with Resources151 The Resource Lineup151 String Theory152 Plain Strings152 String Formats153 Styled Text153 Styled Formats154 vi Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition Got the Picture?158 XML: The Resource Way160 Miscellaneous Values163 Dimensions163 Colors164 Arrays165 Different Strokes for Different Folks166 Managing and Accessing Local Databases171 A Quick SQLite Primer172 Start at the Beginning173 Setting the Table174 Makin' Data174 What Goes Around, Comes Around176 Raw Queries176 Regular Queries177 Building with Builders177 Using Cursors179 Change for the Sake of Change179 Making Your Own Cursors180 Data, Data, Everywhere180 Leveraging Java Libraries183 The Outer Limits183 Ants and Jars184 Communicating via the Internet187 REST and Relaxation187 HTTP Operations via Apache Commons188 Parsing Responses190 Stuff To Consider192 Email over Java193 Creating Intent Filters199 What's Your Intent?200 Pieces of Intents200 Stock Options201 vii Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition Intent Routing202 Stating Your Intent(ions)203 Narrow Receivers205 Launching Activities and Sub-Activities207 Peers and Subs208 Start 'Em Up208 Make an Intent209 Make the Call209 Finding Available Actions via Introspection215 Pick 'Em216 Adaptable Adapters220 Would You Like to See the Menu?223 Asking Around225 Using a Content Provider229 Pieces of Me229 Getting a Handle230 Makin' Queries231 Adapting to the Circumstances233 Doing It By Hand235 Position235 Getting Properties236 Setting Properties237 Give and Take238 Beware of the BLOB!239 Building a Content Provider241 First, Some Dissection241 Next, Some Typing242 Step #1: Create a Provider Class243 ContentProvider243 DatabaseContentProvider252 Step #2: Supply a Uri252 Step #3: Declare the Properties252 Step #4: Update the Manifest253 viii Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition Notify-On-Change Support254 Requesting and Requiring Permissions257 Mother, May I?258 Halt! Who Goes There?259 Enforcing Permissions via the Manifest260 Enforcing Permissions Elsewhere261 May I See Your Documents?262 Creating a Service263 Getting Buzzed264 Service with Class264 When IPC Attacks!266 Write the AIDL267 Implement the Interface268 Manifest Destiny270 Where's the Remote?271 Invoking a Service273 Bound for Success274 Request for Service276 Prometheus Unbound276 Manual Transmission276 Alerting Users Via Notifications279 Types of Pestering279 Hardware Notifications280 Icons281 Letting Your Presence Be Felt281 Accessing Location-Based Services287 Location Providers: They Know Where You're Hiding288 Finding Yourself288 On the Move292 Are We There Yet? Are We There Yet? Are We There Yet?292 TestingTesting296 Mapping with MapView and MapActivity299 The Bare Bones299 ix Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition Exercising Your Control301 Zoom301 Center302 Reticle303 Traffic and Terrain303 Follow You, Follow Me305 Layers Upon Layers307 Overlay Classes308 Drawing the Overlay308 Handling Screen Taps310 Playing Media313 Get Your Media On314 Making Noise315 Moving Pictures321 Handling Telephone Calls325 No, No, No – Not That IPhone326 What's Our Status?326 You Make the Call!326 Searching with SearchManager333 Hunting Season333 Search Yourself335 Craft the Search Activity336 Update the Manifest340 Try It Out342 The TourIt Sample Application347 Installing TourIt347 Demo Location Provider347 SD Card Image with Sample Tour348 Running TourIt349 Main Activity350 Configuration Activity352 Cue Sheet Activity354 Map Activity355 x Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition Tour Update Activity357 Help Activity358 TourIt's Manifest359 TourIt's Content360 Data Storage361 Content Provider361 Model Classes361 TourIt's Activities362 TourListActivity362 TourViewActivity363 TourMapActivity367 TourEditActivity367 HelpActivity367 ConfigActivity368 application/pdf 978-0-9816780-0-9 http://libros.metabiblioteca.org/handle/001/414 eng United States : CommonsWare, 2008. Special Creative Commons BY-NC-SA 3.0 License Edition openAccess http://creativecommons.org/licenses/by-nc-sa/3.0/ http://commonsware.com/Android/Android-1_0-CC.pdf Android XML Aplicaciones Android Bases de Datos Computer programming -- Handbooks, manuals, etc Open source software -- Handbooks, manuals, etc Computer software -- Handbooks, manuals, etc Programmation -- Guides, manuels, etc Dispositivos Móviles Mobile Devices The busy coder's guide to Android development Book |
institution |
Biblioteca digital de libros de acceso abierto |
collection |
d_libros.metabiblioteca.org-DSPACE |
title |
The busy coder's guide to Android development |
spellingShingle |
The busy coder's guide to Android development Murphy, Mark L. Murphy, Mark L. Android XML Aplicaciones Android Bases de Datos Computer programming -- Handbooks, manuals, etc Open source software -- Handbooks, manuals, etc Computer software -- Handbooks, manuals, etc Programmation -- Guides, manuels, etc Dispositivos Móviles Mobile Devices Welcome to the Warescription!xiii Prefacexv Welcome to the Book!xv Prerequisitesxv Warescriptionxvi Book Bug Bountyxvii Source Code Licensexviii Creative Commons and the Four-to-Free (42F) Guaranteexviii The Big Picture1 What Androids Are Made Of3 Activities3 Content Providers4 Intents4 Services4 Stuff At Your Disposal5 Storage5 Network5 Multimedia5 GPS5 Phone Services6 Project Structure7 Root Contents7 The Sweat Off Your Brow8 iii Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition And Now, The Rest of the Story8 What You Get Out Of It9 Inside the Manifest11 In The Beginning, There Was the Root, And It Was Good11 Permissions, Instrumentations, and Applications (Oh, My!)12 Your Application Does Something, Right?13 Creating a Skeleton Application17 Begin at the Beginning17 The Activity18 Dissecting the Activity19 Building and Running the Activity21 Using XML-Based Layouts23 What Is an XML-Based Layout?23 Why Use XML-Based Layouts?24 OK, So What Does It Look Like?25 What's With the @ Signs?26 And We Attach These to the JavaHow?26 The Rest of the Story27 Employing Basic Widgets29 Assigning Labels29 Button, Button, Who's Got the Button?30 Fleeting Images31 Fields of Green Or Other Colors31 Just Another Box to Check34 Turn the Radio Up37 It's Quite a View39 Useful Properties39 Useful Methods39 Working with Containers41 Thinking Linearly42 Concepts and Properties42 Example45 All Things Are Relative50 iv Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition Concepts and Properties50 Example53 Tabula Rasa56 Concepts and Properties56 Example59 Scrollwork60 Using Selection Widgets65 Adapting to the Circumstances65 Using ArrayAdapter66 Other Key Adapters67 Lists of Naughty and Nice68 Spin Control70 Grid Your Lions (Or Something Like That)74 Fields: Now With 35% Less Typing!78 Galleries, Give Or Take The Art82 Employing Fancy Widgets and Containers83 Pick and Choose83 Time Keeps Flowing Like a River88 Making Progress89 Putting It On My Tab90 The Pieces91 The Idiosyncrasies91 Wiring It Together93 Other Containers of Note96 Applying Menus97 Flavors of Menu97 Menus of Options98 Menus in Context100 Taking a Peek102 Embedding the WebKit Browser107 A Browser, Writ Small107 Loading It Up109 Navigating the Waters111 v Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition Entertaining the Client111 Settings, Preferences, and Options (Oh, My!)114 Showing Pop-Up Messages117 Raising Toasts117 Alert! Alert!118 Checking Them Out119 Dealing with Threads123 Getting Through the Handlers123 Messages124 Runnables127 Running In Place127 Utilities (And I Don't Mean Water Works)128 And Now, The Caveats128 Handling Activity Lifecycle Events131 Schroedinger's Activity131 Life, Death, and Your Activity132 onCreate() and onCompleteThaw()132 onStart(), onRestart(), and onResume()133 onPause(), onFreeze(), onStop(), and onDestroy()134 Using Preferences137 Getting What You Want137 Stating Your Preference138 A Preference For Action138 Accessing Files143 You And The Horse You Rode In On143 Readin' 'n Writin'147 Working with Resources151 The Resource Lineup151 String Theory152 Plain Strings152 String Formats153 Styled Text153 Styled Formats154 vi Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition Got the Picture?158 XML: The Resource Way160 Miscellaneous Values163 Dimensions163 Colors164 Arrays165 Different Strokes for Different Folks166 Managing and Accessing Local Databases171 A Quick SQLite Primer172 Start at the Beginning173 Setting the Table174 Makin' Data174 What Goes Around, Comes Around176 Raw Queries176 Regular Queries177 Building with Builders177 Using Cursors179 Change for the Sake of Change179 Making Your Own Cursors180 Data, Data, Everywhere180 Leveraging Java Libraries183 The Outer Limits183 Ants and Jars184 Communicating via the Internet187 REST and Relaxation187 HTTP Operations via Apache Commons188 Parsing Responses190 Stuff To Consider192 Email over Java193 Creating Intent Filters199 What's Your Intent?200 Pieces of Intents200 Stock Options201 vii Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition Intent Routing202 Stating Your Intent(ions)203 Narrow Receivers205 Launching Activities and Sub-Activities207 Peers and Subs208 Start 'Em Up208 Make an Intent209 Make the Call209 Finding Available Actions via Introspection215 Pick 'Em216 Adaptable Adapters220 Would You Like to See the Menu?223 Asking Around225 Using a Content Provider229 Pieces of Me229 Getting a Handle230 Makin' Queries231 Adapting to the Circumstances233 Doing It By Hand235 Position235 Getting Properties236 Setting Properties237 Give and Take238 Beware of the BLOB!239 Building a Content Provider241 First, Some Dissection241 Next, Some Typing242 Step #1: Create a Provider Class243 ContentProvider243 DatabaseContentProvider252 Step #2: Supply a Uri252 Step #3: Declare the Properties252 Step #4: Update the Manifest253 viii Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition Notify-On-Change Support254 Requesting and Requiring Permissions257 Mother, May I?258 Halt! Who Goes There?259 Enforcing Permissions via the Manifest260 Enforcing Permissions Elsewhere261 May I See Your Documents?262 Creating a Service263 Getting Buzzed264 Service with Class264 When IPC Attacks!266 Write the AIDL267 Implement the Interface268 Manifest Destiny270 Where's the Remote?271 Invoking a Service273 Bound for Success274 Request for Service276 Prometheus Unbound276 Manual Transmission276 Alerting Users Via Notifications279 Types of Pestering279 Hardware Notifications280 Icons281 Letting Your Presence Be Felt281 Accessing Location-Based Services287 Location Providers: They Know Where You're Hiding288 Finding Yourself288 On the Move292 Are We There Yet? Are We There Yet? Are We There Yet?292 TestingTesting296 Mapping with MapView and MapActivity299 The Bare Bones299 ix Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition Exercising Your Control301 Zoom301 Center302 Reticle303 Traffic and Terrain303 Follow You, Follow Me305 Layers Upon Layers307 Overlay Classes308 Drawing the Overlay308 Handling Screen Taps310 Playing Media313 Get Your Media On314 Making Noise315 Moving Pictures321 Handling Telephone Calls325 No, No, No – Not That IPhone326 What's Our Status?326 You Make the Call!326 Searching with SearchManager333 Hunting Season333 Search Yourself335 Craft the Search Activity336 Update the Manifest340 Try It Out342 The TourIt Sample Application347 Installing TourIt347 Demo Location Provider347 SD Card Image with Sample Tour348 Running TourIt349 Main Activity350 Configuration Activity352 Cue Sheet Activity354 Map Activity355 x Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition Tour Update Activity357 Help Activity358 TourIt's Manifest359 TourIt's Content360 Data Storage361 Content Provider361 Model Classes361 TourIt's Activities362 TourListActivity362 TourViewActivity363 TourMapActivity367 TourEditActivity367 HelpActivity367 ConfigActivity368 |
title_short |
The busy coder's guide to Android development |
title_full |
The busy coder's guide to Android development |
title_fullStr |
The busy coder's guide to Android development |
title_full_unstemmed |
The busy coder's guide to Android development |
title_sort |
busy coder's guide to android development |
author |
Murphy, Mark L. Murphy, Mark L. |
author_facet |
Murphy, Mark L. Murphy, Mark L. |
building |
Repositorio digital |
topic |
Android XML Aplicaciones Android Bases de Datos Computer programming -- Handbooks, manuals, etc Open source software -- Handbooks, manuals, etc Computer software -- Handbooks, manuals, etc Programmation -- Guides, manuels, etc Dispositivos Móviles Mobile Devices |
topic_facet |
Android XML Aplicaciones Android Bases de Datos Computer programming -- Handbooks, manuals, etc Open source software -- Handbooks, manuals, etc Computer software -- Handbooks, manuals, etc Programmation -- Guides, manuels, etc Dispositivos Móviles Mobile Devices |
publishDate |
2008-07 |
language |
English |
publisher |
United States : CommonsWare, 2008. |
format |
Book |
description |
If you are interested in programming for Android, you will need at least basic understanding of how to program in Java. Android programming is done using Java syntax, plus a class library that resembles a subset of the Java SE library (plus Android-specific extensions). If you have not programmed in Java before, you probably should quick learn how that works before attempting to dive into programming for Android.
The book does not cover in any detail how to download or install the Android development tools, either the Eclipse IDE flavor or the standalone flavor. The Android Web site covers this quite nicely. The material in the book should be relevant whether you use the IDE or not. You should download, install, and test out the Android development tools from the Android Web site before trying any of the examples listed in this book.
|
isbn |
978-0-9816780-0-9 |
url |
http://libros.metabiblioteca.org/handle/001/414 |
url_str_mv |
http://libros.metabiblioteca.org/handle/001/414 |
_version_ |
1795571616789299200 |
contents |
Welcome to the Warescription!xiii
Prefacexv
Welcome to the Book!xv
Prerequisitesxv
Warescriptionxvi
Book Bug Bountyxvii
Source Code Licensexviii
Creative Commons and the Four-to-Free (42F) Guaranteexviii
The Big Picture1
What Androids Are Made Of3
Activities3
Content Providers4
Intents4
Services4
Stuff At Your Disposal5
Storage5
Network5
Multimedia5
GPS5
Phone Services6
Project Structure7
Root Contents7
The Sweat Off Your Brow8
iii
Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition
And Now, The Rest of the Story8
What You Get Out Of It9
Inside the Manifest11
In The Beginning, There Was the Root, And It Was Good11
Permissions, Instrumentations, and Applications (Oh, My!)12
Your Application Does Something, Right?13
Creating a Skeleton Application17
Begin at the Beginning17
The Activity18
Dissecting the Activity19
Building and Running the Activity21
Using XML-Based Layouts23
What Is an XML-Based Layout?23
Why Use XML-Based Layouts?24
OK, So What Does It Look Like?25
What's With the @ Signs?26
And We Attach These to the JavaHow?26
The Rest of the Story27
Employing Basic Widgets29
Assigning Labels29
Button, Button, Who's Got the Button?30
Fleeting Images31
Fields of Green Or Other Colors31
Just Another Box to Check34
Turn the Radio Up37
It's Quite a View39
Useful Properties39
Useful Methods39
Working with Containers41
Thinking Linearly42
Concepts and Properties42
Example45
All Things Are Relative50
iv
Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition
Concepts and Properties50
Example53
Tabula Rasa56
Concepts and Properties56
Example59
Scrollwork60
Using Selection Widgets65
Adapting to the Circumstances65
Using ArrayAdapter66
Other Key Adapters67
Lists of Naughty and Nice68
Spin Control70
Grid Your Lions (Or Something Like That)74
Fields: Now With 35% Less Typing!78
Galleries, Give Or Take The Art82
Employing Fancy Widgets and Containers83
Pick and Choose83
Time Keeps Flowing Like a River88
Making Progress89
Putting It On My Tab90
The Pieces91
The Idiosyncrasies91
Wiring It Together93
Other Containers of Note96
Applying Menus97
Flavors of Menu97
Menus of Options98
Menus in Context100
Taking a Peek102
Embedding the WebKit Browser107
A Browser, Writ Small107
Loading It Up109
Navigating the Waters111
v
Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition
Entertaining the Client111
Settings, Preferences, and Options (Oh, My!)114
Showing Pop-Up Messages117
Raising Toasts117
Alert! Alert!118
Checking Them Out119
Dealing with Threads123
Getting Through the Handlers123
Messages124
Runnables127
Running In Place127
Utilities (And I Don't Mean Water Works)128
And Now, The Caveats128
Handling Activity Lifecycle Events131
Schroedinger's Activity131
Life, Death, and Your Activity132
onCreate() and onCompleteThaw()132
onStart(), onRestart(), and onResume()133
onPause(), onFreeze(), onStop(), and onDestroy()134
Using Preferences137
Getting What You Want137
Stating Your Preference138
A Preference For Action138
Accessing Files143
You And The Horse You Rode In On143
Readin' 'n Writin'147
Working with Resources151
The Resource Lineup151
String Theory152
Plain Strings152
String Formats153
Styled Text153
Styled Formats154
vi
Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition
Got the Picture?158
XML: The Resource Way160
Miscellaneous Values163
Dimensions163
Colors164
Arrays165
Different Strokes for Different Folks166
Managing and Accessing Local Databases171
A Quick SQLite Primer172
Start at the Beginning173
Setting the Table174
Makin' Data174
What Goes Around, Comes Around176
Raw Queries176
Regular Queries177
Building with Builders177
Using Cursors179
Change for the Sake of Change179
Making Your Own Cursors180
Data, Data, Everywhere180
Leveraging Java Libraries183
The Outer Limits183
Ants and Jars184
Communicating via the Internet187
REST and Relaxation187
HTTP Operations via Apache Commons188
Parsing Responses190
Stuff To Consider192
Email over Java193
Creating Intent Filters199
What's Your Intent?200
Pieces of Intents200
Stock Options201
vii
Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition
Intent Routing202
Stating Your Intent(ions)203
Narrow Receivers205
Launching Activities and Sub-Activities207
Peers and Subs208
Start 'Em Up208
Make an Intent209
Make the Call209
Finding Available Actions via Introspection215
Pick 'Em216
Adaptable Adapters220
Would You Like to See the Menu?223
Asking Around225
Using a Content Provider229
Pieces of Me229
Getting a Handle230
Makin' Queries231
Adapting to the Circumstances233
Doing It By Hand235
Position235
Getting Properties236
Setting Properties237
Give and Take238
Beware of the BLOB!239
Building a Content Provider241
First, Some Dissection241
Next, Some Typing242
Step #1: Create a Provider Class243
ContentProvider243
DatabaseContentProvider252
Step #2: Supply a Uri252
Step #3: Declare the Properties252
Step #4: Update the Manifest253
viii
Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition
Notify-On-Change Support254
Requesting and Requiring Permissions257
Mother, May I?258
Halt! Who Goes There?259
Enforcing Permissions via the Manifest260
Enforcing Permissions Elsewhere261
May I See Your Documents?262
Creating a Service263
Getting Buzzed264
Service with Class264
When IPC Attacks!266
Write the AIDL267
Implement the Interface268
Manifest Destiny270
Where's the Remote?271
Invoking a Service273
Bound for Success274
Request for Service276
Prometheus Unbound276
Manual Transmission276
Alerting Users Via Notifications279
Types of Pestering279
Hardware Notifications280
Icons281
Letting Your Presence Be Felt281
Accessing Location-Based Services287
Location Providers: They Know Where You're Hiding288
Finding Yourself288
On the Move292
Are We There Yet? Are We There Yet? Are We There Yet?292
TestingTesting296
Mapping with MapView and MapActivity299
The Bare Bones299
ix
Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition
Exercising Your Control301
Zoom301
Center302
Reticle303
Traffic and Terrain303
Follow You, Follow Me305
Layers Upon Layers307
Overlay Classes308
Drawing the Overlay308
Handling Screen Taps310
Playing Media313
Get Your Media On314
Making Noise315
Moving Pictures321
Handling Telephone Calls325
No, No, No – Not That IPhone326
What's Our Status?326
You Make the Call!326
Searching with SearchManager333
Hunting Season333
Search Yourself335
Craft the Search Activity336
Update the Manifest340
Try It Out342
The TourIt Sample Application347
Installing TourIt347
Demo Location Provider347
SD Card Image with Sample Tour348
Running TourIt349
Main Activity350
Configuration Activity352
Cue Sheet Activity354
Map Activity355
x
Subscribe to updates at http://commonswarecom Special Creative Commons BY-NC-SA 30 License Edition
Tour Update Activity357
Help Activity358
TourIt's Manifest359
TourIt's Content360
Data Storage361
Content Provider361
Model Classes361
TourIt's Activities362
TourListActivity362
TourViewActivity363
TourMapActivity367
TourEditActivity367
HelpActivity367
ConfigActivity368 |
score |
11.255725 |