Skip to content

Instantly share code, notes, and snippets.

@jerstlouis
Created August 25, 2018 05:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jerstlouis/7be83d5748bccff146a52b34a022028e to your computer and use it in GitHub Desktop.
Save jerstlouis/7be83d5748bccff146a52b34a022028e to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<!-- BEGIN_INCLUDE(manifest) -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.ecere.hello"
android:versionCode="1"
android:versionName="1.0">
<!-- This is the platform API where NativeActivity was introduced. -->
<uses-sdk android:minSdkVersion="9" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<application
android:label="@string/app_name"
android:hasCode="true"
android:debuggable="true"
android:hardwareAccelerated="true">
<!-- Our activity is the built-in NativeActivity framework class. This will take care of integrating with our NDK code. -->
<activity android:name=".hello"
android:label="@string/app_name"
android:configChanges="orientation|keyboardHidden">
<!-- Tell NativeActivity the name of our .so -->
<meta-data android:name="android.app.lib_name"
android:value="ecere" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
<!-- END_INCLUDE(manifest) -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment