Home / Mobile App Learner / Connect App Inventor to your phone for live testing

Connect App Inventor to your phone for live testing

Connect App Inventor to your phone for live testing of your application

One of the Interesting thing about App Inventor is that you can see and test your app while you’re building it, on a connected device. If you have an Android phone or tablet, follow the steps below. If you do not have a device, then follow the instructions for setting up the on-screen emulator (opens a new page) and then come back to this tutorial once you’ve gotten the emulator connected to App Inventor.

Connect App Inventor
Connect App Inventor for live testing

 

 

Get the MIT AI2 Companion from the Play Store and install it on your phone or tablet.

The preferred method for getting the AI2 Companion App is to download the app from the Play Store by searching for “MIT AI2 Companion”.

App Inventor testing 1
Connect App Inventor for live testing

 

To download the AI2 Companion App to your device directly (SKIP THIS STEP IF YOU already got the app from Play Store)

If for some reason you can not connect to the Google Play store, you can download the AI2 Companion as described here.

First, you will need to go into your phone’s settings (#1), choose “Security”, then scroll down to allow “Unknown Sources”, which allows apps that are not from the Play Store to be installed on the phone.

Second, do one of the following:

  1. A) Scan the QR code above (#2)

or

  1. B) Click the “Need help finding…” link and you’ll be taken to the download page. From there you can download the MITAI2Companion.apk file to your computer and then move it over to your device to install it.
App Inventor testing 2
Connect App Inventor for live testing

 

Start the AICompanion on your device

On your phone or tablet, click the icon for the MIT AI Companion to start the app. NOTE: Your phone and computer must both be on the same wireless network. Make sure your phone’s wifi is on and that you are connected to the local wireless network. If you can not connect over wifi, go to the Setup Instructions on the App Inventor Website to find out how to connect with a USB cable.

 

App Inventor testing 3
Connect App Inventor for live testing

 

Get the Connection Code from App Inventor and scan or type it into your

Companion app

On the Connect menu, choose “AI Companion”. You can connect by:

1 – Scanning the QR code by clicking “Scan QR code” (#1).

or

2 – Typing the code into the text window and click “Connect with code” (#2).

App Inventor testing 4
Connect App Inventor for live testing

 

See your app on the connected device

You will know that your connection is successful when you see your app on the connected device. So far our app only has a button, so that is what you will see. As you add more to the project, you will see your app change on your phone.

App Inventor testing 5
live testing

 

About Smartz

Check Also

Lesson 2 : HTML BASIC TAGS

HTML BASIC TAGS -HTML BASIC TAGS,HTML is a markup language and consists of  various tags …

Leave a Reply