I am building an app that fetches images from websites. When i fetch html of the webpage , only half of the webpage is fetched by InputStreamReader. Spent too much time searching for solution but none suggest how to fix the problem. any help is appreciated. Thank you.
Here's the MainActivity.java https://gist.github.com/sujayss81/e4237916c605be223c673af7cf8f40d4
Here are the logs
https://gist.github.com/sujayss81/774472fe274e7cf9ebfdd0388c3e3ab5
The code correctly fetches the entire web page. But the output of Log.i("Result",result);
is truncated.
So if you want to increase this limit, consult these question:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.