Connecting Android Device to Ubuntu 12.04

I was trying to follow the simple “hello world” example in python-for-android, when I got to the statement:

“Plug your android device, and ensure you can install development application”

I wasn’t quite sure how to do that. In the past I have connected my phone over USB, but then it seems to mount as external storage. Anyway, I went ahead with the build command. Not surprisingly I got the error:

“[exec] error: device not found”

Turns out the missing manual is at: http://developer.android.com/tools/device.html

That put the app on my phone (with a cool icon), but it does not work. On my phone, I get the error message:

“Could not extract public data”

I plugged my phone from my computer. Now the app works. Yippee!