请教:同一个线程内,可以用sendMessage,handleMessage这样的方式么 偶只知道不同的线程用这样来操作,请问相同线程可以不? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 sendMessage,handleMessage其实就是在一个线程内发送消息,要想跨纯种通信不是这简单的 …… 如果用post(Runnable nable)的话,其实也是在同一个线程进行通往,你可以用Thread.current.....这个方法,查看…… 官方解释:http://developer.android.com/guide/topics/fundamentals/processes-and-threads.html There are two main uses for a Handler: (1) to schedule messages and runnables to be executed as some point in the future; and (2) to enqueue an action to be performed on a different thread than your own. android通过摄像头预览、录制视频 android SurfaceView的z-order问题 eclipse虚拟器打不开了 无法预览程序效果 android 如何在view里关闭activity LayoutInflater的inflate方法 开发安卓程序怎么用 phonegap 做到 连接网站内容 android webview 在公司真实项目 关于android 内核版本选择的问题++++ R文件一个小问题!!!!!速速进来瞧瞧! gradle project sync failed ... 各位大神,能否帮忙看看这个问题怎么解决,在线等! 求推荐android开发的入门及提升的书籍。 alertdialog问题
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货