Page 75 - PlugGPT_V2.0_C7_Flipbook
P. 75

CREATING A TALKING APP
                 In the Project Designer window, we design the interface by choosing User Interface components
                 such as buttons, images or text boxes and specify the functionalities of our app. We are going to
                 create a simple talking app.

                 Adding a Button

                 Drag and drop a Button from the

                 Palette pane to the Viewer pane.

                 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 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.























                 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.


                                                                                    More on App Development          73
   70   71   72   73   74   75   76   77   78   79   80