From 7c722197b3e48d28cb063df0b67a0718d8899e58 Mon Sep 17 00:00:00 2001 From: Derek Sollenberger Date: Mon, 11 May 2015 08:54:19 -0400 Subject: 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 --- site/user/quick/android.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'site/user/quick') 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 ----------- -- cgit v1.2.3