App Development For Android On Android In Four Steps

This guide gives you a quick insight into creating Android apps directly on an Android device. This short article is not meant as a full documentation, but rather guides you in the right direction so that you should get the idea. There are a lot of app howto's for Android on Eclipse, but none for on Android, so here's the skinny.

1. Get AIDE. It can be downloaded from the Play™ store. There are others but this one is great.

2. Open up AIDE and it will ask to create a new project.

AppName: HelloWorld

PackageName: com.howtoforge

3. Paste in the following:

package com.HelloWorld;
import android.os.*;
import android.view.*;
import android.widget.*;
public class MainActivity extends Activity
    /** Called when the activity is first created. */
    public void onCreate(Bundle savedInstanceState)
		TextView text = new TextView(this);
		text.setText("Hello World, Android"); 

4. Click the 3 dots in the top right and hit run.

It may ask you to allow installation from unknown sources.

Done! And you can check it from the installed apps lists.

Written from the same Android that created the projec.


Share this page:

Suggested articles

5 Comment(s)

Add comment


By: Anonymous

the  package name in the code "com.HelloWorld" should be changed to "com.howtoforge".


By: Anonymous

Agree ... com.howtoforge.HelloWorld

By: Anna Harris

wow it's really coolest way to creating Android apps.thanks for sharing this stuff ,it would be helpful to me for my further projects.

By: Stella

Thanks for sharing useful data for android development.

By: Ankit

Thanks... Really Informative topic,Frankly speak...i like android development plateform.....