Ok - I'm feeling like a frustrated idiot. I want to state that upfront.
I'm trying to get a Python/Android setup going so I can develop Python applications for Android. I've got both SL4A and the Python interpreter installed on my Android device and can write an application on the phone that runs.
The issue is how can I continue with development on my PC and interact with my Android device. I've unzipped the extras package and put it in $PYTHONPATH/site-packages/. I've integrated Ecplise with PyDev and Android packages and set the AP_PORT and AP_HOST environment variables.
When I run the following code:
import android
droid = android.Android()
droid.makeToast("Hello")
I get errors in Eclipse that include "com.googlecode.android_scripting.rpc.RpcError: Unknown RPC." to bad magic numbers.
When I drop into Python via CLI and type
import android
I get the following output
com.googlecode.android_scripting.rpc.RpcError: Unknown RPC.
Any help or beginners tutorial would be greatly appreciate.
I know I must be doing something wrong because I see others getting set up with, what appears, relative ease.
Thanks in advance.