Thursday, April 7, 2011

USB Connection & Capture Serivce Guide for Remote Web Desktop (Windows)

This document is a simple guide for how to connect it Remote Web Desktop with USB connection and how to enable the screen shot feature on non-rooted phone.

Download ADB Tool

Please click the following download link to download the ADB tool and USB driver, and extract it to your local drive. I assume you extract it to X:\ADB_WIN/ for convenience.

ADB Tool (Windows)

Installing the USB Driver for Windows

If you already installed the USB driver for your Android phone, please ignore this steps.

More OEM USB drivers can be found here:
http://developer.android.com/sdk/oem-usb.html

Windows Vista

To install the Android USB driver on Windows Vista for the first time:
  1. Connect your Android-powered device to your computer's USB port. Windows will detect the device and launch the Found New Hardware wizard.
  2. Select "Locate and install driver software."
  3. Select "Don't search online."
  4. Select "I don't have the disk. Show me other options."
  5. Select "Browse my computer for driver software."
  6. Click "Browse..." and locate the folder where you extracted the ADB tool package (X:\ADB_WIN\usb_driver\). As long as you specified the exact location, you may leave "Include subfolders" checked or unchecked—it doesn't matter.
  7. Click "Next." Vista may prompt you to confirm the privilege elevation required for driver installation. Confirm it.
  8. When Vista asks if you'd like to install the Google ADB Interface device, click "Install" to install the driver.

Windows XP

To install the Android USB driver on Windows XP for the first time:
  1. Connect your Android-powered device to your computer's USB port. Windows will detect the device and launch the Hardware Update Wizard.
  2. Select "Install from a list or specific location" and click "Next."
  3. Select "Search for the best driver in these locations"; un-check "Search removable media"; and check "Include this location in the search."
  4. Click "Browse..." and locate the folder where you extracted the ADB tool package (X:\ADB_WIN\usb_driver\).
  5. Click "Next" to install the driver.

Turn on USB Debuggin on Phone Side

Go Menu > Setting > Appliations > Development, and turn on "USB debugging" option:


    Connect Remote Web Desktop through ADB Tool

    1. Open Remote Web Desktop on your phone side, specify a port (e.g. 8999) for it.
    2. Click 'Start Server' button to start the Web Desktop server. And it will show status text such like 'Open http://xxx.xxx.xxx.x:8999 in browser'.
    3. Connect your Android phone to your computer's USB port.
    4. On your computer, go to X:\ADB_WIN\, double click to run connect.bat, input the port you specified in Remote Web Desktop, then it will prompt you visit 'http://localhost:port/ in your browser.


    5. Open browser and type the URL show above, you will get the Web Desktop.

    Install Capture Service for Non-Rooted Phone

    1. Connect phone to computer with USB.
    2. On your computer, go to X:\ADB_WIN\, double click to run install_capture_service.bat.
    3. You will get prompt message like the follwoing shot, then you can close it and un-plug your USB line, of course, you also can keep the USB connected, I just mean it can work without it.

    4. Login Remote Web Desktop, open Screenshot window, you can take screenshot for non-rooted phone now.
    5. Please notice that you need reinstall capture service agagin if you restart your phone.