Page 59 - TP-Play_V-2.0_Book-6
P. 59

Creating a Talking App

            In  the  Project  Designer  window,  we will
            design the interface by choosing buttons,
            images  or text boxes  and specify  the
            functionalities of our app.

            Adding a Button

            Drag and drop a button from the Palette
            pane to the View 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 A12
            companion. Now follow the given steps.
            Step 1  Click on Connect menu.

            Step 2  AI Companion from the drop-down list.
            Step 3  Open MIT A12 Companion on your device connect by scanning the QR code or typing
                     the code displayed on your screen.























            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

            In the components pane, Button 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 the Talking Me.




                                                                                     App Development         59
   54   55   56   57   58   59   60   61   62   63   64