That works, but if you need to do something else while waiting (instead of just sleeping), then use the AlarmManager.
Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Sep 4, 12:40 am, dongkt dongkt <[email protected]> wrote: > Thread.sleep(1000) > > 在 2009-9-4 1:40 PM,"tstanly" <[email protected]> 说: > > hi all, > > I have two work now,named wok1 and work2, > and work2 will to do after work1 finish, > > now I want to make a time period stop between work1 and work2, > that is,when work1 finish, and pause one miniute then start work2, > > how can I do for that? > > thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

