会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
道法自然
博客园
首页
新随笔
联系
订阅
管理
2015年3月18日
Can’t create handler inside thread that has not called Looper.prepare()
摘要: 1)在Android 2.3以前,为防止ANR(Application Not Responding),Google是不赞成将网络连接等一系列耗时操作直接放到应用主线程进行的,推荐将这类操作放在子线程内;而Android 4.0版本开始,Google强制要求这类操作必须在子线程内进行,否则将抛出 N...
阅读全文
posted @ 2015-03-18 16:30 jiduoduo
阅读(171)
评论(0)
推荐(0)
编辑
公告