View Single Post
  #6 (permalink)  
Old September 4th, 2013, 02:14 PM
neilw neilw is offline
Registered User
Points: 41, Level: 1
Points: 41, Level: 1 Points: 41, Level: 1 Points: 41, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2013
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hello,
Thanks for the reply. But no, later chapters don't work either. Well it seems something has been done to address threading but not quite:

I'm doing chapter 8 and while the EarthQuakeListFragment has reinstated the threading (which I'm guessing means chapter 8 has been updated for the later version of android?) the code in the main activity Earthquake.java forgets to do this in the code returning back from preferences:

public void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);

........
earthquakeList.refreshEarthquakes();
}

It would be nice if you could update the errata to include a fix for the earthquake feed causing a null pointer exception due to the xml generating a 'deprecated feed' xml entity.

thanks.
Reply With Quote