Using Android To Develop Mobile Applications: Learning App Inventor
Using Android To Develop Mobile Applications: Learning App Inventor
Table of Contents
Introduction................................................................................................................................................4
How to install App Inventor?.....................................................................................................................5
Install Software in your system.............................................................................................................5
Install Java........................................................................................................................................5
Install packages for App Invetor.......................................................................................................5
Creating a Google Account to use App Inventor...................................................................................6
Using App Inventor....................................................................................................................................7
Introduction...........................................................................................................................................7
Creating a new project...........................................................................................................................7
Creating a the example “Hello World”.....................................................................................................11
Summary.............................................................................................................................................14
Exercises..............................................................................................................................................14
References................................................................................................................................................15
Illustration Index
Illustration 1: Main Screen. Select the project to continue developing.....................................................6
Illustration 2: Creating your first project...................................................................................................7
Illustration 3: Open the Java application....................................................................................................8
Illustration 4: The block editor...................................................................................................................8
Illustration 5: Android emulator.................................................................................................................9
Illustration 6: Your project needs a name.................................................................................................10
Illustration 7: Adding some objects to interact........................................................................................12
Illustration 8: A simple Logic with app inventor.....................................................................................12
Illustration 9: Transfer the program to the emulator................................................................................13
Illustration 10: Hello World.....................................................................................................................13
Introduction
This document has been written to learn App Inventor in 90 minutes in a easy way.
Android is a operating system for smartphones. App Inventor is an internal project from Google to
learn in a graphical way how to develop basic applications for Android.
Install Java
Java is a programming language used with App Invetor and it is necessary. In Java terms, exist 2 ways
to install Java, Using Java JRE or using Java JDK. In our case we will install Java JDK because we
will use Java JDK to develop software for robots using Java.
To install Java JDK6, execute the following instructions on Ubuntu 10.04:
Introduction
To begin to use App Inventor it is necessary to visit website about App Inventor:
http://appinventor.googlelabs.com/
The main screen allows the user to select the project to develop or a way to create a new project.
The user interface organize the work in some areas. The areas defined are:
Objects are organized in libraries and they are organized in the left side of the screen. When you edit an
object, his properties are located in right side of the screen. Web editor is useful to add objects and edit
some properties. Once you have added some objects, it is time to develop a logic so click in the button
named “Open the block editor”.
Once the application has been downloaded in your system, execute it to see the editor.
Block editor is a excellent tool to begin to understand the concepts about programming. The editor in
the left side of the screen organize the way to model any logic in areas. Besides the editor allow to
develop logics for objects added in the editor in the web browser. The way to develop any program is
using a Drag-Drop technique with the objects defined in the object pallete.
When you have finished to develop launch a emulator to evaluate the results.
Once you have created the project and you see a blank screen, try to add the following objects:
1. Image
2. Textbox
3. Button
4. Label
In this moment, open block editor to generate a simple logic to understand the concepts:
If you have finished the logic, tries to send the application into your emulator:
Summary
In this chapter, you should haben learnt the following concepts:
Exercises
To reinforce the knowledge showed with this document, exist other exercises to do:
References
Some references used to write this document.
http://googlecode.blogspot.com/2010/12/android-stretches-its-legs-errr-wheels.html
http://appinventor.googlelabs.com/ode/Ya.html
http://d.android.com/guide/developing/device.html#setting-up
http://code.google.com/p/app-inventor-for-android/wiki/ReportingBugs