Thread.sleep ( 1000 ) will make the app pause for AT LEAST 1 sec. Not
exactly 1 sec. Thread is not guaranteed.

Ivo


On Mon, Nov 29, 2010 at 5:55 PM, dipti <[email protected]> wrote:

> You can use java's Thread.sleep(1000) . This will make the application
> pause for 1 sec ( 1000 millisec )
>
> On Nov 29, 6:49 am, charlest <[email protected]> wrote:
> > I want to display a message on the screen, have it displayed for 60
> > seconds, then display another message. There is nothing specific going
> > on during the 60 seconds that I'm waiting to complete, so AsyncTask
> > doesn't seem to apply. Does someone have a generic code snippet that
> > does this so that I can use it in other places as needed?
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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

Reply via email to