Page 97 - modular4.0
P. 97

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


                                   2  Select the AI Companion option                       3  Open MIT A12
                                   from the drop-down list.                                Companion on your device
                                                                                           connect by scanning the

                  1  Click on                                                              QR code or typing the code
                  Connect                                                                  displayed on your screen.
                  menu.















                 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:






                 App will be visible on
                  connected device.

                                                                                               2  Type the new name
                                                                                               for the component.







                                                     3  Click on the OK   1  Click on the Rename button
                                                     button.              in the Components pane.

                 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.








                                                                                                   App Development   95
   92   93   94   95   96   97   98   99   100   101   102