2
0

AndroidManifest.xml 1.3 KB

12345678910111213141516171819202122232425262728293031
  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. <uses-sdk android:minSdkVersion="21" />
  8. <!-- This .apk has no Java code itself, so set hasCode to false. -->
  9. <application android:label="Polycore" android:hasCode="false">
  10. <!-- Our activity is the built-in NativeActivity framework class.
  11. This will take care of integrating with our NDK code. -->
  12. <activity android:name="android.app.NativeActivity"
  13. android:label="PolycodeUI"
  14. android:configChanges="orientation|keyboardHidden">
  15. <!-- Tell NativeActivity the name of or .so -->
  16. <meta-data android:name="android.app.lib_name"
  17. android:value="native-activity" />
  18. <meta-data android:name="android.app.func_name"
  19. android:value="main" />
  20. <intent-filter>
  21. <action android:name="android.intent.action.MAIN" />
  22. <category android:name="android.intent.category.LAUNCHER" />
  23. </intent-filter>
  24. </activity>
  25. </application>
  26. </manifest>
  27. <!-- END_INCLUDE(manifest) -->