While implementing the BluetoothChat application .apk inside G1 device, it always pops up a message:
$adb install -r /home/parveen/workspace/BluetoothChat/bi
I found the solution to my problem. In my ~/.bashrc:
export PATH=${PATH}:/path/to/android-sdk/tools
However adb is not located in the android-sdk/tools/, rather in android-sdk/platform-tools/.
So I added the following
export PATH=${PATH}:/path/to/android-sdk/tools:/path/to/android-sdk/platform-tools
And that solved the problem for me.