View Single Post
  #1 (permalink)  
Old July 22nd, 2010, 11:33 PM
IAmCorbin IAmCorbin is offline
Registered User
Join Date: Oct 2009
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Default Chapter 9 - Earthquake - TimerTask Error

I am getting the following error when trying to re-run the app (it loads fine the first time), then I have to uninstall the app completely and reinstall it in order for it to work again

ERROR/AndroidRuntime(13041): Caused by: java.lang.IllegalStateException: TimerTask is scheduled already
So I'm assuming that this line isn't working right:
if(lastLookup == null || lastLookup.getStatus().equals(AsyncTask.Status.FINISHED)) {
Reply With Quote