在子线程中创建dialog
在子线程中创建dialog:
Thread action = new Thread(){
public void run(){
Looper.prepare();
todo();
Looper.loop();
}
};
action.start();
在子线程中创建dialog:
Thread action = new Thread(){
public void run(){
Looper.prepare();
todo();
Looper.loop();
}
};
action.start();