You could create your own dialog class which started a thread that
calls finish() (back on the EDT) after x seconds.

On Aug 1, 8:35 am, Stefan <[email protected]> wrote:
> Hi,
>
> i need a alert dialog, which pop ups every time, when the location
> changed (after 100 meter for example).
> I want to have 2 Buttons in this dialog: left and right. If the user
> dont push one of these buttons after some seconds, the dialog should
> no longer be displayed.
> So I can't use the AlertDialog, because this one will wait for some
> user inputs!?
> But can I include Buttons in a Toast??
>
> Thanks for help,
> Stefan
--~--~---------~--~----~------------~-------~--~----~
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