new Thread(){ public void run() { Looper.prepare(); Toast t = Toast.makeText(mContext, R.string.crash_exit, Toast.LENGTH_SHORT); t.setGravity(Gravity.CENTER, 0, 0); t.show(); Looper.loop(); // super.run(); }; }.start();
new Thread(){ public void run() { Looper.prepare(); Toast t = Toast.makeText(mContext, R.string.crash_exit, Toast.LENGTH_SHORT); t.setGravity(Gravity.CENTER, 0, 0); t.show(); Looper.loop(); // super.run(); }; }.start();