You are on page 1of 5

Step 1: Accessing the application that allows the creation of Android applications.

First of all, find a program that allows create android programs. There are a lot of programs, and in this case we will use App inventor, an easy program to develop an application. Visit http://appinventor.mit.edu/, and download the Appinventor by clicking Invent and synchronize your Google account. After logging in, allow Google to share your e-mail account with MIT App Inventor Experimental. It is important to know that you will need Java support to execute MIT App Inventor. If you dont have Java, install it for free from its official page. (http://www.java.com/getjava/)

After clicking allow, the MIT App Inventor will appear.

Now you are ready to start using the program environment.

Step 2: Learn the basics of creating applications.


To create the Hello World application we will click on New. Then, name the project (for example HelloWorld). Now, in the visual editor (our IDE, like Visual Basic, C, C++, etc). Click on Button and drag it to the screen. To change the name, select it on the right and click Rename. After that, you can change the name (for example btn1). Now, on the right, in the text, write Hello World, and the screen will change.

Go to objects menu and click on Other Stuff to add a Notifier and name it Alert.

Step 3: Learning to use the visual code editor.


To edit the objects code, click on Open the Blocks Editor. Download the Java file (.JNLP extension) and execute it. The program will open and the following screen will appear.

Click on My Blocks and the objects of the application will appear. Click on btn1 and click Add Event on the screen (btn1.click). After that, click Alert and add alert.ShowAlert inside the button and click Event. Now, write the text that you want to show as the alert. To do it, click a white area on the screen and click on Text and Text again. A new object will appear. Put it in the alert socket. Rename it by clicking on Text and write This is your first app!. The following should appear:

To test the application, click on New Emulator. When the emulator is loaded, click on the default emulator (emulator-5554). Briefly wait until the application is sent to the emulator. Then, if you click on the button, we you see the following alert:

This is a very simple program, but you can add a lot of things and make a complex application.

Step 4: Compile the application.


To compile the application and use it in a cellular device or in the market, return to the objects visual editor website. Click on Package phone->Download to this computer. Wait a moment until Google creates the application. Then, Google will present a downloadable file. Accept it and an .apk file will appear (HelloWorld.apk).

Step 5: Edit the application to be supported by the Android market.


To use AppToMarket, a program which edits the application by adding a certificate and modifying the internal .xml to achieve a recognizable extension, download it in http://code.google.com/p/apptomarket/downloads/list. This program is created by Java, and there will not any compatibility problem. Execute AppToMarket.jar and the following window will appear.

When all the fields are filled, click on Generate. Then, click on Browse, select HelloWorld.apk and click Decompile. In features, select the 1st version. Click on One Click Convert. Two new files will appear. To upload the application to the market you will need HelloWorld_zipAlign.apk.

Step 6: Register in the Android market.


To upload your application, register in the Android market (https:/market.android.com/publish/Home) and pay $25.

Step 7: Post the application.


Complete the form: 1. 2. 3. 4. 5. 6. 7. 8. 9. An uploader to upload the file. Screen captures of the program. (320x480, 480x800, 480x854,1280x800 in JPG or PNG) Icon of the application. Language the program uses. Copyright protection. Content rating. Prizes. Contact information and e-mail. Accept the CLUF and which is subject to U.S laws.

You might also like