討論串[問題] http get 回傳長度限制
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者iincho (世界的盡頭)時間13年前 (2012/08/29 23:33), 編輯資訊
0
0
0
內容預覽:
嗯...logcat裡面是個ring buffer喔,有長度上的限制,. 下 logcat -g 就知道多大了,. 所以大概是你get回來的網頁大於這個buffer size了. --. Beware of bugs in the above code;. I have only proved it

推噓1(1推 0噓 1→)留言2則,0人參與, 最新作者Madon (羽)時間13年前 (2012/08/29 17:52), 編輯資訊
0
0
0
內容預覽:
我用下面的code來讀取url網址回傳的資料:. HttpClient httpclient = new DefaultHttpClient();. HttpGet httpget = new HttpGet(url);. HttpResponse response = httpclient.exe
(還有110個字)
首頁
上一頁
1
下一頁
尾頁