Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 78 - 2617_JSSPS_C-7
P. 78

    Factbot

                     The MIT App Inventor interface supports over 21 languages, making it accessible worldwide.

                  Step 24:  Click on the Canvas1 block from the Blocks palette to open its blocks.

                  Step 25:  Drag the block when Canvas1.Dragged to the workspace.
                  Step 26:   Drag the call Canvas1.DrawLine block and place it inside the when Canvas1.Dragged block.

                  Step 27:   Hover the mouse over prevX, select get prevX and connect it to x1 in the DrawLine block.
                  Step 28:  Hover the mouse over prevY, select get prevY and connect it to y1.

                  Step 29:  Hover the mouse over currentX, select get currentX and connect it to x2.

                  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.

                            Premium Edition-VII
                     76

| 73 74 75 76 77 78 79 80 81 82 83 |