• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (c) 2013 Google, Inc.
3
4     This software is provided 'as-is', without any express or implied
5     warranty.  In no event will the authors be held liable for any damages
6     arising from the use of this software.
7     Permission is granted to anyone to use this software for any purpose,
8     including commercial applications, and to alter it and redistribute it
9     freely, subject to the following restrictions:
10     1. The origin of this software must not be misrepresented; you must not
11     claim that you wrote the original software. If you use this software
12     in a product, an acknowledgment in the product documentation would be
13     appreciated but is not required.
14     2. Altered source versions must be plainly marked as such, and must not be
15     misrepresented as being the original software.
16     3. This notice may not be removed or altered from any source distribution.
17 -->
18<!-- BEGIN_INCLUDE(manifest) -->
19<manifest xmlns:android="http://schemas.android.com/apk/res/android"
20          package="com.example.FlatBufferTest">
21
22    <uses-feature android:glEsVersion="0x00020000"></uses-feature>
23
24    <!-- This .apk has no Java code itself, so set hasCode to false. -->
25    <application android:label="@string/app_name"
26                 android:hasCode="false"
27                 android:allowBackup="false">
28        <!-- Our activity is the built-in NativeActivity framework class.
29             This will take care of integrating with our NDK code. -->
30        <activity android:name="android.app.NativeActivity"
31                android:label="@string/app_name"
32                android:configChanges="orientation|keyboardHidden"
33                android:screenOrientation="landscape">
34            <!-- Tell NativeActivity the name of or .so -->
35            <meta-data android:name="android.app.lib_name"
36                    android:value="FlatBufferTest" />
37            <intent-filter>
38                <action android:name="android.intent.action.MAIN" />
39                <category android:name="android.intent.category.LAUNCHER" />
40            </intent-filter>
41        </activity>
42    </application>
43
44</manifest>
45<!-- END_INCLUDE(manifest) -->
46