Hi, See this similar example - http://examples.javacodegeeks.com/android/core/activity/android-timertask-example/
Try using http://developer.android.com/reference/java/util/Timer.html#schedule(java.util.TimerTask, java.util.Date) instead of (line 43) timer.schedule(timerTask, 5000, 10000); // Regards On Friday, January 15, 2016 at 1:33:39 AM UTC+11, nb wrote: > > I tried the following code: > http://examples.javacodegeeks.com/android/core/os/handler/android-timer-example/ > > Its a timer > > I want the timer to stop at the 2 minute mark and end altogether > > Is there a simple code I could add the original code > > Thanks! > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/1193f211-32c8-4053-aa4f-106cf4b8c320%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

