Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your mobile phone number.

In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Android Database Programm... has been added to your Cart
+ $3.99 shipping
Used: Like New | Details
Condition: Used: Like New
Comment: Unread copy in perfect condition.
Trade in your item
Get a $2.00
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 all 2 images

Android Database Programming Paperback – June 1, 2012

3.1 out of 5 stars 10 customer reviews

See all 2 formats and editions Hide other formats and editions
New from Used from
"Please retry"
"Please retry"
$32.83 $33.86

Windows 10 For Dummies Video Training
Get up to speed with Windows 10 with this video training course from For Dummies. Learn more.
$39.99 FREE Shipping. In Stock. Ships from and sold by Amazon.com. Gift-wrap available.
click to open popover

Frequently Bought Together

  • Android Database Programming
  • +
  • Android SQLite Essentials
Total price: $62.98
Buy the selected items together

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 (BillShrink, 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, MyGengo, IndexTank, amongst others. In addition to developing applications, Jason enjoys writing Android tutorials and sharing his own development experiences on his blog (thinkandroid.wordpress.com), 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.
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.
For thousands of qualifying books, your past, present, and future print-edition purchases now lets you buy the Kindle edition for $2.99 or less. (Textbooks available for $9.99 or less.)
  • Thousands of books are eligible, including current and former best sellers.
  • Look for the Kindle MatchBook icon on print and Kindle book detail pages of qualifying books. You can also see more Kindle MatchBook titles here or look up all of your Kindle MatchBook titles here.
  • Read the Kindle edition on any Kindle device or with a free Kindle Reading App.
  • Print edition must be purchased new and sold by Amazon.com.
  • Gifting of the Kindle edition at the Kindle MatchBook price is not available.
Learn more about Kindle MatchBook.

The latest book club pick from Oprah
"The Underground Railroad" by Colson Whitehead is a magnificent novel chronicling a young slave's adventures as she makes a desperate bid for freedom in the antebellum South. See more

Product Details

  • Paperback: 212 pages
  • Publisher: Packt Publishing (June 1, 2012)
  • Language: English
  • ISBN-10: 1849518122
  • ISBN-13: 978-1849518123
  • Product Dimensions: 7.5 x 0.5 x 9.2 inches
  • Shipping Weight: 1 pounds (View shipping rates and policies)
  • Average Customer Review: 3.1 out of 5 stars  See all reviews (10 customer reviews)
  • Amazon Best Sellers Rank: #2,110,143 in Books (See Top 100 in Books)

Customer Reviews

Top Customer Reviews

Format: Kindle Edition Verified Purchase
This book covers files (internal and external storage), shared preferences, and SQL Lite. This books title should have been "Android Data Storage and Retrieval" because SQL Lite coverage is not a major aspect nor the other DB's that are briefly discussed. Coverage of SQL Lite for an Android beginner will get you there but it's light in details on performance beyond simply timing sql statements against the same functionality in Java. Why would you show me a few different ways of querying the DB and not show me metrics of each when you're showing me a metric of using aggregate functions in the sql statement versus doing it in Java code? Also the book states that foreign keys are not allowed but the sqlite.org web site says they are so this may be a version issue.

One MAJOR ISSUE I have with the kindle version is that there is no TOC on the left in the PC kindle version. I really hate this and there are many people that do as well. It seems to be a crap shoot with kindle books these days.
Comment One person found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
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 3 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
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 5 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Kindle Edition Verified Purchase
this book isn't written very well. the book seems like its just a compilation of someones notes of a bigger book. there are quite a few typos and errors in the code that, if you don't have a background in SQL maybe would be a issue. I purchased this book mostly for instruction on how to deal with blob objects (which ended up not being in the book) but also for the section on web scraping.. so hopefully there will be some good information when i get that far... over all not the best book from this publisher who normally is one of my first places to look for programming books.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
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 2 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse

Set up an Amazon Giveaway

Android Database Programming
Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more about Amazon Giveaway
This item: Android Database Programming