This is a quick guide to installing the Google Android SDK on Gentoo Linux. Most steps explained here also apply to other variants of Linux as well.
The Google Android SDK can be downloaded for free off the Android Developers website, and at the time of writing 1.6 SDK Release 1 had just been released as weighs in at around 230MB's compressed.
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666"
For Gusty/Hardy, edit the file to read:
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
For Dapper, edit the file to read:
SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0bb4", MODE="0666"
export PATH="/home/ralph/android-sdk-linux_x86-1.6_r1/tools/:$PATH"
export PATH="/opt/emul-linux-x86-java-1.6.0.15/bin/:/home/ralph/android-sdk-linux_x86-1.6_r1/tools/:$PATH"
$ adb devicesIf you do not get a device under the list of devices then you will need to check your USB permissions. If you do get something like what you see above, it means your SDK is running correctly and can see your phone.
List of devices attached
HT95SKF07631 device
Taking a screenshot with Google Android unfortunately has to go through the SDK and cannot (yet?) be done on the phone itself. Once you have the SDK installed and working however, it is very easy. The main things to make sure is if your SDK tools directory is in your $PATH, and whether your USB permissions are correct.
Type `ddms` which will start up the Android debugging tool. You should see your device in the top left section, select it and from the menus on top you can take a screenshot.