Book description
This practical book provides the concepts and code you need to develop software with Android, the open-source platform for cell phones and mobile devices that's generating enthusiasm across the industry. Based on the Linux operating system and developed by Google and the Open Handset Alliance, Android has the potential to unite a fragmented mobile market. Android Application Development introduces this programming environment, and offers you a complete working example that demonstrates Android architectural features and APIs. With this book, you will:
- Get a complete introduction to the Android programming environment, architecture, and tools
- Build a modular application, beginning with a core module that serves to launch modules added in subsequent chapters
- Learn the concepts and architecture of a specific feature set, including views, maps, location-based services, persistent data storage, 2D and 3D graphics, media services, telephony services, and messaging
- Use ready-to-run example code that implements each feature
- Delve into advanced topics, such as security, custom views, performance analysis, and internationalization
The book is a natural complement to the existing Android documentation provided by Google. Whether you want to develop a commercial application for mobile devices, or just want to create a mobile mashup for personal use, Android Application Development demonstrates how you can design, build, and test applications for the new mobile market.
Publisher resources
Table of contents
- A Note Regarding Supplemental Files
- Preface
-
I. Development Kit Walk-Through
- 1. Getting to Know Android
- 2. Setting Up Your Android Development Environment
- 3. Using the Android Development Environment for Real Applications
- 4. Under the Covers: Startup Code and Resources in the MJAndroid Application
- 5. Debugging Android Applications
- 6. The ApiDemos Application
- 7. Signing and Publishing Your Application
-
II. Programming Topics
-
8. Persistent Data Storage: SQLite Databases and Content
Providers
- Databases
-
Content Providers
- Introducing NotePad
-
Content Providers
-
Implementing a content provider
- Extend ContentProvider
- NotePadProvider class and instance variables
- Define CONTENT_URI
- Create the data storage
- Create the column names
- Supporting binary data
- Declare column specification strings
- Implement the Cursor
- Create data (insert)
- Read/select data (query)
- Update data
- Delete data
- Updating AndroidManifest.xml
- Define MIME types
-
Implementing a content provider
- Consuming a Content Provider
- 9. Location and Mapping
- 10. Building a View
- 11. A Widget Bestiary
- 12. Drawing 2D and 3D Graphics
- 13. Inter-Process Communication
- 14. Simple Phone Calls
- 15. Telephony State Information and Android Telephony Classes
-
8. Persistent Data Storage: SQLite Databases and Content
Providers
- A. Wireless Protocols
- Index
- About the Authors
- Colophon
- Copyright
Product information
- Title: Android Application Development
- Author(s):
- Release date: May 2009
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596521479
You might also like
book
Android High Performance Programming
Build fast and efficient Android apps that run as reliably as clockwork in a multi-device world …
book
Android in Practice
Android in Practice is a treasure trove of Android goodness, with over 90 tested, ready-to-use techniques …
book
Learning Android Application Testing
Improve your Android applications through intensive testing and debugging In Detail This book is a practical …
book
The Android™ Developer’s Cookbook: Building Applications with the Android SDK, Second Edition
Do you want to get started building apps for Android, today’s number one mobile platform? Are …