I started Android Programming few days ago and make a simple application using JSON request.
I have some problems to print to the output console the content of a string.
Indeed, the JSON response is quite big (.length() return 93k ) and when I print it with System.out.println, there is only 4013 printed char.
How can I retrieve the whole string ? (Or write it to a log file) ?
I started Android Programming few days ago and make a simple application using JSON
Share
May be it will be better for you to output it on device screen? As TextView element.
Or write it in file, using solution like this.
Do not forget to add permission for that in AndroidManifest.xml
For future, to parse JSON use classes from org.json package, they are very easy and helpful.