If you want to create your own apps for Android you can install a number of applications on your PC and you can code and run apps on your PC. Here is a quick guide to setting up the required tools needed to become an android app developer. You will need tools for simulating android devices (AVD) and software for coding your apps.
Installing software for emulating Android Virtual Devices (AVD)
- First you need to have a the Java SE Development Kit installed. The Android SDK will inform you about this if you don’t have it. But you need it before next step, so here is a link to the Java SE Development Kit I clicked “Java SE 7u2”, and downloaded the version for windows. After you have downloaded it run the installer. I may take up to 5-10 minutes to install.
- The Android SDK
There are a number of versions here. I went for this one:
http://dl.google.com/android/installer_r16-windows.exe Which at the time of writing (2012-02-11) was the current installer for Windows.
After installation you will see a list of packages you should/may download. Here is what it looked like for me:
You may want to install older versions of Android. I ended up installing 35 packages. I had to go through “Install xx packages” though. I guess that some of the packages must be installed in a specifik order. Also I learned that when you need to accept some terms, you should click “Accept all” button.
- Creating Android Virtual Devices (AVDs). Below I have created an Android 4 based AVD with 100 Mb Ram and a screen resoloution of 800 × 480 (WVGA800), I named it “Android4”.
- When you hace created a AVD you are ready to launce the Virtual Android device! You simply click in the Android Virtual Device manager you simply select your AVD and press “Start…”. button. Voila, in a few moments you will see a virtual Android device on your screen!
Software needed to develop your own apps
Now you have software up so that you can create virtual android devices (AVDs), and the next step may be to set up a development environment so that you can create your own apps . There ofcause exists more than one soloution, here I will focus on a Eclipse IDE based soloution.
- Get the Eclipse development package. Visit http://www.eclipse.org/downloads/ and select Eclipse Classic 3.7.1
- Adding the Android Development Tool (ADT) plugin to Eclipse by following the guide found here: http://developer.android.com/sdk/eclipse-adt.html#downloading
- After the ADT has been installed Eclipse will restart and you will be prompted to setting up the ADT. I choose to check also the “Install Android 2.1” as it supports 97% of all Android devices (at the time of writing). Also a Android SDK was downloaded.
Running apps in Eclipse
A very good webpage describes this: http://developer.android.com/guide/developing/building/building-eclipse.html
- How to: Google Android in Eclipse
- Video guide for getting started with developing Android Apps in Eclipse
- The Android SDK page