Revert "Roll NDK to r11c and extract it into its own repository."
[android_tools.git] / ndk / samples / native-activity / AndroidManifest.xml
blobee83d12bdcf01a98578b73764971d69acd2ce979
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- BEGIN_INCLUDE(manifest) -->
3 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
4         package="com.example.native_activity"
5         android:versionCode="1"
6         android:versionName="1.0">
8     <!-- This is the platform API where NativeActivity was introduced. -->
9     <uses-sdk android:minSdkVersion="9" />
11     <!-- This .apk has no Java code itself, so set hasCode to false. -->
12     <application android:label="@string/app_name" android:hasCode="false">
14         <!-- Our activity is the built-in NativeActivity framework class.
15              This will take care of integrating with our NDK code. -->
16         <activity android:name="android.app.NativeActivity"
17                 android:label="@string/app_name"
18                 android:configChanges="orientation|keyboardHidden">
19             <!-- Tell NativeActivity the name of or .so -->
20             <meta-data android:name="android.app.lib_name"
21                     android:value="native-activity" />
22             <intent-filter>
23                 <action android:name="android.intent.action.MAIN" />
24                 <category android:name="android.intent.category.LAUNCHER" />
25             </intent-filter>
26         </activity>
27     </application>
29 </manifest> 
30 <!-- END_INCLUDE(manifest) -->