AndroidManifest.template.xml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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="%package%"
  5. android:versionCode="%versionCode%"
  6. android:versionName="%versionName%"
  7. android:installLocation="%installLocation%">
  8. <!-- This is the platform API where NativeActivity was introduced. -->
  9. <uses-sdk android:minSdkVersion="%minSdkVersion%" android:targetSdkVersion="%targetSdkVersion%" />
  10. <%uses-permission%>
  11. <uses-feature android:glEsVersion="0x00020000" android:required="True"/>
  12. <application android:persistent="%persistent%"
  13. android:restoreAnyVersion="%restoreAnyVersion%"
  14. android:label="%label%"
  15. android:debuggable="%debuggable%"
  16. android:largeHeap="%largeHeap%"
  17. android:icon="%icon%"
  18. android:theme="%theme%"
  19. android:hardwareAccelerated="%hardwareAccelerated%">
  20. <%application-meta-data%>
  21. <%services%>
  22. <!-- Our activity is a subclass of the built-in NativeActivity framework class.
  23. This will take care of integrating with our NDK code. -->
  24. <activity android:name="com.embarcadero.firemonkey.FMXNativeActivity"
  25. android:label="%activityLabel%"
  26. android:configChanges="orientation|keyboard|keyboardHidden|screenSize"
  27. android:launchMode="singleTask">
  28. <!-- Tell NativeActivity the name of our .so -->
  29. <meta-data android:name="android.app.lib_name"
  30. android:value="%libNameValue%" />
  31. <intent-filter>
  32. <action android:name="android.intent.action.MAIN" />
  33. <category android:name="android.intent.category.LAUNCHER" />
  34. </intent-filter>
  35. </activity>
  36. <%activity%>
  37. <%receivers%>
  38. </application>
  39. </manifest>
  40. <!-- END_INCLUDE(manifest) -->