p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional Android 2 Application Development (http://p2p.wrox.com/forumdisplay.php?f=547)
-   -   Chapter 9 - Earthquake - TimerTask Error (http://p2p.wrox.com/showthread.php?t=80228)

IAmCorbin July 22nd, 2010 11:33 PM

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

Code:

ERROR/AndroidRuntime(13041): Caused by: java.lang.IllegalStateException: TimerTask is scheduled already
So I'm assuming that this line isn't working right:
Code:

if(lastLookup == null || lastLookup.getStatus().equals(AsyncTask.Status.FINISHED)) {

crustymonkey November 2nd, 2010 04:49 PM

I think I got this figured out. Check out my reply in this thread:

http://p2p.wrox.com/book-professiona...-not-work.html

crustymonkey November 2nd, 2010 04:50 PM

Hmmm, looks like my post was moderated. I would imagine it should show up sometime soon...


All times are GMT -4. The time now is 03:28 AM.

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