App Inventor. CEMC – Summer Workshop 2012 Grant Hutchison firstname.lastname@example.org Humberside CI, TDSB. Agenda. What is App Inventor? Why App Inventor? CS Educational Perspective How to use App Inventor? Hands on activities ( Lab 1 and 2) More App Inventor Resources and Futures
CEMC – Summer Workshop 2012
Grant Hutchison email@example.com
Humberside CI, TDSB
Most students use the emulator
Emulator takes a few minutes to start. Each code change will be reflected in emulator.
Source code is a zip file
Install/Binary image is an apk(Android Package File)
Students have phones
Each code change will be reflected in phone.
Students have phones.
Three ways to get the app on a phone.
App Inventor consists of (3) tools working in unison:
Define Graphical User Interface (GUI) and Non-GUI components
Determine the behaviour (algorithms and data structures) of the components
Platform for testing/using apps
Event based programming
Palette - Available component types
Viewer - "rough" visualization of app
Components - actual components in project
Properties - initial properties for component
Use the Blocks Editor to define the app behaviour.
ObjectiveCreate an interactive app that changes the colour of the screen on the computer.
change the screen colour to red (Event Handler).
App Inventor Skills
ObjectiveCreate a simple calculator app that can add, subtract, multiply, and divide operations.
Extension : TextToSpeech
ObjectiveCreate a program to determine the age of a person based on their year of birth. The application will also request the user's first name, last name, and it will display and announce their name and age within a complete sentence.
ObjectiveCreate a temperature convertor program for Fahrenheit and Celsius.
ObjectiveCreate an interactive drawing program.
Clocks - non-visible components
Used for 2 REASONS
You can change these and other properties to modify the image sprite's behavior.
ObjectiveCreate an interactive game.
ObjectiveCreate an future investment calculator to determine the value of compound interest investments.
ObjectiveCreate a fun graphical application.
ObjectiveCreate a science-based quiz game involving knowing the most abundant elements on Earth.
ObjectiveCreate an application to calculate each person's equal share of the restaurant (or any) bill including a tip for service.
2 non-visible components for audio:
ObjectiveCreate a xylophone application that can be used to record and playback music.
An application needs to remember information as it is being used by a user.
There are two storage areas for applications :
App Inventor is able to store variables or lists in locally on the phone or on a web server.
ObjectiveCreate an application to generate quizzes for students.
<ball/sprite>.EdgeReached (number edge)
The edge argument tells which edge was reached.
ObjectiveCreate an pong style game with a control pad for the paddle and various difficulty levels.
Purpose of the Application
The application includes information about available courses along with extra information such as competitions.
The app also includes an interactive game called "MythBusting Computer Science".
Just go to Google Play and search for:
"Explore Computer Science"