android: make code 're-entrant' - i.e. NativeActivity can restart the program without...
[freeglut] / progs / test-shapes-gles1 / AndroidManifest.xml
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="freeglut.test.gles1"
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="9" />
10     <uses-feature android:glEsVersion="0x00020000"></uses-feature>
11
12     <!-- This .apk has no Java code itself, so set hasCode to false. -->
13     <application android:label="@string/app_name" android:hasCode="true"
14                  android:debuggable="true"
15                  android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
16
17         <!-- Our activity is the built-in NativeActivity framework class.
18              This will take care of integrating with our NDK code. -->
19         <activity android:name="android.app.NativeActivity"
20                 android:label="@string/app_name"
21                 android:configChanges="orientation|keyboardHidden">
22             <!-- Tell NativeActivity the name of or .so -->
23             <meta-data android:name="android.app.lib_name"
24                     android:value="test-shapes-gles1" />
25             <intent-filter>
26                 <action android:name="android.intent.action.MAIN" />
27                 <category android:name="android.intent.category.LAUNCHER" />
28             </intent-filter>
29         </activity>
30     </application>
31
32 </manifest> 
33 <!-- END_INCLUDE(manifest) -->