So I got my Google App Inventor invite last night, had a quick play this morning with the Hello World app, and then hit an issue as the App Inventor kept failing to connect to my phone with anything other than a new app project started from scratch… so rather than waste the morning variously rebooting my phone, mac, phone and mac, in various combinations, here’s a quick tour – without commentary for now – of some of the various blocks that the App Inventor editor supports…
First of all, the “built-in” blocks, that are always available:
Then there are the blocks associated with components that have been added to the app. So for example, there are various sensor related blocks:
These being phone apps, phone functions are also handy. For example:
To make the phone related activities easier, I’m guessing the contacts and phone number picking utilities might be handy (though I’m not sure how you’d use them?)
There are also a range of social tools. For example:
(It occurs to me that the Twitter blocks use basic authentication rather than OAuth, which means any apps built using the Twitter login component as-is will break at the end of August when basic authentication to Twitter is switched off…)
Media components are supported too. For example:
<em<Sound and vibration:
Database facilities are also provided:
and timer related functions:
Then there are various blocks relating to screen components. For example:
Then there are layout related blocks, such as:
Horizontal and vertical layout:
Okay – that’s enough for now… I’ll maybe have to try restarting my browser, rebooting my phone, and giving the actual creative site of app inventor a go again…;-)
PS I missed a couple of really interesting blocks…
Speech recogniser blocks:
The help documentation describes the activity starter as follows:
A component that can launch an activity using the StartActivity method.
Activities that can be launched include:
starting other App Inventor for Android apps
starting the camera application
performing web search
opening a browser to a specified web page
opening the map application to a specified location
so it looks like quite a lot of scope for interacting, albeit loosely in the first instance, with other things on the phone? (See Activity starter notes for more…)
Something that’s listed as not quite ready yet is the TinyWebDB:
From demos posted on the Google group, it looks like you can use this as a proxy for web content – e.g. allowing a web app to post stuff into the DB, and then the inventor app to pull the results (and maybe make additional requests) via the web database. The representation format used to support comms between the app and the web database seems to be JSON.
For some outdated, but still informative, info about the various blocks, see component reference and blocks reference.
7 thoughts on “Overview of Google App Inventor Blocks”
Great overview, Tony. Received my invite to the beta too, looking forward to playing and seeing if we can get students programming with it soon.
could do with an invite!
This is awesome and very comprehensive, thanks for posting this :)
agreed, I wonder about launching other apps such as the camera and then being able to control zoom(for example)
Thanks for the very helpful review?
Can you tell if the speech recognition is American English only, or if it handles other languages?
Do you know where I can find good information on how to build an app that plays a video from you tube.
Comments are closed.