AndroidManifest.xml 1.4 KB

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