• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.CubeWithLayers" android:versionCode="1" android:versionName="1.0">
3
4    <!-- Allow this app to read and write files (for use by tracing libraries). -->
5    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
6    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
7    <uses-permission android:name="android.permission.INTERNET"/>
8
9    <!-- Allow this app to read and write files (for use by tracing libraries). -->
10    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
11    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
12    <uses-permission android:name="android.permission.INTERNET"/>
13
14    <!-- This is the platform API where NativeActivity was introduced. -->
15    <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="23"/>
16
17    <!-- This .apk has no Java code itself, so set hasCode to false. -->
18    <application android:label="@string/app_name" android:hasCode="false" android:debuggable='true'>
19
20        <!-- Our activity is the built-in NativeActivity framework class.
21             This will take care of integrating with our NDK code. -->
22        <activity android:name="android.app.NativeActivity" android:label="@string/app_name" android:exported="true">
23            <!-- Tell NativeActivity the name of or .so -->
24            <meta-data android:name="android.app.lib_name" android:value="Cube"/>
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