Professional Documents
Culture Documents
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/)
Go to objects menu and click on Other Stuff to add a Notifier and name it Alert.
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.
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.