User Tools

Site Tools


android_development

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
android_development [2012/07/17 13:39] jtkorbandroid_development [2012/07/17 13:39] jtkorb
Line 18: Line 18:
   - Connect Android device to workstation with Android SDK installed.   - 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.   - Start server on Android device: From SL4A Scripts screen -> Menu -> View -> Interpreters -> Menu -> Start Server -> Private.
-  - Set environment variable with local port (used by android.py): typeset -x AP_PORT=4242 +  - Set environment variable with local port (used by android.py): ''typeset -x AP_PORT=4242'' 
-  - Forward local port on workstation to Android device: adb forward tcp:4242 tcp:4242+  - Forward local port on workstation to Android device: ''adb forward tcp:4242 tcp:4242''
   - Download android.py to workstation workspace: http://android-scripting.googlecode.com/hg/python/ase/android.py   - Download android.py to workstation workspace: http://android-scripting.googlecode.com/hg/python/ase/android.py
   - Run Python and play...   - Run Python and play...
android_development.txt · Last modified: 2012/07/18 06:56 by jtkorb