diff options
author | Derek Sollenberger <djsollen@google.com> | 2015-05-11 08:54:19 -0400 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2015-05-11 08:54:19 -0400 |
commit | 7c722197b3e48d28cb063df0b67a0718d8899e58 (patch) | |
tree | 570cb459ca1ee1344f0751c8a35b3cfd12adfdc1 /site | |
parent | 88f12dbe926df806cfb5b0641f613a2e256a713b (diff) |
Add android_launch_app script to allow command line options to be passed to the sampleApp when starting.
BUG=skia:3815
DOCS_PREVIEW= https://skia.org/?cl=1136753003
R=bungeman@google.com, tomhudson@google.com
Review URL: https://codereview.chromium.org/1136753003
Diffstat (limited to 'site')
-rw-r--r-- | site/user/quick/android.md | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/site/user/quick/android.md b/site/user/quick/android.md index 833ec127d1..9df11a8869 100644 --- a/site/user/quick/android.md +++ b/site/user/quick/android.md @@ -139,8 +139,19 @@ Then, install the app onto the device: ./platform_tools/android/bin/android_install_app -Finally to run the application you must navigate to the Skia Samples -application using the application launcher on your device. +Finally to run the application you can either navigate to the Skia Samples +application using the application launcher on your device or from the command +line. The command line option allows you to pass additional details to the +application (similiar to other operating system) that specify where to find +skp files and other resources. + + ./platform_tools/android/bin/android_launch_app --resourcePath /data/local/tmp/resources + +By default if no additional parameters are specified the app will use the default +params... + + --resourcePath /data/local/tmp/skia_resoures + --pictureDir /data/local/tmp/skia_skp Build tools ----------- |