F FMFREAK Member Licensed User Longtime User Apr 22, 2011 #1 I want to know how I can get a JSON object from an URL (Internet) into a string to use it into panels into a Scrollview. I know I must use the HTTP library and the JSON library, but is there any example how to do this.
I want to know how I can get a JSON object from an URL (Internet) into a string to use it into panels into a Scrollview. I know I must use the HTTP library and the JSON library, but is there any example how to do this.
Erel B4X founder Staff member Licensed User Longtime User Apr 22, 2011 #2 First download the updated Http library: http://www.b4x.com/forum/additional-libraries-official-updates/8338-http-library-v1-10-a.html There is a new example in the manual that demonstrates how to download a string: Basic4android - HTTP There is a tutorial about JSON here: Android JSON tutorial Upvote 0
First download the updated Http library: http://www.b4x.com/forum/additional-libraries-official-updates/8338-http-library-v1-10-a.html There is a new example in the manual that demonstrates how to download a string: Basic4android - HTTP There is a tutorial about JSON here: Android JSON tutorial