Wrox Programmer Forums
|
BOOK: Professional Android 4 Application Development
This is the forum to discuss the Wrox book Professional Android 4 Application Development Reto Meier; ISBN: 978-1-1181-0227-5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Android 4 Application Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 16th, 2013, 07:49 PM
Registered User
 
Join Date: Sep 2013
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Question Chapter 8 - From Skeleton snippets to MyHoard??

I am lost. I an reading along and see "Skeleton" code snippets and suddenly there is a snippet from MyHoardContentProvider or MyHoardDatabase. These classes are only in the snippet project "PA4AD_Ch08_ContentProviders". There is no complete project, and a search of the entire book shows that examples for it are only in chapter 8.

There is no explanation of what this MyHoard project is, what it does, or what the database structure is. So, I am trying to understand what this implementation specific example does and coming up empty. Or why the book goes from showing a skeleton snippet of one method and then a method from these classes.

Oh yea. There is a class HoardDBOpenHelper that is only mentioned in the book. No code snippet for it. WTF?

Last edited by RickDroid; September 16th, 2013 at 07:59 PM..
 
Old September 16th, 2013, 08:34 PM
Authorized User
 
Join Date: Oct 2012
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Content providers can be a pretty complex subject to explain. I can't speak for why Reto chose this Horde example, but it might have been because he thought it was better and/or easier to cover the subject than doing a full project.

The "Creating a To-Do List Database and Content Provider" on page 283 might be better for you to look at.

As for the HoardDBOpenHelper snippet, I believe you'll find it in MyHoardDatabase.java
 
Old September 16th, 2013, 11:56 PM
Registered User
 
Join Date: Sep 2013
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks. I too found the HoardDBOpenHelper as an inner class of both of the other two files.

It would appear that Reto has abandoned supporting his book over a year ago. As such I have decided to abandon the book and find other sources.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Listing 15-23: Surface View skeleton implementation TechnoGeekNick BOOK: Professional Android 2 Application Development 0 July 26th, 2012 06:54 AM
How to put Code Snippets in Eclipse to Run or Debug delhiris1 BOOK: Professional Android 4 Application Development 1 July 20th, 2012 03:47 PM
Using Snippets treeon325 BOOK: Professional Android 2 Application Development 0 August 25th, 2011 10:38 AM
Doing Chapter 6 from intial skeleton djung01 BOOK: Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter ISBN: 978-0-7645-8807-5 0 July 20th, 2007 11:26 AM
Code Snippets Manager marvviki SQL Language 0 February 16th, 2007 04:18 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.