Can't create handler inside thre

像提示说的,添加 Looper.prepare(); 

Threadaction=newThread(){ 

publicvoidrun(){

 Looper.prepare(); 

 todo(); 

 Looper.loop();} }; action.start()

posted on 2012-12-11 16:23  王大王  阅读(133)  评论(0)    收藏  举报

导航