Book Image

App Inventor 2 Essentials

Book Image

App Inventor 2 Essentials

Overview of this book

App Inventor 2 will take you on a journey of mobile app development. We begin by introducing you to the functionalities of App Inventor and giving you an idea about the types of apps you can develop using it. We walk you through the technical set up so you can take advantage of the interactive development environment (live testing). You will get hands-on, practical experience building three different apps using tutorials. Along the way, you will learn computer science principles as well as tips to help you prepare for the creative process of building an app from scratch. By the end of the journey, you will learn how to package an app and deploy it to app markets. App Inventor 2 Essentials prepares you to amass a resource of skills, knowledge and experience to become a mobile app developer
Table of Contents (15 chapters)
App Inventor 2 Essentials
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Index

Creating the project and building the GUI


In preparation of using the Raffle App, the raffle organizer will give two pieces of information to everyone who wishes to participate in the raffle: the organizer's phone number and a code. The raffle organizer can distribute this information by either sharing them verbally or writing then down for everyone to see. The participants will then send a text message to the raffle organizer's phone number with the code typed in the body of the text message. When the app (running on the raffle organizer's phone) receives all of the text messages containing the code, it will save the all the senders' phone numbers in a list. Then, the raffle organizer will click on a button to randomly select a winner from the list of phone numbers. The winning phone number will be displayed on the raffle organizer's phone screen, and the app will also send a text message notification to the winner's phone indicating that he or she has won. Meanwhile, the app will notify...