Android客戶端post方式鏈接web(servlet)服務器實現簡單登陸

轉載自http://blog.csdn.net/qq_28468727/article/details/52766633html 注意點:java 一、訪問網絡的工做不能在主線程(UI)中進行,若是耗時過程則會致使程序出錯 ------(子線程中進行)android 二、子線程不能更新UI -------(主線程中進行)web 三、使用Handler配合子線程更新主線程時要注意內存泄露的問題,解決
相關文章
相關標籤/搜索