0
mycontext.startActivity(new Intent(mycontext, logoSplash.class)); //this finishes after 3 seconds:
initcontrols();
final Timer timerStartAll = new Timer();
timerStartAll.schedule(new TimerTask() {
@Override public void run() {
handler.post(new Runnable() { public void run() {
timerStartAll.cancel();
start();
}});
}
}, 4000, 5000);
功能開始:的Android無法顯示processdialog
utils.showLoaderDialog( 「刷新!」, 「刷新」。);
在utils的類:
public static ProgressDialog dialog;
public static void showLoaderDialog(String sHead, String sMess) {
dialog =ProgressDialog.show(myActivityStart.mycontext, sHead, sMess, true, true);
}
public static void hideLoaderDialog() {
dialog.dismiss();
}
爲什麼我無法查看進程對話框?
工作感謝ü非常 – lacas 2010-10-29 07:21:48