2019年5月29日

Can't create handler inside thread that has not called Looper.prepare()

摘要: 问题: Can't create handler inside thread that has not called Looper.prepare() 1,在报错的方法前加Looper.prepare(); 方法末尾加Looper.loop(); 2,问题原因: 在android的多线程开发中,比如 阅读全文

posted @ 2019-05-29 16:13 蜗牛起飞吧 阅读(4382) 评论(0) 推荐(0) 编辑

随意切换双卡流量,立即获取对应卡的SMIS

摘要: 原生的Android是不支持双卡双待功能的,所以Android sdk没有提供API,直到在Android6.0+上增加了相关的API,但是国内的android的情况嘛,大家都懂得,有6.0和没6.0没啥区别, 因为基本各大厂商都已经更改底层系统了; 所以小编费了九牛二虎之力,依然没有在网上找到对应 阅读全文

posted @ 2019-05-29 15:19 蜗牛起飞吧 阅读(1082) 评论(0) 推荐(0) 编辑

导航