Monday, December 3, 2007

Android Emulator in Action

Android Emulator is included in Android SDK. It can be involved inside Eclipse IDE, or run as a standalone application.

Install Android SDK and Eclipse's Android Development Tools plugin

out-dated information!!!
Pls. refer here, "Install Android SDK on Eclipse 3.5 Galileo", for update information. ~edited 2009-07-18.

In order to setup Eclipse for development of Android, both Install Android SDK and Eclipse's Android Development Tools plugin are needed.

Download Android SDK and unzip it in any folder you want, it's "C:\App\android_sdk_windows_m3-rc22a" for me.

Android Development Tools plugin can be download inside Eclipse IDE.

  1. Start Eclipse, then select Help > Software Updates > Find and Install....
  2. In the dialog that appears, select Search for new features to install and press Next.
  3. Press New Remote Site.
  4. In the resulting dialog box, enter a name for the remote site (e.g. Android Plugin) and enter this as its URL:
    https://dl-ssl.google.com/android/eclipse/
    Press OK.
  5. You should now see the new site added to the search list (and checked). Press Finish.
  6. In the subsequent Search Results dialog box, select the checkbox for Android Plugin > Eclipse Integration > Android Development Tools and press Next.
  7. Read the license agreement and then select Accept terms of the license agreement, if appropriate. Press Next.
  8. Press Finish.
  9. The ADT plugin is not signed; you can accept the installation anyway by pressing Install All.
  10. Restart Eclipse.
  11. After restart, update your Eclipse preferences to point to the SDK directory:
    1. Select Window > Preferences... to open the Preferences panel. (Mac OS X: Eclipse > Preferences)
    2. Select Android from the left panel.
    3. For the SDK Location in the main panel, press Browse... and locate the SDK directory.
    4. Press Apply, then OK.


Saturday, December 1, 2007

Install Eclipse


Eclipse is a free Open Source IDE, it can be download from http://www.eclipse.org/ or the download page here.

The first package, Eclipse IDE for Java Developers, contains what you need to build Java applications.

Click the selected package to involve the mirror selection page, select your closest mirror site, start download and save it to any position on your machine you want.

After download, un-zip it on any position you want. It's the installed folder, "C:\App\eclipse\" on my setup.

When you run the application "C:\App\eclipse\eclipse.exe", you will be asked to select the workspace, it's "C:\App\eclipse\workspace" for me.

Remark: JDK is assumed to be installed before install Eclipse.

Friday, November 30, 2007

Android Emulator

The Android SDK includes a mobile device emulator — a virtual device that runs on your computer. The emulator lets you prototype, develop, and test Android applications without using a physical device.



More: Android Emulator - Android

[remark: any SPAM commetns will be reported to Google.]

JDK 6 + Eclipse + Android SDK

out-dated information!!!
Pls. refer here, "Install Android SDK on Eclipse 3.5 Galileo", for update information. ~edited 2009-07-18.


One of the development platform, which I used, is (JDK 6 + Eclipse + Android SDK) run under WindowsXP.

JDK 6 is the Java Development Kit from Sun.
Android SDK is the core to develope Android application.
Eclipse IDE for Java Developers is a free Open Source IDE for Java development. Android Development Tools plugin is needed, in order to work with Android SDK.