Your First Android Application

Introduction: Your First Android Application

About: Bytesize articles instead of a trilogy in one post.

Traditionally if you wanted to build an application for Android, you had
to install a set of programs on the desktop computer. Doing so could cause a majority of problems.


$ gcc progname.c -o progname


$ ./config

$ make

$ sudo make install

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: An Environment to Develop Code.

Now there are Android application
environments now for direct use on Android such as the Nexus 7. Such an application is called AIDE (Android integrated development environment). You can get Aide directly from Google play and download it directly to your device.

Step 2: Starting and Using the Environment.

1. Get AIDE. It can be downloaded from the Play™ store.

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

AppName: HelloWorld

PackageName: com.meetdageeks.HelloWorld

3. Goto MainActivity.Java and add the three lines (without the comments!).


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)




//<<<<<<<< Add these three lines <<<<<

TextView text = new TextView(this);

text.setText("Hello World, Android");






4. Click the 3 dots (or dashes) in the top right and hit run. It may ask you to allow installation from unknown sources. Done!

Step 3: Finishing Up.

And you can check it from the installed apps lists.
Written from the same Android that created the project.

Note You still can develop html, javascript. and css applications without a compiler.

Step 4: Another App to Build/

Step 5: Other Tutorials.

Step 6: Htrnl, Javascript, and Css.

In progress.

Step 7: Other Ways to Develop Software.

In progress.

Be the First to Share


    • Backyard Contest

      Backyard Contest
    • Silly Hats Speed Challenge

      Silly Hats Speed Challenge
    • Finish It Already Speed Challenge

      Finish It Already Speed Challenge

    5 Discussions


    5 years ago on Introduction

    That's cool, I wasn't aware you could develop for the Nexus while using it.