Aug 23
I recently purchased an Android based phone. The MyTouch3g from T-Mobile. It is a HTC Magic phone and is running Android v1.5 (Cupcake). I was digging around with it and started playing with SDK in an attempt to “root” the phone. Turns out rooting it is a little more than I’d like to get into right now. Give me a few more months playing with it and I will. So far I like the phone.
To get started with the SDK…
1. You must download the Android SDK. You can find the Android 1.5 R3 here.
2. You must setup a udev rule
a. As root create this file: /etc/udev/rules.d/51-android.rules.
sudo gedit /etc/udev/rules.d/51-android.rules
For Gusty/Hardy or newer, edit the file to read:
SUBSYSTEM==”usb”, SYSFS{idVendor}==”0bb4″, MODE=”0666″
For Dapper, edit the file to read:
SUBSYSTEM==”usb_device”, SYSFS{idVendor}==”0bb4″, MODE=”0666″
b. Now execute:
sudo chmod a+rx /etc/udev/rules.d/50-android.rules
3. Now you need to ensure USB Debugging is turned on.
a. Settings ->Applications -> Development -> USB Debugging checkbox is green!
4. Now connect your device via a USB cable
5. Verify you can see the device
a. From the android sdk cd tools
b. run ./adb devices
c. if you see your device, you have done everything correctly
6. Now you can play with your device
7. If you want to get some details or screenshots
a. run ./ddms
Enjoy. More to come on playing with the Android phone.
Recent Comments