Page 118 - Touchpad_Plus_V3.2_Class 8
P. 118

Testing the App

                  App Inventor allows us to test our app while creating, so, to test your app, connect your android
                  device and download MI AI 2 companion. Now follow the given steps.
                   Step 1  Click on the Connect menu.

                   Step 2  Click on AI Companion from the drop-down list.

                   Step 3  Open  MIT AI 2 Companion  on your  device. Now  connect  your  device connect
                           by scanning the QR code or typing the code displayed on your screen in MIT AI 2
                           Companion app.





























                                        Selecting AI Companion option                 Displaying MIT AI2 Companion code

                  Make sure your device and computer are connected to the 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

                  When you drag a component from Pallete pane to the View pane , for example a button, in the

                  Components pane, it is displayed as Button1, you can rename it.
                  To rename a button, follow the steps given below:

                  Step 1  Click on Rename button.

                  Step 2  Type the new name for the component. In this example. We have given Talking Me.
                  Step 3  Click on OK button.

                  The new name for the button will appear in the Component pane but in the Viewer pane,
                  button still has Text for Button1 displayed on it.



               116      Plus (Ver. 3.2)-VIII
   113   114   115   116   117   118   119   120   121   122   123