摘要:
android网络连接总结本文转自:http://dev.10086.cn/cmdn/wiki/index.php?doc-view-3685.html一:HttpURLConnectionJava代码URLsourceUrl;StringfileName="";try{sourceUrl=newURL("网址");fileName=sourceUrl.getFile();fileName=fileName.substring(fileName.lastIndexOf('/')+1);fileName="/sdcard/&quo 阅读全文