Programming & Web Development
Mobile apps with MIT App Inventor
Making Android apps by snapping blocks together: screens, buttons, text and images, sensors, lists and saving data on the phone.
Suits: Students from class 7 onwards and beginners
Duration, fees and batch timings are quoted by the head office or your centre.

The study book of this course
- Mobile Apps with MIT App Inventor
- Lessons
- 10
- Practice questions
- 40
- Free ebooks
- 0
About the course
What the App Inventor course is about
App Inventor lets a beginner build a real Android app by dragging components onto a screen and snapping blocks together for the logic, the way Scratch does for animations. The app runs on your own phone through the Companion app while you build it.
The study book builds a series of apps, each adding one idea: a talking button, a tip calculator, a shopping list, a drawing app, a game that uses the phone’s tilt sensor, and an app that remembers its data after it closes. It ends with testing, fixing bugs and building the installable APK responsibly.
What you will practise
Drawn from the lessons of the study books below.
- 01
Set up a project, use the Designer and Blocks editors, and test on a phone with the Companion
- 02
Build screens with buttons, labels, text boxes, images and layouts
- 03
Use events, variables, arithmetic, conditions and procedures
- 04
Work with lists and the ListPicker, and draw on the Canvas
- 05
Read the accelerometer, location and clock sensors
- 06
Store data with TinyDB, share from the app and build the APK
What you will learn
10 lessons, 30 exercises
Every lesson of the study book that comes with this course in the student portal, with the key points of each lesson and exercises to try. Your centre gives you the syllabus, the duration and the fee.
Study book
Mobile Apps with MIT App Inventor
Build real Android apps with blocks: how App Inventor works, a first talking app, layouts and screens, events and variables, conditions and procedures, lists, the Canvas, phone sensors, TinyDB storage, testing and building an APK responsibly.
1What an app is and how App Inventor works4 min read · 4 key points · 3 exercises
Key points
- An app has a visible side (the screen) and a behaviour side (what happens on events).
- App Inventor has a Designer view for the screen and a Blocks view for the logic.
- Components have properties that can be set in the Designer or changed by blocks.
- The Companion app shows your app live on a phone; the emulator is a pretend phone on the computer.
Try this
- Open App Inventor, create a project called HelloDelhi and find the Designer and Blocks buttons.
- Add a Button and a Label, then change the Text, BackgroundColor and FontSize properties of each.
- Connect the Companion app (or start the emulator) and watch a property change appear on the phone.
2The first app: Talk To Me4 min read · 4 key points · 3 exercises
Key points
- Talk To Me uses a Button, a Label and an invisible TextToSpeech component.
- when Button.Click is an event handler that runs when the button is tapped.
- call TextToSpeech.Speak needs a message input, which can be fixed text or TextBox.Text.
- Properties can be read and set with blocks while the app runs.
Try this
- Build Talk To Me and make it speak a greeting in your own words.
- Add a TextBox so the app speaks whatever the user types.
- Add a second button that changes the label colour and speaks a different sentence.
3Layouts, images and screens4 min read · 4 key points · 3 exercises
Key points
- Horizontal, Vertical and Table arrangements control where components sit.
- Percent and Fill parent sizes adapt to different phone sizes.
- Upload small images and set a component's Picture or Image property.
- Extra screens are added with Add Screen and opened with the open another screen block.
Try this
- Build a calculator-style keypad using a TableArrangement with buttons 0 to 9.
- Add an Image component showing a picture you drew, sized to 80 percent of the screen width.
- Create a second screen called AboutScreen with a Back button that closes it, and open it from Screen1.
4Events, variables and arithmetic: a tip calculator5 min read · 4 key points · 3 exercises
Key points
- All logic sits inside event handlers; the app waits for events to happen.
- Global variables are created with initialize global and used with get and set.
- Math blocks nest, so (bill × percent) / 100 works as one expression.
- Use NumbersOnly, starting values and rounding to keep calculations tidy.
Try this
- Build the tip calculator and test it with a bill of 1,250 and a 15 percent tip.
- Add a PeopleBox and show each person's share, rounded to two decimal places.
- Make a unit converter that turns kilometres into miles when a button is pressed.
5Conditions and procedures4 min read · 4 key points · 3 exercises
Key points
- if then else runs different blocks depending on a true or false condition.
- Branches of else if are tested in order and the first true one wins.
- A procedure is a named, reusable group of blocks; result procedures give back a value.
- Screen1.Initialize runs once when the screen opens, a good place to set things up.
Try this
- Make a quiz with three questions about Indian cities that checks answers with if blocks and keeps a score.
- Write a procedure called showMessage with one input and call it from two different buttons.
- Write a result procedure that returns the larger of two numbers and test it with a label.
6Lists and the ListPicker: a shopping list4 min read · 4 key points · 3 exercises
Key points
- A list stores many values in order and positions start at 1.
- add items to list, select list item, remove list item and length of list are the core blocks.
- A ListPicker shows a list to choose from; AfterPicking gives the Selection.
- After changing a list, set the ListView Elements again so the screen updates.
Try this
- Build the shopping list app and add five grocery items, then remove two.
- Add a Clear All button that sets the list back to an empty list and refreshes the view.
- Make a ListPicker of six Indian cities and show the chosen city in a label with its index.
7Drawing and the Canvas: a paint app and a tap game5 min read · 4 key points · 3 exercises
Key points
- The Canvas has (0, 0) at the top-left and y grows downwards.
- Dragged gives previous and current positions, which is how a paint app draws lines.
- ImageSprite and Ball live inside a Canvas and have X, Y, Heading and Speed.
- A Clock's Timer event can move a sprite at regular intervals to make a game.
Try this
- Build the paint app with three colours, a line-width slider and a Clear button.
- Build tap-the-mole and add a 30-second countdown that ends the game.
- Make a Ball that bounces off the edges and changes colour each time it bounces.
8Sensors: accelerometer, location, clock and timers4 min read · 4 key points · 3 exercises
Key points
- The AccelerometerSensor gives Shaking and AccelerationChanged events for tilt and shake apps.
- The LocationSensor gives latitude and longitude; location is private and needs permission.
- The Clock fires a Timer event every TimerInterval milliseconds and also reads date and time.
- Turn sensors off when not needed to save battery.
Try this
- Make a dice app that shows a random number from 1 to 6 when the phone is shaken.
- Make a stopwatch with Start, Stop and Reset buttons using a Clock.
- Show the phone's latitude and longitude in a label and display a message when the phone moves.
9Storing data with TinyDB and sharing4 min read · 4 key points · 3 exercises
Key points
- Variables are lost when the app closes; TinyDB keeps values on the phone.
- TinyDB stores tag and value pairs with StoreValue and GetValue (with a default).
- Load data in Screen1.Initialize and save after every change.
- The Sharing component lets the user send text or files through apps they choose.
Try this
- Add TinyDB to the shopping list app so the list survives closing and reopening the app.
- Save a high score in the mole game and show it on the screen at start.
- Add a Share button that sends the user's score as a message.
10Testing, fixing bugs and building the APK responsibly4 min read · 4 key points · 3 exercises
Key points
- Error pop-ups, the warnings counter, Do It and the Notifier help find bugs.
- Test with empty inputs, rotation, long text, no internet and other people's phones.
- Build an APK or AAB from the Build menu after setting the icon, name and version.
- Ask only for permissions you need, respect privacy and credit any material you use.
Try this
- Use Do It on a variable block to check its value while the app runs on the Companion.
- Run the six-step testing checklist on one of your apps and note every problem you find.
- Set an icon, app name and version, build the APK and install it on a phone you are allowed to use.
Glossary: 28 key terms of Mobile Apps with MIT App Inventor
- App
- A program that runs on a phone or tablet.
- MIT App Inventor
- A free web tool for building Android apps with blocks.
- Designer
- The view where you place components on the screen and set their properties.
- Blocks
- The view where you build the app's behaviour by snapping blocks together.
- Component
- A part of an app such as a Button, Label, Canvas or TinyDB.
- Property
- A setting of a component, such as Text, Width or BackgroundColor.
- Event
- Something that happens, such as a tap, a timer firing or a shake.
- Event handler
- A when block whose contents run when its event happens.
- Method
- An action a component can perform, used with a call block, such as Speak or DrawCircle.
- Companion
- The MIT AI2 Companion app that shows your project live on an Android phone.
- Emulator
- A pretend phone running on the computer for testing.
- Arrangement
- A layout component that places other components in a row, column or table.
- Screen
- One page of an app with its own components and blocks.
- Variable
- A named box that stores a number, text or list while the app runs.
- Global variable
- A variable every block on the screen can use.
- Condition
- A true or false test used by an if block.
- Procedure
- A named, reusable group of blocks that may take inputs and return a result.
- List
- An ordered collection of values whose positions start at 1.
- ListPicker
- A button that opens a list for the user to choose from.
- Canvas
- A touch-sensitive rectangle for drawing and for holding sprites.
- ImageSprite
- A picture inside a Canvas that can move, be touched and collide.
- Clock
- A component that fires a Timer event at regular intervals and reads the date and time.
- AccelerometerSensor
- A sensor that measures tilt and shaking.
- LocationSensor
- A sensor that gives the phone's latitude and longitude.
- TinyDB
- A small on-phone database that stores values under tags.
- Tag
- The label under which TinyDB stores a value.
- APK
- An Android package file that installs an app on a phone.
- Permission
- The user's agreement that an app may use something private, such as location or the camera.
Practice and study material
Study books and timed practice tests in the student portal
Students sign in to read the study books lesson by lesson, print them, mark lessons as done and test themselves with timed practice tests, every answer explained.
- 1study book
- 10lessons
- 40practice questions
- 28glossary terms
How the practice tests work
- Fresh questions each time
Up to 20 questions are picked at random from the subject’s question bank.
- One minute per question
A timer counts down. When it reaches zero, your answers are sent automatically.
- Move around freely
Skip a question, flag it, and come back to change your answer before you submit.
- Learn from every answer
At the end you see the right answer and an explanation for each question.
- Read, print and keep track
Each study book has its lessons, key points, exercises and a glossary. Print a lesson, or mark it as done.
Your centre gives you your login when you enrol.
Try 3 practice questions
Real questions from this course’s question banks. Pick an answer to see the explanation.
What is an APK?
Show the answer
Answer: A. An Android package file that installs the app
The Build menu produces an APK (or AAB) that can be installed on a phone.
Which layout component places components side by side in a row?
Show the answer
Answer: A. HorizontalArrangement
HorizontalArrangement lines its children up left to right.
After adding an item to a list, why does the ListView not change?
Show the answer
Answer: C. You must set ListView.Elements to the list again
The view shows the list it was last given; refresh it after each change.
Careers
Careers this course leads towards
The kind of work these skills are used for. Each guide explains what the job involves, the skills it asks for and how to get started.
Software developer
Writing, testing and fixing programs in languages such as C, C++, Java and Python.
Web developer
Building and updating websites with HTML, CSS and JavaScript, and connecting them to data.
How admission works
From your first question to your certificate.
The usual steps, at the head office in Delhi or at an authorised member centre.
- Who can join
- Students above 12 years of age.
- Where
- The Delhi head office and authorised member centres.
- Fees and timings
- On WhatsApp at +91 97116 99511, or by phone on 011 2721 1512.
- 1
Ask about the course
Call or WhatsApp the head office, or visit your nearest member centre. Ask for the duration, the fee and the batch timings in writing.
- 2
Fill the admission form
Admission forms are supplied by the head office to every centre.
- 3
Learn in class
Attend your batch at the centre, with the course material and study notes, and sign in to the student portal for the study books and practice tests.
- 4
Take the exam
The institute prefers written exams, taken in front of a teacher.
- 5
Receive your certificate
Students who pass get a Gurukul Technicals Institute certificate and marksheet. Employers can verify it with the head office.
Who can join the App Inventor course?
Students above 12 years of age can take admission, at the Delhi head office or at an authorised member centre. The course suits students from class 7 onwards and beginners. Tell the head office or your centre what you already know, and they will suggest where to start.
Does it work on an iPhone?
App Inventor projects can be tested on both Android and iOS with the Companion app, but the installable app file (the APK) is for Android. Check the current App Inventor site for what each platform supports, as this changes.
How long is the course and what is the fee?
Duration, fees and batch timings depend on the course and the centre. Ask the head office or your nearest member centre, and get the details in writing before you pay.
Where are the classes?
At the head office in Delhi (A-10, Chief Commissioner Colony, opposite Rana Pratap Bagh) and at authorised member centres. Call or WhatsApp the head office to find the nearest centre.
What do I need to use the study books and practice tests?
A phone or a computer with an internet connection, and the login your centre gives you at enrolment. The student portal opens in an ordinary web browser, so there is nothing to install. Student login.
How do the practice tests work?
Sign in to the student portal and choose a subject. Each test picks up to 20 questions at random from that subject’s question bank and gives you one minute per question, with a timer that sends your answers automatically when it reaches zero. You can skip a question, flag it and come back before you submit, and at the end you see the right answer and an explanation for every question. This course has 40 practice questions across 1 subject, and you can take the tests as often as you like.
Is there an exam and a certificate?
Yes. The institute prefers written exams, taken in front of a teacher. Students who pass receive a Gurukul Technicals Institute certificate and marksheet.
How is a Gurukul Technicals Institute certificate verified?
On the verify certificate page, anyone can enter a certificate number and check it against the institute’s online register, which covers certificates issued through the portal. For older certificates, or if there is any doubt, send a copy to the head office by email or WhatsApp; the reply comes within 2 working days.
Ready to start the App Inventor course?
Ask the head office for the duration, the fee, the batch timings and your nearest member centre.
