To install SL4A and Python for Android on an Android device (e.g., Kindle Fire)…
To copy a script to the SL4A script directory for easy execution…
$ adb push fetch.py /mnt/sdcard/sl4a/scripts/
To edit Python scripts on a workstation and push to a connected Kindle Fire…
typeset -x AP_PORT=4242
adb forward tcp:4242 tcp:4242
$ python Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import android >>> android = android.Android() >>> android.makeToast('hello there')
These notes are based on a Windows 7 environment and Android G1 development unit. Instructions based on Developing in Other IDEs from Android developer site.
Download and install DrJava (current stable release).
Download and install the Android SDK (need additional details of what to do with the zip file).