Sub Menu contents

Unit 2

Introduction to Mobile Apps & Pair Programming

2.1 Unit Overview

2.2 I Have a Dream Tutorial

2.3 The Internet & The Cloud

2.4 I Have a Dream Part 2

2.5 Mobile Apps & Devices

2.6 Algorithm Basics

2.7 I Have a Dream Projects

2.8 Abstraction

2.9 Binary Numbers

2.10 Hardware Abstractions: Logic Gates

2.11 The Digitial Explosion

2.12 Wrap Up


I Have a Dream Tutorial

This is the "I Have a Dream" app, the first app you’ll build for the Mobile CSP course. You'll learn that app building is a creative process. You will write code that plays Martin Luther King’s “I Have a Dream” speech when the user touches the phone’s screen.

  • Follow an instructor-led walkthrough to create the I Have a Dream app on a mobile device
  • Navigate the App Inventor programming platform
  • Develop your understanding of what an App Inventor program is
  • Develop your understanding of event handlers
  • Develop your understanding of how an app makes decisions with if-else control blocks

  • Getting Ready

    1. You’ll start by downloading a starter app that has the image and sound files you need but is otherwise a blank app. Download this app at I HaveADream Starter File

    2. Open App Inventor 2.

    3. Go to Project

    4. Select Import Project (.aia) from my computer. Then choose the file you just downloaded to your computer.

    5. The starter app will open in App Inventor.  

    6. Follow the directions in the video links to the right of the page

    This unit will provide an introduction to the App Inventor Integrated Development Environment (IDE). An IDE is an integrated set of software tools used to develop computer software. You will learn how to use App Inventor to design, develop, and test a simple mobile app. IDEs are key part of the toolkit that programmers use to develop software.

    This unit focuses on App Inventor's image and sound features and related topics from the Computer Science (CS) Principles curriculum.


    In your portfolio, create a new page named I Have a Dream (If you are using the Mobile CSP Student portfolio template, this page has already been created for you) and answer the following questions:

    1. In your own words, describe what event driven programming is. What event handler was used in the I Have a Dream app? How was it used?
    2. Is it possible to create an app without event driven programming? Explain.
    3. What elements and components make up the User Interface (UI) for the I Have A Dream app?
    4. What are some of the elements that make up the UI for a car? A vending machine?