User Tools

Site Tools


experience_purdue_setup

Experience Purdue Setup

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…

  1. (Method 1:) In web browser, visit http://tinyurl.com/epfires
    1. Select sl4a_r6.apk download button. (Should start and complete download.)
    2. Select PythonForAndroid_r4.apk download button. (Should start and complete download.)
  2. (Method 2:) In web browser, search for sl4a. Should result in reference to android-scripting page at code.google.com.
    1. Set Search choice to “Featured downloads”, press Search button.
    2. Select sl4a_r6.apk download button. (Should start and complete download.)
    3. Select PythonForAndroid_r4.apk download button. (Should start and complete download.)
  3. Select browser Menu → Downloads.
  4. Select sl4a apk download from above; complete install process (first time will require overriding installation setting).
  5. Returning to browser download page, select PythonForAndroid apk and install.
  6. From Main Screen, launch PythonForAndroid, and select Install.
  7. From Main Screen, launch SL4A. Confirm presence of various Python scripts.

On a UNIX workstation with Android tools installed (e.g., sslab machines)…

  1. Ensure adb is in your path: /p/android-sdk/platform-tools.
  2. Connect Kindle Fire via USB.
  3. Type adb devices to verify that it is connected.
  4. Transfer fetch.py to sl4a scripts directory:
$ adb push fetch.py /mnt/sdcard/sl4a/scripts/

Back on Kindle Fire…

  1. From SL4A scripts, execute fetch and clean scripts in terminal window.
  2. Confirm scripts window. Test, for example, say_weather and say_time.
experience_purdue_setup.txt · Last modified: 2012/07/18 09:21 by jtkorb