Thursday, December 13, 2007

Android and Eclipse

We can use the power of Eclipse IDE to code in Android Platform. What we need is just Android Plugins for Eclipse and Eclipse itself. Below, step by step to use eclipse and Android plugin:

  1. Download Eclipse europe from this Eclipse Download Site (
  2. Install Eclipse, for windows version you just extract the zip file into destination folders.
  3. Download Androiod plugins for eclipse
  4. Run Eclipse IDE
  5. Choose Menu : Help->Software Updates->Find and Install
  6. Choose "Search for new features to install" radiobutton and click next button
  7. Press "New Local Site" button and specify the directory where Android Plugin has been extracted.
  8. Press OK button
  9. if it is found than "Sites to include search" will contains "Android/android_eclipse_plugin_adt.x.x.x"
  10. Press "Finish" button
  11. The Series of dialogs to install the plugins will show up, just press next button and agree with the agreement (if you have read the agreement and want to agree) and press finish at last. Eclipse need to restart when this instalation has finish.
  12. When we are asked the Android SDK directory, just choose Windows->Preference, and choose the Android preference, point to Android SDK Folder just before the tools directory under the Folder.
  13. The Eclipse ready to use for Android Programming.

Good Luck.

Read More……

Wednesday, December 12, 2007

Creating HelloWorld on Android

Always, when we start learning a new language, we start with a helloWorld program. A HelloWorld program just contains a simple code to say A hello within the system/environtment. So, We start our Android Learning with creating A helloWorld Program.

Below a step by step creating a helloWorld Program:
  1. Open up a Command Prompt window, go to the directory prepared for this (assume trial) and create workspace for HelloWord, code below:

    d:\trial>activityCreator --out HelloWorld com.mylearn.HelloWorld

    This command will create a directory under HelloWorld under trial, the HelloWorld directory contains some files and directory :

    src\ contains source code for HelloWord
    bin\ contains binary/intermediate code will be installed on the
    device/emulator, initialize empty first
    res\ contains resource file
    AndroidManifest.xml manifest
    build.xml information for building the program

  2. change to HelloWorld directory, and compile the program using ant


  3. Start Android Emulator, you can issue the command to start Android Emulator from command line using command like this :

    d:\trial\helloworld\>start emulator.exe

    Android Emulator show up, initialize everything, and ready to use.

  4. Transfer the HelloWorld Program that has been compiled using adb tools command:

    d:\trial\helloworld\>adb install bin\helloworld.apk

    if the process running successfully, than we can access helloworld program from the emulator.

  5. Go to Application folder on the emulator, and there exist helloworld icon. click the icon, and the HelloWorld Program will show up.

Read More……

Monday, November 26, 2007

Android, First Touch

Android (As defined in google)is a software stack for mobile devices that includes an operating system, middleware and key applications. And Google has been release AndroidSDK, contains tools and API, for developing application under Android Platform.

I have been download the SDK, and in a few day will learn it, and try to code in Android Platform, and i will show you, the reader, how to do it.

Read More……