Hello, Android: Introducing Google's Mobile Development Platform

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Android is a software toolkit for mobile phones, created by Google and the Open Handset Alliance. It's inside millions of cell phones and other mobile devices, making Android a major platform for application developers. That could be your own program running on all those devices. Getting started developing with Android is easy. You don't even need access to an Android phone, just a computer where you can install the Android SDK and the phone emulator that comes with it. Within minutes, "Hello, Android" will get you creating your first working application: Android's version of "Hello, World." From there, you'll build up a more substantial example: an Android Sudoku game. By gradually adding features to the game throughout the course of the book, you'll learn about many aspects of Android programming including user interfaces, multimedia, and the Android life cycle. This second edition has been completely revised for Android 1.5 (Cupcake) and Android 1.6 (Donut). Every page and example was reviewed and updated for compatibility with the new version. In addition, two new appendixes show you how to create Widgets for the Home screen and publish your application to the Android Market. If you're a busy developer who'd rather be coding than reading about coding, this book is for you. To help you find what you need to know fast, each chapter ends with a "Fast-Forward" section. These sections provide guidance for where you should go next when you need to read the book out of order.

Author(s): Lester Helms
Series: Pragmatic Programmers
Edition: 2nd
Publisher: Pragmatic Bookshelf
Year: 2009

Language: English
Pages: 251

Hello, Android (November 2009) (ATTiCA)......Page 1
Contents......Page 5
Acknowledgments......Page 9
What Makes Android Special?......Page 10
Who Should Read This Book?......Page 11
What's New for Cupcake?......Page 12
Online Resources......Page 13
Fast-Forward >>......Page 14
Introducing Android......Page 15
Installing the Tools......Page 16
Running on the Emulator......Page 20
Running on a Real Phone......Page 23
Fast-Forward >>......Page 24
The Big Picture......Page 27
It's Alive!......Page 32
Building Blocks......Page 36
Using Resources......Page 37
Safe and Secure......Page 38
Fast-Forward >>......Page 39
Android Basics......Page 40
Introducing the Sudoku Example......Page 41
Designing by Declaration......Page 42
Creating the Opening Screen......Page 43
Using Alternate Resources......Page 51
Implementing an About Box......Page 54
Applying a Theme......Page 59
Adding a Menu......Page 60
Adding Settings......Page 63
Starting a New Game......Page 65
Debugging with Log Messages......Page 67
Exiting the Game......Page 68
Fast-Forward >>......Page 69
Learning the Basics......Page 70
Adding Graphics to Sudoku......Page 75
Handling Input......Page 84
The Rest of the Story......Page 90
Making More Improvements......Page 99
Fast-Forward >>......Page 100
Playing Audio......Page 101
Playing Video......Page 107
Adding Sounds to Sudoku......Page 112
Fast-Forward >>......Page 115
Adding Options to Sudoku......Page 116
Continuing an Old Game......Page 118
Remembering the Current Position......Page 120
Accessing the Internal File System......Page 122
Accessing SD Cards......Page 123
Fast-Forward >>......Page 124
Beyond the Basics......Page 125
The Connected World......Page 126
Browsing by Intent......Page 127
Web with a View......Page 131
From JavaScript to Java and Back......Page 136
Using Web Services......Page 143
Fast-Forward >>......Page 154
Location, Location, Location......Page 155
Set Sensors to Maximum......Page 161
Bird's-Eye View......Page 164
Fast-Forward >>......Page 170
Introducing SQLite......Page 171
SQL 101......Page 172
Hello, Database......Page 174
Data Binding......Page 182
Using a ContentProvider......Page 185
Implementing a ContentProvider......Page 188
Fast-Forward >>......Page 189
Understanding 3D Graphics......Page 191
Introducing OpenGL......Page 192
Building an OpenGL Program......Page 193
Rendering the Scene......Page 195
Building a Model......Page 199
Lights, Camera, .........Page 202
Applying Texture......Page 205
Peekaboo......Page 209
Measuring Smoothness......Page 210
Fast-Forward >>......Page 211
Appendixes......Page 212
Language Subset......Page 213
Standard Library Subset......Page 215
Third-Party Libraries......Page 216
Creating Your First Widget......Page 217
Calling All Widgets!......Page 219
Stretch to Fit......Page 220
The Rest of the Story......Page 221
Running the Widget......Page 222
Keeping Up to Date......Page 224
Go Wild......Page 226
Preparing......Page 227
Signing......Page 230
Publishing......Page 231
Closing thoughts......Page 233
Bibliography......Page 235
A......Page 236
D......Page 237
G......Page 238
J......Page 239
N......Page 240
P......Page 241
S......Page 242
T......Page 243
Z......Page 244