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

Web APIs

Many services on the Web provide an API (application programming interface) to enable developers like you to access their service and the data within it. The details of how web service APIs work is beyond the scope of this book, but here are the pieces you need to get App Inventor to work with them.

App Inventor can use any RESTful web API that makes and accepts http GET, POST, and PUT requests. It can post files (including images and video) and also receive both files and text.

The key is, it cannot do anything beyond stateless, individual requests. It cannot provide payload data—the entire request must be in the URL. It cannot use an API that depends on a prolonged session or connection. This could change in the future, but the Web ...

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