Android Application Development Cookbook
A must-have collection of ready-to-use Android recipes!
The popularity of Google Android devices is seemingly unstoppable and the Android 4 release offers, for the first time, a single OS solution for building both phone and tablet applications. With that exciting information in mind, veteran author Wei-Meng Lee presents you with 100 unique recipes that you can apply today in order to discover solutions to some of the most commonly encountered problems that exist in Android programming.
Covering the scope of multiple Android releases up through Android 4, this reference features a task description, followed by the solution(s) available, and a standalone project file that illustrates the use of the recipe. Formatting each recipe to be standalone, Wei-Meng Lee allows you to jump into the relevant recipe to find a solution to specific challenges.
- Identifies and describes a programming task, provides a step-by-step solution, and presents a full-code solution ready for download
- Covers multiple Android releases
- Addresses such topics as user interfaces, telephony and messaging, networking, Google maps, location-based services, persisting data, leveraging hardware features, and more
Android Application Development Cookbook is your solution to discovering…solutions!
From the Back Cover
An essential stockpile of ready-to-use, unique Android recipes
Covering the scope of multiple Android releases through Android 4.1, this essential reference is a must-have collection of ready-to-use Android recipes. Each chapter contains various recipes that address common everyday challenges and features a task description, followed by the solution(s) available, and a customizable, stand-alone project file that illustrates the use of the recipe. Packed with almost 100 recipes, this helpful book serves as your resource to successful solutions.
Here are some of the helpful recipes and solutions you’ll find in Android Application Development Cookbook:
- Android Fundamentals
Programmatically Registering a Broadcast Receiver, Auto-Launching Your Application at Boot Time, Calling Built-In Apps, Making Your Application Callable By Others
- User Interface, Views, and Lists
Implementing a Star Rating System, Loading from an Assets Folder, Displaying Context and Options Menus, Displaying Dialogs, Implementing Paging, Customizing the ListView, Animating the Changing of Images Using the ImageSwitcher
- Telephony, Messaging, and Networking
Blocking Outgoing Calls, Auto-Answering an Incoming Call, Getting the Phone Number, IMEI, and SIM Card ID, Monitoring Outgoing SMS Messages, Intercepting Incoming SMS Messages, Consuming XML Web Services, Creating a Socket Server, Creating a Socket Client, Creating a Bluetooth Chat Application, Finding a User-Friendly Address Using Reverse Geocoding and Vice Versa
- Location-Based Data Services
Obtaining Geographical Location Using GPS, Wi-Fi, or Cellular Networks, Location Data Logging, Capturing Pictures with the Camera, Switching on the Flashlight, Capturing Barcodes
- Persisting Data
Saving and Loading User Preferences, Creating a Preference Screen, Saving Files to the Data Directory, Saving Files to the Cache Directory, Saving Files to External Storage, Attaching Files to Your Project
Table of Contents
Chapter 1. Android Fundamentals
Chapter 2. Using Views to Design the User Interface
Chapter 3. Displaying Lists of Items and Images
Chapter 4. Telephony
Chapter 5. Messaging
Chapter 6. Network Programming
Chapter 7. Using Google Maps
Chapter 8. Location-Based Data Services
Chapter 9. Acc essing the Hardware
Chapter 10. Persisting Data
Chapter 11. Deploying Your Android Applications
- Paperback: 408 pages
- Publisher: Wrox (January 2013)
- Language: English
- ISBN-10: 1118177673
- ISBN-13: 978-1118177679