Android Cookbook

( 2 )

Overview

Jump in and build working Android apps with the help of more than 200 tested recipes. With this cookbook, you’ll find solutions for working with the user interfaces, multitouch gestures, location awareness, web services, and device features such as the phone, camera, and accelerometer. You also get useful steps on packaging your app for the Android Market.

Ideal for developers familiar with Java, Android basics, and the Java SE API, this book features recipes contributed by more...

See more details below
Paperback
$36.50
BN.com price
(Save 33%)$54.99 List Price

Pick Up In Store

Reserve and pick up in 60 minutes at your local store

Other sellers (Paperback)
  • All (16) from $6.21   
  • New (10) from $30.10   
  • Used (6) from $6.21   
Android Cookbook

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK
  • NOOK HD/HD+ Tablet
  • NOOK
  • 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
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$26.99
BN.com price
(Save 42%)$46.99 List Price

Overview

Jump in and build working Android apps with the help of more than 200 tested recipes. With this cookbook, you’ll find solutions for working with the user interfaces, multitouch gestures, location awareness, web services, and device features such as the phone, camera, and accelerometer. You also get useful steps on packaging your app for the Android Market.

Ideal for developers familiar with Java, Android basics, and the Java SE API, this book features recipes contributed by more than three dozen developers from the Android community. Each recipe provides a clear solution and sample code you can use in your project right away. Among numerous topics, this cookbook helps you:

  • Use guidelines for designing a successful Android app
  • Work with UI controls, effective layouts, and graphical elements
  • Learn how to take advantage of Android’s rich features in your app
  • Save and retrieve application data in files, SD cards, and embedded databases
  • Access RESTful web services, RSS/Atom feeds, and information from websites
  • Create location-aware services to find locations and landmarks, and situate them on Google Maps and OpenStreetMap
  • Test and troubleshoot individual components and your entire application
Read More Show Less

Product Details

  • ISBN-13: 9781449388416
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 4/27/2012
  • Edition number: 1
  • Pages: 710
  • Sales rank: 1,357,737
  • Product dimensions: 6.80 (w) x 8.90 (h) x 1.40 (d)

Meet the Author

Ian F. Darwin has worked in the computer industry for three decades. He wrote the freeware file(1) command used on Linux and BSD and is the author of Checking C Programs with Lint, Java Cookbook, and over seventy articles and courses on C and Unix. In addition to programming and consulting, Ian teaches Unix, C, and Java for Learning Tree International, one of the world's largest technical training companies.

Read More Show Less

Table of Contents

Preface

Chapter 1: Getting Started

Chapter 2: Designing a Successful Application

Chapter 3: Testing

Chapter 4: Inter-/Intra-Process Communication

Chapter 5: Content Providers

Chapter 6: Graphics

Chapter 7: Graphical User Interface

Chapter 8: GUI Alerts: Menus, Dialogs, Toasts, and Notifications

Chapter 9: GUI: ListView

Chapter 10: Multimedia

Chapter 11: Data Persistence

Chapter 12: Telephone Applications

Chapter 13: Networked Applications

Chapter 14: Gaming and Animation

Chapter 15: Social Networking

Chapter 16: Location and Map Applications

Chapter 17: Accelerometer

Chapter 18: Bluetooth

Chapter 19: System and Device Control

Chapter 20: Other Programming Languages and Frameworks

Chapter 21: Strings and Internationalization

Chapter 22: Packaging, Deploying, and Distributing/Selling Your App

Colophon

Read More Show Less

Customer Reviews

Average Rating 3
( 2 )
Rating Distribution

5 Star

(1)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(1)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com 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 & Noble.com 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 & Noble.com 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 BN.com 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

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com 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 BN.com. 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 2 Customer Reviews
  • Anonymous

    Posted August 4, 2012

    Not as useful as printed version

    Missing some content. Table of contents only detailed up to chapter 3. This makes it hard to find recipes in the cookbook. I am sorry I bought this. I want a refund.

    Was this review helpful? Yes  No   Report this review
  • Posted April 25, 2012

    Hello, I am Ozgur Cakmak and I will be reviewing Android Cookboo

    Hello, I am Ozgur Cakmak and I will be reviewing Android Cookbook. I got this book via O'Reilly's Blogger review program. I am a Java/C sharp developer who recently built an android application for the place I am working for, so this review will come from a person who endured many trials and tribulations of the Android development world.

    Before starting let me tell you what I expect from a cookbook, so you may have a clearer picture: I expect it to save my time. Nobody, maybe except for a few person, can know a framework's all internal workings like back of his hand encountering problems is a must. And instead of spending hours in front of Google or Stack Overflow I'd like to find an answer to my problem after I clearly define it into a question.

    As a short review,whether I recommend this book or not. Yes, yes I would. I wish I had read this book, had this book, in my library a month ago. Not only it would speed up my development, it would save me making coding horrors and create a more sensible code base.

    Right on, let's get this show on the road then...

    Chapter 1 offers the basics of Android application development. It starts with a very basic hello world example, done both in console and in eclipse (which seems counterintuitive at first, "why should I need a hello world in a cookbook?", then again if you are going to make a presentation or a talk on Android you will need this. Then it guides you to set up the android development environment. From eclipse setup to getting Android SDK they are all given step by step. Then, what I personally dislike in other android books, it continues on to show how to use SDK examples and provides two example applications, which are a countdown timer and a tip calculating application, which are more complex and usable than Hello world. They help. Because at the very worst you will mostly use the components provided in these examples. You will get data from the user via EditText (think of it like the TextBox component in the .net world), interact with her via buttons, provide data in tables, radio buttons, textviews...

    Let's head into the chapter 2. After getting your intro in the first chapter the book goes in the detail of how to design your application.
    I feel until you pass the Exception Handling, the cookbook doesn't start. Then, with the recipe "Keeping data when the user rotates the device" you creep into the territory of questions. You have two options if you had this kind of problem, either you can limit the rotation - which how I was handling it before reading the cookbook - or you can save those information and reuse it after the screen rotates. You see, the android is not like you - for the operating system, the vertical screen and the horizontal one are two separate, different views. So it destroys the vertical one to make room for the horizontal view and vice versa.

    The recipes are wisely selected. Because as I did, you will hit nearly every of them listed here. Maybe except providing a splash screen, or google analytics usage but keeping track on battery level, application first run preferences, saving the data, handling input from key listeners and how to design a conference app are crucial if you are an android developer. The last one, the recipe on conference app, is a request that will be wanted from you. Maybe not now, not tomorrow but that request will come. Except for a few recipes I've told, this chapter is all golden in its value.

    I'd have to admit, the first part of this book can be used as the core of a tutorial aimed to create Android coders from java juniors and veterans alike. The other chapters go into detail in very diverse topics, they may be diverse but they are items you will encounter in your life as an Android developer. Maps, handling exceptions, creating a conference app. and others. Because I have to keep this brief I had truncated many details regarding the chapters but, they are good; they have been wisely selected (because the questions I asked in my app development were there! Just there!) and the answers are not beating the bush - they are direct, full of code and explanations.

    So in short, this book is one of the essential books that has to reside in your library. Although I am a webcast-learning guy I have grokked many important info that should be in my knowledge base prior to building the app.

    Thanks

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

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