Thread: Timer issues
View Single Post
Old 10-08-2014, 09:56 AM   #3
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
Timer.schedule() schedules the task once. So everything is working as it should. OP is probably looking for Timer.scheduleAtFixedRate(). Documentation is sparse, but available: http://kdk-javadocs.s3.amazonaws.com...til/Timer.html Note the difference between "fixed delay" and "fixed rate".
hawhill is offline   Reply With Quote