Page 106 - TP_iPlus_V2.1_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:

                                                      1  Click on the Connect menu.


                            2  Select AI Companion
                           from the drop-down list.












                                        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:

                                           3  Type the new name for the component.
                                           In this example, we named it Talking Me.



                                                                                            1  Click on the button,
                                                                                           whose name you
                                                                                           want to change, in the
                                                                                           Components pane.



                                                                                            4  Click on the
                                                                                           OK button.


                                                                                            2  Click on
                                                                                           the Rename
                                                                                           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.


                   104
                         iPlus (Ver. 2.1)-VIII
   101   102   103   104   105   106   107   108   109   110   111