From 07d031e24df3121953aa63a7b4eb011899e16d46 Mon Sep 17 00:00:00 2001 From: Ian Elliott Date: Thu, 1 Sep 2016 11:09:21 -0600 Subject: 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 | 5 +++++ demos/android/AndroidManifest.xml.tri | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/demos/android/AndroidManifest.xml.cube b/demos/android/AndroidManifest.xml.cube index 23db05ba..a35ba6fc 100644 --- a/demos/android/AndroidManifest.xml.cube +++ b/demos/android/AndroidManifest.xml.cube @@ -1,6 +1,11 @@ + + + + + diff --git a/demos/android/AndroidManifest.xml.tri b/demos/android/AndroidManifest.xml.tri index d23e9a4a..00ff1221 100644 --- a/demos/android/AndroidManifest.xml.tri +++ b/demos/android/AndroidManifest.xml.tri @@ -1,6 +1,11 @@ + + + + + -- cgit v1.2.3