android_development
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
android_development [2009/08/13 16:57] – jtkorb | android_development [2012/07/17 13:39] – jtkorb | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Android Development ====== | ====== Android Development ====== | ||
- | Notes for setting up the Android | + | ===== CS0 (7/17/2012) ===== |
+ | |||
+ | To install SL4A and Python | ||
+ | |||
+ | - Visit http:// | ||
+ | - Download and install SL4A: http:// | ||
+ | - Download and install Python For Android: http:// | ||
+ | |||
+ | To copy a script to the SL4A script directory for easy execution... | ||
+ | - Install Android SDK onto your computer, so that adb is in your path and you can connect your Android device. | ||
+ | |||
+ | $ adb push fetch.py / | ||
+ | |||
+ | To edit Python scripts on a workstation and push to a connected Kindle Fire... | ||
+ | - See full instructions at http:// | ||
+ | - Connect Android device to workstation with Android SDK installed. | ||
+ | - Start server on Android device: From SL4A Scripts screen -> Menu -> View -> Interpreters -> Menu -> Start Server -> Private. | ||
+ | - Set environment | ||
+ | - Forward local port on workstation to Android device: '' | ||
+ | - Download android.py to workstation workspace: http:// | ||
+ | - Run Python and play... | ||
+ | |||
+ | $ python | ||
+ | Python 2.7.2 (v2.7.2: | ||
+ | [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin | ||
+ | Type " | ||
+ | >>> | ||
+ | >>> | ||
+ | >>> | ||
+ | |||
+ | ===== CS1 (8/14/2009) ===== | ||
+ | |||
+ | These notes are based on a Windows 7 environment and Android G1 development unit. Instructions based on [[http:// | ||
Download and install [[http:// | Download and install [[http:// | ||
- | Download and install the [[http:// | + | Download and install the [[http:// |
android_development.txt · Last modified: 2012/07/18 06:56 by jtkorb