[android-developers] Re: AlertDialog Timeout

2010-04-22 Thread krox
Hi! Maybe not the optimal solution (quite new to Android development) but spawn a new thread when you show() the AlertDialog, let the Thread sleep 3000 ms and then call myDialog.dismiss(). You might have to use RunOnUIThread() as well since it is messing with the UI. Someone out here might have a

Re: [android-developers] Re: AlertDialog Timeout

2010-04-22 Thread faizan khan
use java.util.timer to invoke timertask which will trigger dialog.dismiss().do not forget to call dialog.dismiss from UI thread On Thu, Apr 22, 2010 at 11:00 PM, krox erik.strandb...@gmail.com wrote: Hi! Maybe not the optimal solution (quite new to Android development) but spawn a new thread