O'Reilly logo

Learning MIT App Inventor: A Hands-On Guide to Building Your Own Android Apps by Mark Sherman, Derek Walter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Web GET and POST

The Web component, under the Connectivity palette in the Designer, offers one more way to interact with data over the Internet and get access to public databases. The Web component provides direct access to the most low-level tool that any web browser has, which is to request a page from somewhere on the Internet by URL. The Web component also has the capability to post text or a file to a web server. With those two capabilities, you can communicate with basic web servers around the world.

Any response you get using the Web component can be delivered to you in the blocks or saved as a file. If the SaveResponse property is checked or set to true, it saves the response as a file and gives you the name of the file as a response ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required