Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 102 - 2615_KEC
P. 102

    o  When Accelerometer Shaking   Call Canvas.Clear.

                                                                  Sample Code

                      4. Testing the App

                           Testing Process:
                          o  Use an Android phone or tablet to test the app.

                          o  In MIT App Inventor, click Connect   AI Companion.
                          o  Scan the QR Code using the MIT AI2 Companion App on your device.

                          o  Test the brush color buttons, clear button and shake functionality.
                           Installing the Companion App:

                          o  Download MIT AI2 Companion from the Play Store.
                          o  Use the app to scan the QR code and live-test the application.

                      Key Takeaways:

                         Develop interactive touch-based applications.

                         Learn to integrate sensors like accelerometers.
                         Gain hands-on experience with app design and coding.

                      100   Premium Edition-V

| 97 98 99 100 101 102 103 104 105 106 107 |