Book description
What does it take to build well-engineered Android applications? Explore Android's core building blocks and APIs in depth with this authoritative guide, and learn how to create compelling apps that work on a full range of Android devices. You'll work with proven approaches to app design and implementation—including application frameworks that you can use as a starting point for your own projects.
Delve into sensors, native development, 3D graphics, and many other topics, and discover how to build apps on the platform of your choice. If you're an intermediate to advanced programmer, you'll learn how to make great Android apps.
- Learn how to use the Android SDK with the Eclipse IDE
- Apply advanced Java concepts regardless of your experience with the language
- Create an Android user interface that's captivating and easy to navigate
- Use the Fragment API for tablet user interfaces
- Make your application compatible with Honeycomb and earlier versions
- Understand Android's unique database design issues and the role of SQLite
- Use sensors and gestures to expand your app's input beyond just tapping and scrolling
- Explore Android APIs for multimedia, location, communication, NFC, and other applications
Publisher resources
Table of contents
- A Note Regarding Supplemental Files
- Preface
-
I. Tools and Basics
-
1. Your Toolkit
- Installing the Android SDK and Prerequisites
- Test Drive: Confirm That Your Installation Works
- Components of the SDK
- Keeping Up-to-Date
- Example Code
- On Reading Code
-
2. Java for Android
- Android Is Reshaping Client-Side Java
- The Java Type System
- Scope
- Idioms of Java Programming
-
3. The Ingredients of an Android Application
- Traditional Programming Models Compared to Android
- Activities, Intents, and Tasks
- Other Android Components
- Static Application Resources and Context
- Resources
- The Android Application Runtime Environment
- Component Life Cycles
- Packaging an Android Application: The .apk File
- On Porting Software to Android
-
4. Getting Your Application into Users’
Hands
- Application Signing
- Placing an Application for Distribution in the Android Market
- Google Maps API Keys
- Specifying API-Level Compatibility
- Compatibility with Many Kinds of Screens
- 5. Eclipse for Android Software Development
- 6. Effective Java for Android
-
1. Your Toolkit
-
II. About the Android Framework
- 7. Building a View
- 8. Fragments and Multiplatform Support
- 9. Drawing 2D and 3D Graphics
-
10. Handling and Persisting Data
- Relational Database Overview
- SQLite
- The SQL Language
- SQL and the Database-Centric Data Model for Android Applications
- The Android Database Classes
- Database Design for Android Applications
- Using the Database API: MJAndroid
-
III. A Skeleton Application for
Android
- 11. A Framework for a Well-Behaved Application
- 12. Using Content Providers
-
13. Exploring Content Providers
- Developing RESTful Android Applications
- A “Network MVC”
- Summary of Benefits
- Code Example: Dynamically Listing and Caching YouTube Video Content
- Structure of the Source Code for the Finch YouTube Video Example
- Stepping Through the Search Application
- Step 1: Our UI Collects User Input
- Step 2: Our Controller Listens for Events
- Step 3: The Controller Queries the Content Provider with a managedQuery on the Content Provider/Model
- Step 4: Implementing the RESTful Request
-
IV. Advanced Topics
- 14. Multimedia
- 15. Location and Mapping
- 16. Sensors, NFC, Speech, Gestures, and Accessibility
- 17. Communication, Identity, Sync, and Social Media
- 18. The Android Native Development Kit (NDK)
- Index
- About the Authors
- Colophon
- Copyright
Product information
- Title: Programming Android
- Author(s):
- Release date: July 2011
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449389697
You might also like
book
Programming Android, 2nd Edition
Get thoroughly up to speed on Android programming, and learn how to create up-to-date user experiences …
book
Asynchronous Android Programming - Second Edition
Unlock the power of multi-core mobile devices to build responsive and reactive Android applications About This …
book
Learning Embedded Android N Programming
Create the perfectly customized system by unleashing the power of Android OS on your embedded device …
book
Embedded Android
Looking to port Android to other platforms such as embedded devices? This hands-on book shows you …