Apress

Android Recipes

A Problem-Solution Approach

By Dave Smith , Jeff Friesen

Android Recipes Cover Image

Android Recipes: A Problem-Solution Approach is your user guide full of cookbook code recipes—ideal for rapidly understanding and using Google's open-source Android platform.

Full Description

  • ISBN13: 978-1-4302-3413-5
  • 456 Pages
  • User Level: Intermediate
  • Publication Date: May 1, 2011
  • Available eBook Formats: EPUB, MOBI, PDF
  • Print Book Price: $39.99
  • eBook Price: $27.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

Android continues to be one of the leading mobile OS and development platforms driving today's mobile innovations and the apps ecosystem. Android appears complex, but offers a variety of organized development kits to those coming into Android with differing programming language skill sets.

Android Recipes: A Problem-Solution Approach guides you step-by-step through a wide range of useful topics using complete and real-world working code examples.

In this book, you'll start off with a recap of Android architecture and app fundamentals, and then get down to business and build an app with Google’s Android SDK at the command line and Eclipse. Next, you'll learn how to accomplish practical tasks pertaining to the user interface, communications with the cloud, device hardware, data persistence, communications between applications, and interacting with Android itself. Finally, you'll learn how to leverage various libraries and Scripting Layer for Android (SL4A) to help you perform tasks more quickly, how to use the Android NDK to boost app performance, and how to design apps for performance, responsiveness, seamlessness, and more.

Instead of abstract descriptions of complex concepts, in Android Recipes, you'll find live code examples. When you start a new project, you can consider copying and pasting the code and configuration files from this book, then modifying them for your own customization needs. This can save you a great deal of work over creating a project from scratch!

What you’ll learn

  • Discover Android architecture and various Android-specific APIs
  • How to develop a unit conversion app in the context of command-line/Android SDK and Eclipse/Android SDK environments
  • How to accomplish various tasks related to the user interface and more
  • How to use external libraries to save time and effort
  • How to quickly develop an app using the Scripting Layer for Android (SL4A) tool
  • How to boost app performance by using the Android NDK
  • Guidelines for designing filtered apps, performant apps, responsive apps, and seamless apps

Who this book is for

Newcomers to Android, as well as more accomplished Android developers.

Table of Contents

Table of Contents

  1. Getting Started with Android
  2. User Interface Recipes
  3. Communications and Networking
  4. Interacting with Device Hardware and Media
  5. Persisting Data
  6. Interacting with the System
  7. Working with Libraries
  8. Scripting Layer for Android
  9. Android NDK
  10. App Design Guidelines
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

If you think that you've found an error in this book, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.

* Required Fields

On page 120:
There is no source code on this web site. I'm on page

http://www.apress.com/9781430234463

Author Comment:
The source code is available on this page. Simply click the Source Code/Downloads tab above, which will reveal a link from which you can download the book's supplementary material.

On page 288-290:

On p.287, Listing 5-20 exists.
On p.288, another Listing 5-20 appears. This should be Listing 5-21.

On p.289, the last line says "you see this in action in Listing 5-21" but I am not sure which listing to see.

Listing 5-22 does not exist.
I suppose it is the missing listing that is referred to as Listing 5-21 on P.289.