summaryrefslogtreecommitdiff
path: root/Android/AndroidManifest.xml
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-01-04 19:06:39 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-01-04 19:06:39 +0000
commiteb1abad3ca43963f7826f067e70bc3a20db352da (patch)
tree57396bb4e8ca6ba4af025ed2ab52a9a8fecc1a22 /Android/AndroidManifest.xml
parentd32b291a7262698cb4767660466d42fda44f1033 (diff)
Adding some basic Android native setup
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@10992 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'Android/AndroidManifest.xml')
-rw-r--r--Android/AndroidManifest.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/Android/AndroidManifest.xml b/Android/AndroidManifest.xml
new file mode 100644
index 000000000..ee83d12bd
--- /dev/null
+++ b/Android/AndroidManifest.xml
@@ -0,0 +1,30 @@
+<?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">
+
+ <!-- This is the platform API where NativeActivity was introduced. -->
+ <uses-sdk android:minSdkVersion="9" />
+
+ <!-- This .apk has no Java code itself, so set hasCode to false. -->
+ <application android:label="@string/app_name" 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="@string/app_name"
+ android:configChanges="orientation|keyboardHidden">
+ <!-- Tell NativeActivity the name of or .so -->
+ <meta-data android:name="android.app.lib_name"
+ android:value="native-activity" />
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.LAUNCHER" />
+ </intent-filter>
+ </activity>
+ </application>
+
+</manifest>
+<!-- END_INCLUDE(manifest) -->