Lesson 1 Introduction to MIT App Inventor

Developing Applications with App Inventor

Learning Objectives

Tools

Lesson 1 Introduction to MIT App Inventor

Developing Mobile Applications

Table 3.1: Examples of smartphone applications

Mobile Application

Stages of Creating Smartphone Applications

Lesson 1 Introduction to MIT App Inventor

MIT App Inventor

Advantages of Using MIT App Inventor

Developing a Tourism Application

Differences between Prototyping UI and Developing UI

App Inventor was developed by Google in 2010 and is now maintained by MIT (Massachusetts Institute of Technology).

Lesson 1 Introduction to MIT App Inventor

Transitioning from Prototype to Application

Start Building Apps with App Inventor

Lesson 1 Introduction to MIT App Inventor

Figure 3.2: Signing in to App Inventor

To start a new project in MIT App Inventor:

Lesson 1 Introduction to MIT App Inventor

The App Inventor Interface

Lesson 1 Introduction to MIT App Inventor

Table 3.2: App Inventor - most commonly used components

Changing the Properties of a Component

To change the screen title:

Lesson 1 Introduction to MIT App Inventor

Adding a Button to the Screen

Lesson 1 Introduction to MIT App Inventor

Aligning the Components of the Screen

Lesson 1 Introduction to MIT App Inventor

Adding a Background Image to the Screen

Lesson 1 Introduction to MIT App Inventor

Figure 3.8: Adding a background image

Lesson 1 Introduction to MIT App Inventor

To add a Label component:

Lesson 1 Introduction to MIT App Inventor

Programming the Interactive Button

The App Inventor Blocks Page

Lesson 1 Introduction to MIT App Inventor

Understanding the groups of programmable commands

Each component that you select will have its own event handlers and operations to alter their properties.

To select the Click event for the button:

Lesson 1 Introduction to MIT App Inventor

To access the Text property of the label:

Lesson 1 Introduction to MIT App Inventor

To modify the Text property of the label:

Lesson 1 Introduction to MIT App Inventor

Testing the Application

Setting up the Android Emulator

Lesson 1 Introduction to MIT App Inventor

1. Run the Application with Android Emulator

2. Run the Application with AI Companion

Before scanning both devices have to be connected to the same WiFi network.

Lesson 1 Introduction to MIT App Inventor

Figure 3.16: Testing an application with the MIT AI2 Companion

When you close the Companion app, the application is removed. In order for it to remain on your mobile device it needs to be installed.

Lesson 1 Introduction to MIT App Inventor

Describe the four stages of developing a mobile application.

Compare how developing applications with MIT App Inventor differs from traditional mobile app development.

List the advantages of developing mobile apps with MIT App Inventor.

Lesson 1 Introduction to MIT App Inventor

Create a simple application about a country you want to visit.

Describe how a wireframe prototype will help with the development of the tourism application.