Android Recipes: A Problem-Solution Approach [NOOK Book]


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, Second Edition guides you step-by-step through a wide range of useful topics using complete and real-world ...

See more details below
Android Recipes: A Problem-Solution Approach

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac

Want a NOOK? Explore Now

NOOK Book (eBook)
$28.99 price
(Save 19%)$35.99 List Price


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, Second Edition guides you step-by-step through a wide range of useful topics using complete and real-world working code examples.  It's updated to include latest Jelly Bean Android SDK as well as earlier releases. 

In this expanded edition,

  • You'll start off with a recap of Android architecture and app fundamentals, and then get down to business and build an app with Android SDK 4.1 version or earlier release 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

This book is a handy reference for all Android app developers.  Newcomers may also find this of interest, too.

Read More Show Less

Product Details

  • ISBN-13: 9781430246152
  • Publisher: Apress
  • Publication date: 12/3/2012
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 2
  • Pages: 960
  • File size: 9 MB

Meet the Author

Dave Smith is a professional engineer developing hardware and software for mobile and embedded platforms. Dave's engineering efforts are currently focused full-time on Android and iOS development. Since 2009, Dave has worked on developing at all levels of the Android platform, from writing user applications using the software development kit, to building and customizing the Android source code. Dave regularly communicates via his development blog ( and Twitter stream @devunwired.
Jeff Friesen is a freelance tutor and software developer with an emphasis on Java (and now Android). In addition to authoring Learn Java for Android Development and co-authoring Android Recipes -- Jeff has written numerous articles on Java and other technologies for JavaWorld (, informIT (,, and DevSource ( Jeff can be contacted via his website at,
Read More Show Less

Table of Contents

• Getting Started with Android
• User Interaction
• Graphics and Drawing
• Communications and Networking
• Interacting with Device Hardware and Media
• Persisting Data
• Interacting with the System
• Working with Android NDK and Renderscript

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 4 Customer Reviews
  • Posted June 27, 2011

    fantastic, to the point reference

    im an experienced programmer that often finds programming books too long winded but this book is very concise. the moment i opened the book i was able to find the code i needed to get me through something i had been stuck on for a week. furthermore, i can already see other code that i will need very soon. great book, great investment for any android developer

    0 out of 1 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Posted June 15, 2011

    Very good as a reference book

    I really enjoy to read and meanwhile work with the Android Recipes book because it is very well structured and useful as a reference book. There are many useful recipes which are needed in the daily life of nearly every Android developer. Moreover the reader is also lead to further more specific problems and possibilities he did not know so far. Furthermore this book does not constrain itself and therefore the reader to specific tools but makes a lot of offers with introducing several tools or libraries and their use for specific tasks. Beside that authors spend a whole chapter in describing the basics of the Android platform which are essential to be understood by each Android developer. So what recipes can you find in Android Recipes and how useful are they for the daily life of an Android developer? You will find are a good mix according to different stages of programming. There a recipes for simple standard tasks which you learn when you start Android programming like creating an user interface via xml. You find also tasks which you will probably need after you are finished with playing around and want program more individualized applications like for example customizing the view and the behavior of user interface controls like Lists. Furthermore you find also some surprises in the recipes like a recipe for providing a individual Java Script API which allows a Website to communicate with your Android application through the browser. Another aspect is the structure of the book. For every recipe you find a triple consisting of a short problem description, a short description of the proposed way to solve it and lastly the detailed manuel for implementing the solution. Especially the second part where the problem-solving approach is described in a few sentences allows you to determine very fast if the recipe will help you with your problem. Also the solutions themselves are very structured and in my opinion the highlighted text-boxes where important aspects and sticking points are emphasized are very useful. Also very interesting are the appendix chapters where Android Scripting and the NDK are introduced for further reading and where guidelines are presented which describe aspects of a good app design. Since Android Recipes targets advanced Android developers I really would have appreciated if this guidelines would have got more room than a few pages in the appendix even though they were very good. As a conclusion as supplement to other Android books especially when you often develop with Android and for people who already programmed some basic Android apps and want to go further Android Recipes is a very good buy. Especially for people like me who like to learn with examples. Altogether he book delivers what it promises.

    0 out of 1 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Posted June 14, 2011

    My Favorite Android Book

    This is book is an excellent addition to the bookshelf of any serious android developer. Android Recipes is primarily geared toward an experienced android developer. However, even a beginning android developer (with a solid understanding of the Java programming language) will find it beneficial. What sets this book apart from most is its clear, concise explanations. I have tested and implemented many of the solutions in this book. After reading Chapter 5: Persisting Data, I was able to implement a content provider of my own in no time. Pros: Clear, concise explanations of complex topics. Code examples available on-line. Cons: None This is the best android book I have read so far, and I definitely recommend it to anyone serious about Android development.

    Was this review helpful? Yes  No   Report this review
  • Posted May 31, 2011

    A definite book to have in your Android arsenal.

    If you are an Android developer, this is book you want on your shelf. Android Recipes gives you examples of working code to solve real world problems. Sure you can find the information on-line, but where else will you find all of this information in single, easy to use source, without spending hours digging through random web pages looking for a working example. While reading the book, I found myself frequently stopping to make notes or sending myself an email so I could try something new at work the next day. I can say that my understanding of what is possible has grown and my apps are better as a result. Like many recipe books, the layout is a problem and solution format. The chapters are logically divided into things like system services, communications and networking, and working with libraries. Each chapter gives a multitude of problems which Android developers face daily. Then, and example is given of how to solve the problem. Best of all, the examples are thorough. Many books gloss over simple things like the layout of a screen. The authors have obviously taken the extra effort to provide a complete example of each solution. So what can you expect to learn? This is a VERY short list of some of the problems which this book helps solve. UI challenges such as manually handling UI rotation and creating pop-up menu actions. Parsing XML and JSON. Receiving SMS messages and capturing notification events. Capturing and playing back audio and video. Using the scripting layer to run shell and python scripts. Persistent data and working with the SQLite database. Integrating 3rd party JARs into your project If you are on the fence about this book, I encourage you to take the plunge and buy it. You will not be disappointed.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 4 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)