|
|
@@ -0,0 +1,31 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<!-- BEGIN_INCLUDE(manifest) -->
|
|
|
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ package="com.example.native_activity"
|
|
|
+ android:versionCode="1"
|
|
|
+ android:versionName="1.0">
|
|
|
+
|
|
|
+ <uses-sdk android:minSdkVersion="21" />
|
|
|
+
|
|
|
+ <!-- This .apk has no Java code itself, so set hasCode to false. -->
|
|
|
+ <application android:label="Polycore" android:hasCode="false">
|
|
|
+
|
|
|
+ <!-- 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="Polycode3DPhysics"
|
|
|
+ android:configChanges="orientation|keyboardHidden">
|
|
|
+ <!-- Tell NativeActivity the name of or .so -->
|
|
|
+ <meta-data android:name="android.app.lib_name"
|
|
|
+ android:value="native-activity" />
|
|
|
+ <meta-data android:name="android.app.func_name"
|
|
|
+ android:value="main" />
|
|
|
+ <intent-filter>
|
|
|
+ <action android:name="android.intent.action.MAIN" />
|
|
|
+ <category android:name="android.intent.category.LAUNCHER" />
|
|
|
+ </intent-filter>
|
|
|
+ </activity>
|
|
|
+ </application>
|
|
|
+
|
|
|
+</manifest>
|
|
|
+<!-- END_INCLUDE(manifest) -->
|