How to set a time for progressive dialog?
I want to set a time (for example 5 seconds) for ProgressDialog in my android 开发者_如何学Capp. How can I do this?
I think you can use handler for this.Firstly start show dialog and at this time sendMessageForDelay(event_id,5*1000) and at handleMessage you check dialog is showing or not.If showing you dismiss it.Goodluck :)
精彩评论