I Have a Dream

Conceptualize and Customize

Printable Version

Topics

App Inventor environment, events, event-handlers, components, properties, conditionals

Discussion Questions

  1. App Inventor has two main windows. What are they and what do you do with them?
  2. Testing and Installing an App
    • How do you test an app while you're developing it?
    • How can you install an app you build to your phone?
    • What if you didn't have a phone, but wanted to program some apps. Could you? How?
  3. For the I Have a Dream app, name a:
    • visible component:
    • non-visible component:
    • property
    • event
    • event-handler
    • function call
    • conditional

  4. What is an event handler? What does it consist of?
  5. An app consists of its user interface and its behavior. What does an app’s behavior consist of?

Customization Exercises

  1. Modify the “I Have a Dream” app so that the MLK speech starts when you shake the phone. You’ll need an AccelerometerSensor component. Explore on your own and see if you can figure it out. If you get stuck, see http://www.appinventor.org/Events#shaking.
  2. The “I Have a Dream” app uses two Player Components, one for each speech. Rewrite the app so that only a single Player Component is used (hint: you’ll need to change the Player.Source property in the blocks).