Monkey around with your Nexus One long enough, and pretty soon the need to take a screen shot of your device pops up. “No Problem” you think as you head to the app store to download a screenshot app. You then find out that none of the screenshot apps work without rooting your phone, and you’re not ready to do that yet. So what do you do? Taking screenshots on your Nexus One will work, it just requires a bit of elbow grease to set up, but once setup, it’s easy as pie.
Step one in this process is downloading the Android SDK:
For some reason they no longer include the USB driver you need, and they force you to manually update the Android SDK via the command line and download roughly a GB of other files, but since you just want to take screenshots, you don’t need those. Thankfully, I downloaded the SDK before they made you do this, and you can get the USB driver here: Nexus One USB Driver
Now you’ll want to head over and download the Java JDK:
After you click the Download button, it brings you to a page to select what OS you want to download for, click Windows or Windows x64 if you’re rocking a 64bit version of Windows.
Now that you have both development kits downloaded, extract the Android SDK to a folder on your desktop.
.
.
Once thats done (a grueling 5 second process), go ahead and install the Java JDK.
Once the JDK installs, it’s going to open a webpage and ask you to register, you can just close that as it’s not required to register.
Now it’s time to setup your Nexus One to make sure it’s ready to play nice with the software you just installed on your PC:
.
.
- Press your Home button
- Press your Menu button
- Tap Settings
- Tap Applications
- Tap Development
- Tap the box to check USB debugging
.
.
.
.
.
Now that your N1 is setup to work nicely with your PC, grab the USB cable that came with your phone and connect your phone to your PC. Windows will try and install the correct drivers for your phone:
And it will eventually it tell you it didn’t work:
But don’t worry, go into your Control Panel and then Device Manager, you should see an unknown device, this is your Nexus One.
..
.
.
.
Right click on it and select update driver software. Then select Browse my computer for driver software and point to where you downloaded the N1 USB driver:
Now click Next and make sure you click Install.
You should see something like this:
And you’re ready to go. Head over to your Android SDK folder and get in the tools folder, then double click ddms.bat
Once you do that, a blank CMD window will pop up and just hang there, this is normal. After a few seconds (maybe 10) you will see a new window pop up:
Now click on your phone under where it says Name, and you should now see something like this:
The text that appears in your log will be constantly updating as thats basically what your phone is doing in real time. At this point you’re ready for screenshots! Just press CTRL+S and you’re in business:
At this point, you can save your image as is or copy it and then paste it into your favorite image editor. You can also rotate the image and click refresh to grab an updated screenshot from your phone.
So now whenever you want to grab a screenshot off your N1 you just do the following:- Connect your Nexus One to your PC
- Run ddms.bat
- Click your phone
- Press CTRL+S
- Do what you want with your image
An original article by Scott Young
No comments:
Post a Comment