Page 106 - iprime_V2.2_class8
P. 106
Testing the App
App Inventor allows us to test our app while creating. To test your app, connect your android
device to the Internet and download MIT AI2 Companion. Then, follow the given steps:
Step 1 Click on the Connect menu.
Step 2 Select AI Companion from the drop-down list.
Step 3 Open MIT AI2 Companion on your device and connect by scanning the QR code or
typing the code displayed on your screen.
Make sure your device and computer are connected to the same wireless network to perform
these steps.
If you do not have any android device, you can download Emulator on your computer which
works just like an Android device but works on the computer. The commonly used Android
Emulators are Android Studio, LD Player, Make Your Own etc.
Rename the Button
In the Components pane, Button is displayed as Button1, you can rename it. To rename a
button, follow the given steps:
Step 1 Click on the button, whose name you want to change, in the Components pane.
Step 2 Click on the Rename button.
Step 3 Type the new name for the component. In this example, we named it Talking Me.
Step 4 Click on the OK button.
The new name for the button will appear in the Component pane but in the Viewer pane,
button still has the name Text for Button1 displayed on it.
Change the Display Name of Button
To change the display name, follow the given steps:
Step 1 Click on the button in the Viewer pane.
Step 2 Type a new name for the button in the Text box.
Suppose Android and iOS were rival kingdoms in a digital realm. What unique
features and powers would each kingdom possess, and how would they
influence the development of apps within their domains?
104 iPRIME (Ver. 2.2)–VIII

