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">
7
8    <!-- This is the platform API where NativeActivity was introduced. -->
9    <uses-sdk android:minSdkVersion="8" />
10
11    <!-- This .apk has no Java code itself, so set hasCode to false. -->
12    <application android:label="@string/app_name" android:hasCode="false" android:debuggable="true">
13
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="apmtest-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>
28
29</manifest>
30<!-- END_INCLUDE(manifest) -->
31