Initialize Kindle Fire and connect to network. If you use your ITaP credentials to connect to PAL, be sure to erase them when you're done.
On each Kindle Fire, install and configure SL4A and Python For Android…
-
Select sl4a_r6.apk download button. (Should start and complete download.)
Select PythonForAndroid_r4.apk download button. (Should start and complete download.)
(Method 2:) In web browser, search for sl4a. Should result in reference to android-scripting page at code.google.com.
Set Search choice to “Featured downloads”, press Search button.
Select sl4a_r6.apk download button. (Should start and complete download.)
Select PythonForAndroid_r4.apk download button. (Should start and complete download.)
Select browser Menu → Downloads.
Select sl4a apk download from above; complete install process (first time will require overriding installation setting).
Returning to browser download page, select PythonForAndroid apk and install.
From Main Screen, launch PythonForAndroid, and select Install.
From Main Screen, launch SL4A. Confirm presence of various Python scripts.
On a UNIX workstation with Android tools installed (e.g., sslab machines)…
Ensure adb is in your path: /p/android-sdk/platform-tools.
-
Connect Kindle Fire via USB.
Type adb devices
to verify that it is connected.
Transfer fetch.py to sl4a scripts directory:
$ adb push fetch.py /mnt/sdcard/sl4a/scripts/
Back on Kindle Fire…
From SL4A scripts, execute fetch
and clean
scripts in terminal window.
Confirm scripts window. Test, for example, say_weather and say_time.