Wednesday, November 28, 2012

taking screenshots with HTC Wildfire android phone

I'd installed Remote Web Desktop and wanted to take some screenshots. From the help page, found that I needed the USB driver installed if I wanted screenshots from my non-rooted phone. Many posts give different directions. This post as well as this one give the lines to be added to the inf file so that the HTC Wildfire will be recognized and the ADB driver installed. But on my install, though I added the following lines,
; HTC Wildfire
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C8B

%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C8B&MI_01
%SingleBootLoaderInterface% = USB_Install, USB\VID_0BB4&PID_0C8B
to the android_winusb.inf file, the add new hardware wizard did not recognize this folder as containing a suitable driver. Checked with USBDeview as given at this post, and the device instance had the serial number also in it. So, tried editing the inf file again, with
; HTC Wildfire

%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C8B\SH18NPY09904
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C8B&MI_01
%SingleBootLoaderInterface% = USB_Install, USB\VID_0BB4&PID_0C8B\SH18NPY09904
where the last few digits have been changed to hide my actual serial number :)
That also did not work. Then, these posts indicate that installing HTC Sync would solve the driver issues. So, went over to HTC's site, downloaded HTCSync for Wildfire S hoping it would work for my Wildfire as well, installed, worked - the new hardware wizard recognized the phone in USB debug mode now.

Remote Web Desktop needed the install_capture_service.bat to be run before doing screen capture in the web desktop window. Did so, and it worked.

Unfortunately, though the software mentions that the screenshot service has to be re-installed if the phone is rebooted, in practice, it has to be reinstalled if the Remote Web Desktop service is restarted, too. Have to go through
  1. Enable USB Debugging (didn't want to leave it on all the time)
  2. Start Remote Web Desktop service
  3. Run connect.bat, open a browser window and wait for Remote Web Desktop to appear, and then install_capture_service.bat
  4. Now take the screenshot as desired.
Edit: Found that the reason for requiring re-installation is that the service is not going into the background - ran it from terminal and found it was giving an "Operation not permitted" for going to the background. Hence has to be run every time...

No comments:

Post a Comment