【发布时间】:2011-07-04 05:54:26
【问题描述】:
在我的程序中,我希望此警报对话框在 3000 毫秒后显示。我怎样才能做到这一点?我尝试了很多,但我做不到。任何想法?
我们总是感谢您的帮助...!
AlertDialog.Builder successfullyLogin = new Builder(Register.this);
successfullyLogin.setCancelable(false);
successfullyLogin.setMessage("Successfully Login !");
// successfullyLogin.wait(3000);// this line is nt working
successfullyLogin.setPositiveButton("Ok",new DialogInterface.OnClickListener()
{
public void onClick(DialogInterface dialog,int which)
{
}
});
【问题讨论】:
标签: android android-alertdialog