Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 86 - CodePilot V5.0 C6
P. 86

    Step  30  Hover the mouse over currentY, select get currentY and connect it to y2.

                      TESTING THE MAGIC PAD APP

                      Follow the given steps to test your app on a smartphone:
                       Step  1     Download and install the MIT AI2 Companion app on your mobile phone from the
                                  Google Play Store.

                       Step  2    Click on Connect from the top menu.

                       Step  3    Click on AI Companion from the drop-down menu.

                                  The Connect to Companion message box appears.

                       Step  4     Open MIT A12 Companion on your device and connect by scanning the QR code or
                                  typing the code displayed on your screen.

                                                                                    Select Android App (.apk) from the
                                                                                     Build menu to create a file that can
                                                                                     be installed on an Android device.

                      After testing, ensure the app draws smoothly with your finger, changes colours with button taps
                      and clears correctly with the Reset button.

                                                                                                   21 st   #Critical Thinking
                           EXPERIENTIAL LEARNING                                                 Century   #Technology Literacy
                                                                                                  Skills
                        Create an app using the Ball component on the Canvas that moves or bounces when touched.
                        Explore how the ball responds to different touch actions like tapping or swiping.

                          PRIVACY PRACTICES

                          Always download apps from official stores (Google Play, App Store) and avoid third-party sites.

                       84
                            CodePilot (V5.0)-VI

| 81 82 83 84 85 86 87 88 89 90 91 |