Android Forums - View Single Post - Taking screenshots on your G1 - Even if you have RC30
View Single Post
  #24  
Old 01-02-2009, 11:20 PM
shlongwoodian's Avatar
shlongwoodian shlongwoodian is offline
Established entity
shlongwoodian is gonna be takin' screen shots till the cows come home...
 
Join Date: Dec 2008
Posts: 239
shlongwoodian is on a distinguished road
Lightbulb Step-by-step Instructions On Installing Android SDK + ADB Interface

okay, so if you want to take screen shots without doing all the root stuff (which on its own is great, but not everyone wants to do that just to get a screen shot), here's what i have done on two Windows XP SP2 computers...

1. download the Android SDK via the following URL => http://code.google.com/android/download.html

i run Windows, so i selected the .zip file for Windows and saved it to my computer(s)...





2. once the .zip file has finished downloading, you need to extract it to a particular location. this is done by right-clicking the .zip file (again, this be fer Windows) and choosing "Extract All" (built-in to Windows XP) or in my case, "Extract To XXXXX" via WinRAR...



i chose to extract my files to c:\android...



which left me with the full path to the Android SDK as C:\android\android-sdk-windows-1.0_r2.

3. now we need to set the Environment Variable, more specifically, the Path System Variable for the Android SDK. this is done by right-clicking My Computer, clicking Properties, clicking the Advanced tab and then the Environment Variables button. this brings up this screen...



click "Path" and then click "Edit" to get to the following screen...



place a semi-colon (i can't believe some people still don't know the difference between ; and : but, whatever) at the end of the existing text and then paste ('cause you don't trust yourself to type) the path to where you have unpacked the Android SDK, more specifically, the \tools directory. again, in my case, C:\android\android-sdk-windows-1.0_r2\tools.

now it's time to connect the G1 in USB Debug Mode!

4. on your G1, click Menu > Settings > Applications > Development and make sure there is a check next to "USB debugging"...



5. when you connect your G1, Windows will find new hardware. select "No, not this time" and click Next...



select "Install from a specific location (Advanced)" and click Next...



now you need to specify the location to which you have extracted the Android SDK, more specifically, the usb driver within said extracted contents. in my case, i extracted to C:\android\android-sdk-windows-1.0_r2, so i need to tell the Found New Hardware Wizard about C:\android\android-sdk-windows-1.0_r2\usb_driver...





once i click OK and the Next, the driver is installed...





and in Device Manager, my device shows up as...



now we're ready to launch Dalvik Debug Monitor so we can take screen shots!

6. browse to the tools folder in the Android SDK folder (in my example, C:\android\android-sdk-windows-1.0_r2\tools) and double-click the file named ddms.bat.



this launches a command window and eventually, the Dalvik Debug Monitor...





*you may need to actually <click> your G1/HTC device over on the left there.


hit ctrl + s or Device > Screen capture... to start capturing images from your G1...



this should cover anyone running Windows XP! in a nutshell, we...

1. download the Android SDK
2. extract the files that are the Android SDK
3. specify the Path to the Android SDK
4. connect the G1 in USB Debug mode
5. install the driver found in the Android SDK sub-folder \usb_driver


hope this helps!
Reply With Quote