aboutsummaryrefslogtreecommitdiff
path: root/cube/android/AndroidManifest.xml
diff options
context:
space:
mode:
authorJuan Ramos <juan@lunarg.com>2023-10-10 17:03:54 -0600
committerJuan Ramos <114601453+juan-lunarg@users.noreply.github.com>2023-10-10 17:28:58 -0600
commitd6a6498781cbdd63c0c018f5ffab39e16e920035 (patch)
treee141912de38c710cab22d6da9d102cefe1315129 /cube/android/AndroidManifest.xml
parent72291571c8e569cbcd5d924e0b1ad24cdefa4442 (diff)
downloadusermoji-d6a6498781cbdd63c0c018f5ffab39e16e920035.tar.xz
cmake: Remove ndk-build
Successfully ran VkCube.apk on my Pixel3 closes #850
Diffstat (limited to 'cube/android/AndroidManifest.xml')
-rw-r--r--cube/android/AndroidManifest.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/cube/android/AndroidManifest.xml b/cube/android/AndroidManifest.xml
new file mode 100644
index 00000000..fbec106d
--- /dev/null
+++ b/cube/android/AndroidManifest.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.VkCube" android:versionCode="1" android:versionName="1.0">
+
+ <!-- Allow this app to read and write files (for use by tracing libraries). -->
+ <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
+ <uses-permission android:name="android.permission.INTERNET"/>
+
+ <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="23"/>
+
+ <!-- This .apk has no Java code itself, so set hasCode to false. -->
+ <application android:label="VkCube" android:hasCode="false" android:debuggable='true'>
+
+ <!-- Our activity is the built-in NativeActivity framework class.
+ This will take care of integrating with our NDK code. -->
+ <activity android:name="android.app.NativeActivity" android:label="VkCube" android:exported="true">
+ <!-- Tell NativeActivity the name of or .so -->
+ <meta-data android:name="android.app.lib_name" android:value="VkCube"/>
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN"/>
+ <category android:name="android.intent.category.LAUNCHER"/>
+ </intent-filter>
+ </activity>
+ </application>
+
+</manifest>