aboutsummaryrefslogtreecommitdiff
path: root/demos/android/AndroidManifest.xml.tri
diff options
context:
space:
mode:
authorMichael Lentine <mlentine@google.com>2016-04-18 13:20:45 -0500
committerTobin Ehlis <tobine@google.com>2016-04-28 14:01:42 -0600
commitc6cde4b66102d29830d2370b4d0bb675d433abd2 (patch)
tree6ebed17dd772a05e9861be8bbb99881069d5e983 /demos/android/AndroidManifest.xml.tri
parent8bd272fc362713d13407b53c38cc7babe7f0b5c3 (diff)
downloadusermoji-c6cde4b66102d29830d2370b4d0bb675d433abd2.tar.xz
Fix cube for android.
Diffstat (limited to 'demos/android/AndroidManifest.xml.tri')
-rw-r--r--demos/android/AndroidManifest.xml.tri22
1 files changed, 22 insertions, 0 deletions
diff --git a/demos/android/AndroidManifest.xml.tri b/demos/android/AndroidManifest.xml.tri
new file mode 100644
index 00000000..d23e9a4a
--- /dev/null
+++ b/demos/android/AndroidManifest.xml.tri
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.Tri" android:versionCode="1" android:versionName="1.0">
+
+ <!-- This is the platform API where NativeActivity was introduced. -->
+ <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="23"/>
+
+ <!-- This .apk has no Java code itself, so set hasCode to false. -->
+ <application android:label="@string/app_name" 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="@string/app_name" android:exported="true">
+ <!-- Tell NativeActivity the name of or .so -->
+ <meta-data android:name="android.app.lib_name" android:value="Tri"/>
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN"/>
+ <category android:name="android.intent.category.LAUNCHER"/>
+ </intent-filter>
+ </activity>
+ </application>
+
+</manifest>