Hello World

Connecting your computer to a tablet or phone

The ideal way of building Apps using the MIT App Inventor platform is building your App on your computer, desktop or laptop, and testing it in real-time on your tablet or phone.

Your computer and device must be on the same network for live testing to work. Some network configurations may prevent live testing. Please check with your network administrator if you experience an issue.

MIT AI2 Companion

On your Android device, open the Play Store App and search for MIT AI2 Companion from the MIT Center for Mobile Learning. Click on Install.

MIT App Inventor website

Using Chrome or Firefox, open the MIT App Inventor website https://appinventor.mit.edu

Click on Create Apps! and sign in with your Google account.

Hello World Project

Click on Start new project.

Project name

Name the project HelloWorld

Project names are case sensitive.

Project names cannot contain spaces.

Writing your HelloWorld App

Drag a Label onto the Screen

Properties

Change the text to Hello World!

You'll notice the text on the screen updates to Hello World!

Connect to AI Companion

Click on Connect and select AI Companion.

A popup window appear with a QR code and a 6 letter code to connect your App to your device. On your device, you can either scan the QR or type in the code.

Scanning the code much faster than trying to type it in.

Screencast Recap

Live Testing Success

If all goes well, you’ll see Hello World! on your device’s screen! Any changes or updates to your program that you do on the MIT App Inventor website will appear on your device instantly.

Last updated