标签:帮助 can get 使用 and void gets looper java
直接放上我的代码。希望能给碰到相同问题的朋友提供帮助
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);
使用ClipboardManager碰到Can't create handler inside thread that has not called Looper.prepare()
标签:帮助 can get 使用 and void gets looper java
原文地址:http://www.cnblogs.com/jhcelue/p/6763730.html