Instructables

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

Picture of How to Write a 'Hello World!' app for Android
INTRODUCTION
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.

THINGS YOU'LL NEED:

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

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


TIPS AND WARNINGS:
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.
diy_bloke10 months 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
CrLz2 years ago
Many thanks for sharing!
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!