GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing android.googlesource.com — platform/external/sl4a - Git at Google Owner: nharold Bug: 26914381Clone this repo:
Scripting Layer For AndroidIntroductionOriginally authored by Damon Kohler, Scripting Layer for Android, SL4A, is an automation toolset for calling Android APIs in a platform-independent manner. It supports both remote automation via ADB as well as execution of scripts from on-device via a series of lightweight translation layers. Build InstructionsDue to its inclusion in AOSP as a privileged app, building SL4A requires a system build. For the initial build of Android: cd <ANDROID_SOURCE_ROOT> source build/envsetup.sh lunch aosp_<TARGET> make [-j15] where Then Build SL4A: cd <ANDROID_SOURCE_ROOT>/external/sl4a mm [-j15] Adding SL4A Builds to Android Builds by Default
Install InstructionsRun the following command: adb install -r <ANDROID_SOURCE_ROOT>/out/target/product/<TARGET>/testcases/sl4a/arm64/sl4a.apk Run Instructionsa) SL4A may be launched from Android as a normal App; or adb forward tcp:<HOST_PORT_NUM> tcp:<DEVICE_PORT_NUM>
adb shell "am start -a com.googlecode.android_scripting.action.LAUNCH_SERVER \
--ei com.googlecode.android_scripting.extra.USE_SERVICE_PORT <DEVICE_PORT_NUM> \
com.googlecode.android_scripting/.activity.ScriptingLayerServiceLauncher"
where Generate the API DocumentationFrom SL4A source directory run this command: python Docs/generate_api_reference_md.py In the Docs directory there should now be an ApiReference.md file that contains which RPC functions are available in SL4A as well as documentation for the RPC functions. |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |