Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Mobile Development > BOOK: Professional Android 4 Application Development
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 16th, 2013, 07:49 PM
Registered User
Points: 26, Level: 1
Points: 26, Level: 1 Points: 26, Level: 1 Points: 26, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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..
Reply With Quote
  #2 (permalink)  
Old September 16th, 2013, 08:34 PM
Authorized User
Points: 48, Level: 1
Points: 48, Level: 1 Points: 48, Level: 1 Points: 48, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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
Reply With Quote
  #3 (permalink)  
Old September 16th, 2013, 11:56 PM
Registered User
Points: 26, Level: 1
Points: 26, Level: 1 Points: 26, Level: 1 Points: 26, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 09:16 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.