MIT App Inventor – Week 3 Activity

advertisement
MIT App Inventor – Week 3 Activity
Add the following to your Screen:





A Vertical Arrangement (under Layout)
Inside the Vertical Arrangement, add
o A Label (under User Interface)
o A Button (under User Interface)
Add a Sound (under Media)
Add a Clock (under Sensors)
Add an AccelerometerSensor (under Sensors)
Rename your Label to “QuestionLabel”
Rename your button to “GoButton”
Change each item’s properties to the following:
Switch to “Blocks” view and create 3 variables as shown below.
MIT App Inventor – Week 3 Activity
Create the following procedure (under “Procedures”). Call it “nextQuestion”.
Add the following code to call your new procedure
Add these 2 blocks of code to display the countdown
Download