android如何在子线程中弹出Toast

new Thread(){
	@Override
	public void run() {
		try {
			Looper.prepare();
			Toast.makeText(getApplicationContext(), "备份成功", 0).show();
			Looper.loop();
			} catch (Exception e) {
						
			Looper.prepare();
			Toast.makeText(getApplicationContext(), "备份失败", 0).show();
			Looper.loop();
				}
				  }
			}.start();

android如何在子线程中弹出Toast,布布扣,bubuko.com

android如何在子线程中弹出Toast

上一篇:Ubunt安装nagios步骤


下一篇:Java报错:java.security.InvalidKeyException: Illegal key size