Programming Books C Java PHP Python Learn more Browse Programming Books
Android Database Programming: 4 and over one million other books are available for Amazon Kindle. Learn more
Buy New
  • List Price: $39.99
  • Save: $4.00 (10%)
In Stock.
Ships from and sold by
Gift-wrap available.
Add to Cart
Trade in your item
Get a $1.28
Gift Card.
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Android Database Programming Paperback – June 1, 2012

See all 2 formats and editions Hide other formats and editions
Amazon Price New from Used from
"Please retry"
"Please retry"
$34.60 $49.34

Frequently Bought Together

Android Database Programming + Professional Android Sensor Programming + Professional Android 4 Application Development
Price for all three: $97.33

Buy the selected items together

If you buy a new print edition of this book (or purchased one in the past), you can buy the Kindle edition for only $2.99 (Save 80%). Print edition purchase must be sold by Amazon. Learn more.

Shop the new
New! Introducing the, a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Product Details

  • Paperback: 212 pages
  • Publisher: Packt Publishing (June 1, 2012)
  • Language: English
  • ISBN-10: 1849518122
  • ISBN-13: 978-1849518123
  • Product Dimensions: 0.4 x 7.4 x 9.1 inches
  • Shipping Weight: 1.1 pounds (View shipping rates and policies)
  • Average Customer Review: 3.4 out of 5 stars  See all reviews (8 customer reviews)
  • Amazon Best Sellers Rank: #1,401,355 in Books (See Top 100 in Books)

Editorial Reviews

Book Description

We live in an increasingly data-centric and data-driven world. On top of that we live in a very mobile-centric world with the rise of Android smart phones and tablet devices and the surge in demand for the Android platform. Along with the demand for more data, there is a demand for efficient, "snappy" applications, and so developers need to have a strong understanding of when different data storage methods are appropriate and when they are not. Mastering how to use these two fields to successfully create a powerful application will help you boost your knowledge and skills in this area. "Android Database Programming" is designed to help developers create and design data-centric mobile applications on Google’s Android platform. As the world goes increasingly mobile and as consumers’ demand for data-centric applications rises, knowing how to combine the two effectively will become an increasingly important asset to have as a developer. The book starts by looking at the various local data storage methods on Android, and finishes off by examining external databases and ways you can utilize them from wjavascript:var%20ret=submitFormOfID('pageform-edit')ithin an Android application. This book starts by looking at local data storage methods, focusing on writing SQLite databases for your application and also looking at ways to bind these databases to the user interface. The book, through its practical approach, strives to teach you by examples. Each chapter focuses on flushing out high level design concepts, before drilling down into different code examples. As you continue you will look at external databases, primarily Google’s App Engine platform, and pull things together by helping you understand how you can request, cache, and display this data. The book then teaches the ways and techniques to utilize such external databases from within your application.

About the Author

Jason Wei graduated from Stanford University in 2011 with a B.S. in Mathematical Computational Science, a minor in Statistics, and an M.S. in Management Science & Engineering with a concentration in Machine Learning. He spent his first two years in college with startups in Silicon Valley, and it was at his second startup (Bill Shrink, Inc.) that he was introduced to Android. Since then he has developed a handful of applications ranging from silly screen prank applications to serious financial pricing and modeling tools. He also enjoys working with APIs and competing in application development contests - winning a number of contests hosted by companies like Google, My Gengo, Index Tank, amongst others. In addition to developing applications, Jason enjoys writing Android tutorials and sharing his own development experiences on his blog (, and it was through his blog that he was first invited to be a technical reviewer for the book Learning Android Game Programming. Jason is currently working as a quantitative trader in New York.

Customer Reviews

3.4 out of 5 stars
Share your thoughts with other customers

Most Helpful Customer Reviews

4 of 4 people found the following review helpful By Richard Boyer on August 31, 2012
Format: Paperback
I received this eBook for the "One Day Review Challenge", so I haven't had time to read the entire book yet.

The book states the target audience as "experienced developers new to mobile database development". Thankfully, there's no "Hello World" here but instead gets right in to the details of data storage. It's not just about databases either, topics range from SharedPreferences, to file storage and SQLite.

In contrast, one book I recently read presented the basics of SQLite in one (long) chapter, whereas, this is an entire book devoted to the same concepts. I got the basics there, but I'm happy to get in to more detail with this book. As mentioned in the Table of Contents, this book even covers working with external (web) resources.
One aspect of this book I really like is the authors attempt to explain the use of the concepts presented. Various chapters have "Common Use" or "Putting it together" sections to give ideas on the best use for the ideas presented, not just the dry details of how to do it. I wish more authors did this.

Overall, the book has a nice clean layout and I haven't seen any glaring typos. If you're looking for the details of data storage, not limited to SQLite, on the Android, I'd say it's worth picking up.

Update: After finishing the book, I can still give a 4/5 stars. As mentioned before, it's not limited to SQLite so it gives a good overview of options available on Android. I recommend this book for developers new to Android.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
2 of 2 people found the following review helpful By Carmichael on August 30, 2012
Format: Paperback
TOC shows a solid and sensible progression but was suprised to see mention of the GAE and Servlets. I can see why this is at the end but could question whether a typical Android db user would find value in having 2 chapters on, what is essentially, non-Android databases - it's good, but beyond the impression the book title gives.

I'm an experienced Android developer. When I saw the SharedPrefences code right on page 2 of the first chapter I was suprised there had been no gentle lead up to the context (i.e. what an Activity is) or a stronger mention prior to this that this book is NOT for Android beginners. I went back and checked the "what you need for this book" and "who this book is for" sections, and yes, it's there, but a simple statement somewhere along these lines would prevent beginners getting frustrated and disappointed. However, for those who have done even light Android work before, the tone is spot on.

Android has evolved since its launch, and many of the old-school techniques are outdated. This book is bang up to date in that respect, showing the current best practice methods throughout. The writing style is very concise and readable whilst being brisk and to the point.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
1 of 1 people found the following review helpful By hnren on September 14, 2012
Format: Kindle Edition
I like what I read so far, this is a solid book with very strong technical background. You need some knowledge to understand the book, it's certainly not for beginners. If you are looking to sharpen your skills, this is the book for you.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
1 of 1 people found the following review helpful By Etienne Savard on August 20, 2012
Format: Paperback
I started to read Android Database Programming over the week-end.

My first impressions:

You absolutly need to have prior exposure to Android, Java and SQL before reading this book. This is not a beginner's book.

The book is clear and concise and written in a no nonsense style. Right in chapter one, we already dig into some code. Be ready to read code. I liked what I have read so far.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again