Getting Started Developing with the WiMM One
2011 December 16
We just received a Developer Preview of the new WiMM One wearable touchscreen device, and dove into developing for it. It runs Android so you have to get the Android SDK set up. Here are our notes so far.
- Install Eclipse. I had the “Galileo” version which I found out the hard way isn’t supported, so I downloaded the newest as of writing (“Indigo”).
- Install the Android SDK.
- Install the Android Developer Tools (ADT) plugin for Eclipse.
- Download the WiMM Android Add-On (make a free developer account first to get it).
- Put the WiMM Add-On folder in the add-ons folder in the Android SDK.
- Run the Android SDK Manager from Eclipse > Window.
- Select and install Android 2.1 (API 7) and the Android SDK Platform Tools.
- Make a WiMM Android Virtual Device with SD card 2 GiB and resolution 160×160.
- You can now make new projects that target the WiMM One Add-On.
Building and Running on the Emulator
- Open a terminal at [your-android-sdk]/add-ons/addon_wimm_one_7/tools and run ./emu.
- Wait for the emulator to boot up (it takes a minute).
- Hit “Run” in Eclipse.
- If you get an expired certificate error, look here.
- If you’re prompted to choose a device, choose the emulator.
Building and Running on the Device
- On your WiMM, go to Settings > Advanced and turn on “Allow USB debugging”
- Plug in your WiMM.
- Open a terminal at addon_wimm_one_7/tools and run ./android update adb.
- Go to addon_wimm_one_7/platform-tools and run ./adb kill-server and ./adb start-server.
- Now run ./adb devices and you should see your hardware device listed as well as any running emulators.
- Now when you run your app from Eclipse, you can choose your hardware device!