读书人

thread 过程 报错 can not creat hand

发布时间: 2012-07-04 19:33:55 作者: rapoo

thread 进程 报错 can not creat handler inside thread

参考:http://apps.hi.baidu.com/share/detail/33316734

? ? ? ? new Thread(new Runnable() {

? ? ? ? ? ? @Override

? ? ? ? ? ? public void run() {

? ? ? ? ? ?Looper.prepare();?

?

? ? ? ? ? ?todo();?

? ? ? ? ? ?Looper.loop();

?

? ? ? ? ? ? }

?

? ? ? ? }).start();

?

读书人网 >移动开发

热点推荐