How to Write a 'Hello World!' app for Android

Picture of How to Write a 'Hello World!' app for Android
This tutorial is meant for anyone who has no experience in programming applications for the Android operating system, but would like to. It is very basic, and installing the necessary programs is more complicated than writing the application itself. Once the programs are installed, it should only take a couple minutes to read the tutorial and have your program up and running. The code for this tutorial is explicitly given to you. If you feel like you might be interested in this, you should begin learning the programming language Java. This guide assumes that you have some knowledge of how to install and run programs.


Please check that your computer meets the minimum requirements, here .
If it does not, you will not be able to complete the tutorial.

Java SE Development Kit 7
Android SDK
Eclipse for your operating system

Tip/Warning: Follow the installation instructions exactly
Warning: Cannot run on a Mac, as not all the programs install on a Mac
Remove these adsRemove these ads by Signing Up

Step 1: Installing Java SE Development Kit 7

This guide assumes that you know how to install a program, but if you don't, please view this guide.

Install the Java SE Development Kit 7 (JDK for short).
Select "Accept License Agreement" and download the correct executable file for your operating system. If you are using Windows and you do not know what operating system you have, just download the "Windows x86.exe" file.

The JDK is a development environment for building applications, applets, and components using the Java programming language. The JDK includes tools useful for developing and testing programs written in the Java programming language and running on the ava platform. Since Android applications are programmed using the language Java, this program is necessary.
pjtrowe12 days ago

Check out my blog. It provides a video to show you how to create your first Android Hello World app.

Best regards,


KumananA5 months ago

KumananA5 months ago

MichelleD15 months ago

I used SDK manager to install Android 4.0 and I try to compile. There is source Activity java and no errors at all, but emulator shows Android login screen and nothing happens. Weird.

diy_bloke1 year ago
interesting, but before I can even try anything I have to figure out how to 'launch' eclipse on ubuntu. Whatever icon i click, nothing happens, except when I click 'eclipse': then a file in my bowser goes to another place.
Seriously thinking about going back to windows
CrLz3 years ago
Many thanks for sharing!