使用ClipboardManager碰到Can't create handler inside thread that has not called Looper.prepare()
来源:互联网 发布:北京java外包公司 编辑:程序博客网 时间:2024/06/05 17:59
直接放上我的代码,希望能给碰到同样问题的朋友提供帮助
Runnable runnable = new Runnable() { public void run() { ClipboardManager clipboard = (ClipboardManager)GameUtil.getIntance().getContext().getSystemService(Context.CLIPBOARD_SERVICE); clipboard.setText(content); }};GameUtil.getIntance().getGameActiviti().runOnUiThread(runnable);
0 0
- 使用ClipboardManager碰到Can't create handler inside thread that has not called Looper.prepare()
- 使用okhttp 报Can't create handler inside thread that has not called Looper.prepare()
- 解决Can't create handler inside thread that has not called Looper.prepare() inside AsyncTask
- Handler——Can't create handler inside thread that has not called Looper.prepare()
- Handler机制和Can't create handler inside thread that has not called Looper.prepare()异常
- Can't create handler inside thread that has not called Looper.prepare()错误的解决
- Can't create handler inside thread that has not called Looper.prepare() 异常
- Can't create handler inside thread that has not called Looper.prepare()
- Can’t create handler inside thread that has not called Looper.prepare()
- Can’t create handler inside thread that has not called Looper.prepare()
- Can't create handler inside thread that has not called Looper.prepare()解决办法
- Can't create handler inside thread that has not called Looper.prepare() 终极解决方法
- 异常Can't create handler inside thread that has not called Looper.prepare() 解决方法
- Can't create handler inside thread that has not called Looper.prepare()错误的解决
- Can't create handler inside thread that has not called Looper.prepare() 终极解决方法
- Can't create handler inside thread that has not called Looper.prepare()
- Can't create handler inside thread that has not called Looper.prepare()的终极解决方法
- Can't create handler inside thread that has not called Looper.prepare()错误-安卓编程
- 算法设计与分析学习-分治法2
- 房顶上交话费进口后尽快豆腐果苷
- B - Ugly Numbers(1.5.8)
- mybatis 的简单使用
- 产品运营关键把握两个度
- 使用ClipboardManager碰到Can't create handler inside thread that has not called Looper.prepare()
- 巴洛克风格家具:神奇的浪漫之旅
- 在windows中注册并开启Apache、MySQL服务的命令
- 折半查找的优势
- 细说 iOS 消息推送
- 大型B2C网站高性能可伸缩架构技术探秘
- REUSE_ALV_LIST_DISPLAY 实现ALV显示
- 排行前十的PHP框架.
- js的image onload事件使用遇到的问题