I've finally started to do some Android development at the studio of dreams™
. I've started by fixing some silly bugs and adding minor features on several of our apps
and now I'm facing my first serious task, which is abstracting Facebook and Twitter integration into a simpler to use library. Anyway.
When working at home I'd rather use Ubuntu instead of OS X but couldn't get ADT
to find out my Nexus One, so I was stuck on the emulator which was not feasible since one of the apps (.™
) uses the accelerometer. I needed to test on the real device.
First I went to the Android documentation
and then after Googling quite a bit I finally ended up in this very good tutorial: Nexus One USB in Ubuntu 9.10
. But still no luck. ADB was still showing ???????????
instead of my precious. Finally, somewhere, read a comment about the USB cable being involved in the party as well.
Since I don't want to carry around the USB cable, 3 weeks ago I went out and bought an extra one so I can keep one home and one in the office. First went to a Carphone Warehouse shop and they told me generic cables will NOT charge the phone. Transferring files would be ok, but no charging. After that I went to a T-Mobile shop and they told me that yes, the generic cable would indeed charge the phone. Are you sure? Yes
. Are you really
. Ok, so be it.
And indeed charges the phone, the guy at T-Mobile was right. However, it prevents USB debugging... in Ubuntu
. Cause the same generic cable with the same Nexus works ok on OS X, but it prevents testing on Ubuntu. God knows what kind of shit there's going on in there (why everything works on OS X, but on Ubuntu files and charging do, debugging does not), but just keep it in mind:Mind your cable!
(at least on Linux)