Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Professional Android 2 Application Development
This is the forum to discuss the Wrox book Professional Android 2 Application Development, 2nd Edition by Reto Meier; ISBN: 978-0-470-56552-0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Android 2 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
  #1 (permalink)  
Old March 25th, 2010, 05:06 PM
Registered User
 
Join Date: Mar 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chap. 9 Earthquake app does not work.

Chap. 9 Earthquake app does not work on emulator. Error log consistently shows:
"failed to find provider info for android.server.checkin". It looks like this book was the waste of money for me. If anybody knows the answer please help.

Last edited by pgmr26; March 25th, 2010 at 05:59 PM..
  #2 (permalink)  
Old March 27th, 2010, 08:14 AM
Reto's Avatar
Wrox Author
Points: 287, Level: 5
Points: 287, Level: 5 Points: 287, Level: 5 Points: 287, Level: 5
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2008
Location: London, United Kingdom
Posts: 61
Thanks: 1
Thanked 7 Times in 6 Posts
Default

Interesting. The error log message you describe is a system message (android.server.checkin is a framework Service that pings the Google Android servers for updates etc.). So it's not directly related to the example code you're trying.

Which Chapter 9 Earthquake example are you trying (there are three)? As mentioned in the note preceeding the code, the first example executes entirely on the GUI thread, so it might be blocking other Services from completing properly. The second example (pp303) moves the processing to a background thread, which will improve the system performance.

Another possibility is an Internet connection problem. Can you browse the Internet from the browser running in the emulator? The error you describe suggests that the emulator may not be able to see the checkin server -- it might be worth testing Internet connectivity via the Emulator browser first to make sure there are no issues with proxys etc. If you have a problem there, let me know and I'll try to help figure out what's happening.

Finally, I'm not sure -- but if you recently provided some feedback on Amazon I'd love to have more details on the problems you've encountered. All the code Listings in the book are available for download from here: http://media.wiley.com/product_ancil...20Listings.zip

It's a separate file from the full example projects which contains each of the Listings for each chapter.

If you encountered specific errors in code, I apologize. I'd love to know them so we can add them to the errata and fix them for future versions.
__________________
Reto Meier

Author, "Professional Android 4 Application Development", Wrox, ©2012, 2010, 2008
@retomeier


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 8 Earthquake Notification woods620 BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 1 December 23rd, 2009 09:57 AM
Chater 6 Earthquake -Clear adapter gatybill BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 0 June 25th, 2009 10:17 AM
Chapter 6 Earthquake using Provider abowman BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 0 March 9th, 2009 05:19 PM
Chapter 6 Sample Earthquake 2 sunrain BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 2 January 31st, 2009 04:06 PM





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