处理异常参考此链接 ,
其实也就是android app访问网络时需要 asyntask 异步处理请求 或者使用 new Thread .......handler
http://www.lucazanini.eu/2012/android/the-android-os-networkonmainthreadexception-exception/?lang=en
处理异常参考此链接 ,
其实也就是android app访问网络时需要 asyntask 异步处理请求 或者使用 new Thread .......handler
http://www.lucazanini.eu/2012/android/the-android-os-networkonmainthreadexception-exception/?lang=en