摘要:
Whenever you first start an Android application, a thread called "main" is automatically created. The main thread, also called the UI thread, is very 阅读全文
posted @ 2016-08-19 18:49
山高我为峰
阅读(713)
评论(0)
推荐(0)
摘要:
当在主线程中执行网络操作时,NetworkOnMainThreadException会抛出这个异常; 你应该调用“asynctask”的“sendfeedback”方法来执行网络操作;当Web服务器花费很多时间响应主线程而变成迟钝,为了避免这种情况,使用“asynctask”更好 阅读全文
posted @ 2016-08-19 18:46
山高我为峰
阅读(7844)
评论(0)
推荐(0)
浙公网安备 33010602011771号