App Inventor provides a fast and easy way to build simple apps for Android phones and tablets. It is targeted primarily at those of us with limited, or no experience in Android development. App Inventor has a fairly intuitive graphical interface, where you first visually design the application screen and then add the logic by dragging and dropping a series of colour-coded code “blocks” that snap together with a satisfying click, when connected correctly.
What l like about App Inventor, is that you do not need to install and configure a full blown Android development environment on your computer in order to create a simple application. All you need to is to create an account on the App Inventor web-site and install the MIT AI2 Companion to your Android device. You design your app in a browser window and can preview and debug it in real time on your Android phone, syncing it up over a Wi-Fi connection. Once your app is ready, you build and download a compiled .apk file and can install it on your phone, upload it to Google Play, or spam all your friends with it.
This makes it easier to integrate all the cool features of an Android smartphone (touchscreen, camera, microphone, speakers, accelerometer, gyroscope etc.) into your Arduino robotic projects. I used App Inventor to build a small Android app that allowed me to remotely control an Arduino differential drive robot with an Android phone, over Bluetooth. Here is how the completed design screens looked like:
Here is more info on how to get started:
- App Inventor Getting Started Guide
- The MIT App Inventor Library: Documentation & Support (AI2)
- App Inventor Beginner video tutorials
Note that App Inventor is now at version 2. If you are following unofficial tutorials online, make sure that they are for the new App Inventor 2, not the old (now called “classic”) version. Although the key concepts are the same (at the moment) you cannot import and edit projects done in the old (or “classic”) App Inventor into version 2. I found that the hard way recently, so save yourself some grief and pay attention to the versions.
Of course, if you are interested in getting into professional Android app development, App Inventor is no match to the official Android SDK.