That's really easy to implement. Simply display the toast, let your
application wait Toast.TIME_xxx and the call finish().

On Apr 17, 9:18 am, Greg <[EMAIL PROTECTED]> wrote:
> ok thanks
> i want to show a messaage for some time moments and then i want to
> exit the activity.
>
> On Apr 17, 11:49 am, hackbod <[EMAIL PROTECTED]> wrote:
>
>
>
> > No, if you are wanting to tie your activity with the toast window,
> > you'd be better off just showing your own Dialog.  The toast is really
> > for cases where something needs to be displayed independently of the
> > current activity: for example from a receiver or service, or shown by
> > an activity as it is closing itself (for ex saying it has saved your
> > data) or as it moves to another activity.
>
> > On Apr 16, 11:00 pm, Greg <[EMAIL PROTECTED]> wrote:
>
> > > Hello
> > > is it possible ?
> > > Finish Activity when toast message has been dissapered- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to