进度对话框中的Andr​​oid [英] Progress dialog in Android

查看:113
本文介绍了进度对话框中的Andr​​oid的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我深知如何在我的应用程序显示进度的对话上。我只是想知道是否有无论如何,我们可以设置一个超时的时间间隔为这个进度对话框。 [我的意思是对此有任何API]

I am fully aware on how to display progress dialogues in my application. I just want to know if there is anyway that we can set a "timeout" interval for this progress dialog. [I mean is there any API for this]

我可以随时运行这个线程,但认为这将是更好,如果有一个内置的API已经..

I can always run a thread for this, but thought it would be better if there was an inbuilt API already..

推荐答案

有没有内置的API。只需使用AsyncTask的或线程,你是如何已经提到。

There is no built-in api. Just use AsyncTask or thread, how you have already mentioned.

这篇关于进度对话框中的Andr​​oid的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆