WIMM Forums/Developer's Guide/Getting Started

TUTORIAL: Connecting to the WIMM One on Windows

Tianwei L.
posted this on Mar 27 09:22

Connecting to a WIMM One device

Congratulations on your new WIMM One developer kit! You are now the cool dude on the block with a wearable Android device! Now let's connect your WIMM One to your PC so you can start hacking out some cool applications.

This guide assumes that you have installed the WIMM SDK and setup your development environment. If you have yet to do that, check out this guide first.


Step 1: Ensure that you have the Google USB Driver package installed.

Open up your Android SDK Manager from Eclipse and ensure that you have "Google USB Driver package" Installed as shown below.

Screen_Shot_2012-03-15_at_2.14.32_PM.png

 

Step 2: Setting up the WIMM Device driver.

  1. On the WIMM, navigate to Settings->Advanced and set "Allow USB debugging" and "Disable sleep while connected" to "ON" as shown below. Warning: Your WIMM will take longer to charge in this mode.
    Screen_Shot_2012-03-15_at_2.23.45_PM.png Screen_Shot_2012-03-15_at_2.25.20_PM.png Screen_Shot_2012-03-15_at_2.26.27_PM.png Screen_Shot_2012-03-15_at_2.25.02_PM.png
  2. Place the WIMM on the charging paddle and connect it using the USB cable provided to your PC. (The Green Led should light up)
  3. Windows will try to detect and install the USB device automatically. It should fail after a few minutes.
  4. Open up Device Manager by:
    1. Go to the "Start Menu" , Right click on "My computer" and select "Properties".
    2. Click on the Advanced Tab or "Advanced System settings".
    3. Click on Device Manager
    4. You should see "Wimm Android ADB" with a yellow question mark.                                                                                                             Screen_Shot_2012-03-15_at_3.43.31_PM.png
    5. Right Click on it and select "Properties"
  5. Add WIMM ONE parameters to Google's USB Driver Lists:
    1. Go to the Details tab, choose "Hardware Ids" and copy the string as shown below.(yours might be slightly different)
      hardwareid.png
    2. Open the "android_winusb.inf" found in "C:\Program Files\Android\android-sdk\extras\google\usb_driver" with your favorite text-editor
    3. Add the following lines after the "[Google.NTx86]" and "[Google.NTamd64]" section of the file(the part in red is copied from step 2.5.1) as shown:
      • ;
      • ;WIMM ONE
      • %CompositeAdbInterface%     = USB_Install,  USB\Vid_23f1&Pid_0001&MI_01                                                      Screen_shot_2012-03-14_at_5.14.39_PM.png
  6. Select the "Driver" tab and click on "Update Driver".
  7. Choose to locate and install your driver manually, browse to "C:\Program Files\Android\android-sdk\extras\google\usb_drive"(yours might be different) and start off the installation process. 
  8. After clicking though a few prompt/warning dialogs, you should have the WIMM One properly recognized in your Device Manager as shown below. 11.png

You are now ready to create and deploy Apps to your WIMM One!

  1. Open up a command prompt.
  2. Enter "android update adb"
  3. Enter "adb kill-server"
  4. Enter "adb start-server"
  5. Enter "adb devices"
  6. You should see your WIMM ONE recognized over ADB Bridge!
12.png

 

Creating your first app.

Ready to create your own application on the WIMM Platform? This guide will walk you through the classic "Hello world" application in a jiffy.

 

Help

Feel free to comment below with any questions or contact tianwei@wimm.com if you need additional assistance.