Posts Tagged ‘written’
After my son built a robotic arm, we wrote a program to control it. Unfortunately, the limitations of the NXT’s user interface made it a little clunky (we needed to toggle between 3 different screens to control the robot’s various motors). However, thanks to Google’s App Inventor, we were able to write a far more sophisticated interface as an App that ran on my Android cell phone which communicated with the NXT via Bluetooth. Creating the App was fairly quick and easy. For those of you who want the source code, go to sites.google.com and you will find a link to the source code. It’s overly complicated. I’ll try to simplify it in the near future.
here are the goods: first you need to read this tutorial carefully: android-dls.com then you need to download and extract the Android SDK to “Program Files” on you hard drive: developer.android.com DO NOT DOWNLOAD HAYKURO’S RECOVERY IMAGE OR CUSTOM ROM. (it will brick your phone!) Download these files instead: forum.xda-developers.com Make sure your htc magic is linked to the PC through the Android sdk files you downloaded with usb x86 drivers. (if you don’t know how to do that follow this link): developer.android.com If the Haykuro’s tutorail seems too confusing, follow these steps, 1. Once you’ve pair your htc to the pc properly, you’ll go to your start menu and click on “run”. 2. type: “cmd” 3. Type: cd\ 4. type: cd program files 5. type: cd Android-sdk-windows-1.5_r2 6. type: cd tools 7. plug in your phone 8. on your phone, click on settings, click on applications, click on development, and check off “usb Debugging” 9. now on your computer type: adb devices 10. you should see your device’s serial number on you PC. 11. now remember that daldroid recovery image you downloaded, extract it to the “tools” folder in the sdk file you have in Program files. 12. Rename that daldroid recovery image to : recovery-new.img 13. now for that other file you downloaded, (that daldroid singed rom file) DO NOT EXTRACT IT. keep it as a zip file and drag and drop it to that same “tools” folder in the android SDK file and rename it “update” 14. Now do exactly the same thing to your freshly …
Video Rating: 4 / 5