Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | 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 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 Display Modes
  #1 (permalink)  
Old April 5th, 2012, 06:25 PM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Problem with earthquake viewer

I have been happily going through this book but when i reached p 181, I have com across a problem when I try to run the project. When i then debug it comes up with source not found.
This happens at the following point:
String quakeFeed = getString(R.string.quake_feed);
I have also tried hard coding the value but i get a similar issue with the following line:
url = new URL(quakeFeed);
I am at a complete loss as I have checked & rechecked the strings.xml file and the values check with what is in the book.
Any help would be appreciated
Reply With Quote
  #2 (permalink)  
Old June 25th, 2012, 10:41 AM
Registered User
Points: 6, Level: 1
Points: 6, Level: 1 Points: 6, Level: 1 Points: 6, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

look in your strings.xml file. It should be whatever you named the http URL to the USGS site.
Reply With Quote
Reply


Thread Tools
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
Chapter 7 Earthquake 2, Earthquake.java, error onActivityResult dbomberg BOOK: Professional Android 2 Application Development 2 November 30th, 2012 05:52 AM
Problem Running Chapter 6 Earthquake clombardo BOOK: Professional Android 2 Application Development 26 June 28th, 2012 02:33 PM
Chap7-2 Earthquake sort problem dbald1995 BOOK: Professional Android 2 Application Development 0 March 5th, 2012 10:50 PM
Crystal Viewer Problem (I think) LaFeverMF Crystal Reports 0 June 23rd, 2004 09:52 AM
Crystal Reports Viewer problem MikeJames42 Crystal Reports 0 April 14th, 2004 09:04 AM



All times are GMT -4. The time now is 06:47 PM.


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