Softwares to be used:
- android sdk
The Android Emulator requires Java to run, so if you donít already have Java installed on your computer, download it from the link below and install as normal.
Note: When installing Java, make sure not to install any crapware it tries to sneak in like the worthless Yahoo toolbar.
Then, download the Android SDK from Google, and make sure to select the correct version for your computer. Once itís downloaded, unzip the files as normal.
In Windows, run the SDK Setup.exe program to get started running Android on your PC.
The SDK will check Googleís servers for available packages.
If you see an SSL error message, click the Settings tab on the left in the SDK and AVD Manager window that opened in the background. Here, uncheck the Force https box, click Ok, and then reopen the setup.
Now, the Package Installer will open. You can choose what you want to install, and then click Install to begin installing the Android emulator on your computer.
By default, all of the SDK platforms, samples, and APIs will be selected for install. This can take quite a while to download, as several versions of Android are currently available. If you only want to play around with Android, choose the version you want. Youíll want the SDK Platform Android your.version. Then click the Reject bullet on all the other entries, and click Install. We wanted to try out the latest Android 2.2 as well as the older 1.5, so we downloaded both of them.
Once youíve started installing, youíll see a window showing the download and installation progress. This may take a few minutes, depending on your Internet speed.
Youíll have some little Androids in your taskbar, but unfortunately they donít show the download progress.
Setup an Android Emulator
Once the download is completed, you can setup an emulator to test drive Android on your computer. Select the Virtual Devices from the left menu, and then click the New button on the right.
Enter a name for your virtualized Android, and select the version of Android you want to use from the drop-down menu. This will only show the version you installed previously, so you may only see one version listed depending on your selection.
Enter a size under the SD Card entry; this is a virtual SD card thatís actually an IMG file that Android will use to store your settings and files in. Then, select a screen size from the skin options. The default is a standard, Nexus One-type display, while the others are different sizes including even a BlackBerry-style device.
Click Create AVD when youíre finished.
The program may appear to freeze while it is creating the AVD, so just wait until you see the confirmation window.
Youíre now ready to run Android on your PC! Select your new virtual Android, and click Start on the right.
You can choose to scale the display if youíve chosen a larger screen size than your monitor will fit, and then select Launch.
Android will now begin to load in your emulator. Several command prompt windows may open, and then youíll see the emulator itself. Notice that the default, large screen size will display a keypad and virtual buttons on the right side of the emulated device.
Android may take several minutes to load, especially on your first run. After a while, the boot screen will switch to an Android boot animation.
Finally, youíll be presented with your new Android home screen! Use your mouse as you would normally, though remember that you donít need to double-click to open apps.
credits to the source