2
0

AndroidManifest.xml 1.2 KB

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