thread = new Thread(){
@Override
public void run(){
try{
doStep1();
doStep2();
doStep3();
Thread.sleep(3000);
Message msg = new Message();
msg.what = finish;
uiMessageHandler.sendMessage(msg);
}catch (Exception e){
e.printStackTrace();
}finally{
}
}
};
//開始執行執行緒
thread.start();
沒有留言:
張貼留言