Tuesday, June 29, 2010

Setting DNS (Domain Name System) in your Android device emulator

In my device emulator, the default value of DNS is nothing,  so if want to access a website must type an IP Address of the website in the internet browser application. However you can assign DNS Server address  manually with these command:

  1. Open your command line application (Command Prompt in Windows, Terminal in Linux)

  2. Type these commands:
                  $adb devices
    $adb shell
    #setprop net.dns1

  3. Now, back to your device emulator and try to access an website with it's domain address


  • Replace with your DNS Server address

  • Only one emulator device which active in the computer

Monday, June 28, 2010

Say goodbye to compiz

This is my second day work in Linux without compiz animation and feel better without it. I'm still remember that in one year ago compiz is my weapon  to recruit or invite my friends in order to use linux as main operating system in his/her PC or laptop. The reason why I disable compiz in my computer is "I want to allocate my computer resources for better experience computer programming". Compiz animation just an option, it will be very  important for some persons and will be something useless for the others one.

Tuesday, June 22, 2010

Installing ADT (Android Development Tools) on Eclipse IDE

Before we talk about ADT (Android Development Tools), we will talk about "What is Android?" first? When you serach definition about Android in wikipedia, you will get the great simple definition of Android like this (LOL):
Android is Google's operating system for mobile devices. It is a competitor to Apple's iOS for the iPhone.

Wow, there a statement "competitor to Apple's iOS for the iPhone". When we define that something is competitor from the other, in our mind should have a knowing about similarity between them. Yeah...there are similarity about UI (User Interface) used by them. Maybe this only my perspective :P.

Okay, let start to install ADT for your favorite IDE

  1. The first step you must download the latest version of Eclipse IDE from it's webpage, in this case http://www.eclipse.org/downloads/

  2. Download ADT from here http://developer.android.com/sdk/eclipse-adt.html

After eclipse IDE installed successfully, please following these steps:

1. In your Eclipse IDE menu bar click Help => Install New Software...