demos: Give Android versions permissions for internet & read/write files
authorIan Elliott <ianelliott@google.com>
Thu, 1 Sep 2016 17:09:21 +0000 (11:09 -0600)
committerIan Elliott <ianelliott@google.com>
Tue, 13 Sep 2016 20:53:37 +0000 (14:53 -0600)
commitdc356d615303946f3bf2fda73e206a1b31e1f2f8
treed2abf5f956e2f37b7aeda77e187100be3c6a929d
parent45c0906c01533675d27207ff07212adf80ab5187
demos: Give Android versions permissions for internet & read/write files

This is in support of RenderDoc (and other tracing libraries).  On Android,
these "native" applications must have permission to read/write files on the
Android filesystem so that a trace-capture library can write a trace file.
After building and installing the application, the following commands should be
run from a Linux shell, in order to truly grant those permissions (not normally
required for an Android Java-based app, with a GUI; but is required for these
shell-launched, native apps):

adb shell pm grant com.example.Cube android.permission.READ_EXTERNAL_STORAGE
adb shell pm grant com.example.Cube android.permission.WRITE_EXTERNAL_STORAGE
demos/android/AndroidManifest.xml.cube
demos/android/AndroidManifest.xml.tri