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 revision Previous revision
android_development [2012/07/17 13:39]
jtkorb
android_development [2012/07/18 06:56] (current)
jtkorb clarification of port setting on Android device
Line 17: Line 17:
   - See full instructions at http://​code.google.com/​p/​android-scripting/​wiki/​RemoteControl.   - See full instructions at http://​code.google.com/​p/​android-scripting/​wiki/​RemoteControl.
   - 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.+  - From SL4A Scripts screen -> Menu -> View -> Interpreters 
 +    - Set server to use port 4242: Menu -> Preferences -> Server Port -> 4242 
 +    - Start server on Android device: ​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''​
android_development.txt · Last modified: 2012/07/18 06:56 by jtkorb