AndroidManifest.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3. package="">
  4. <uses-permission android:name="android.permission.INTERNET" />
  5. <uses-permission android:name="android.permission.VIBRATE" />
  6. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  7. <!-- Touchscreen support -->
  8. <uses-feature android:name="android.hardware.touchscreen" android:required="false" />
  9. <!-- Game controller support -->
  10. <uses-feature android:name="android.hardware.bluetooth" android:required="false" />
  11. <uses-feature android:name="android.hardware.gamepad" android:required="false" />
  12. <uses-feature android:name="android.hardware.usb.host" android:required="false" />
  13. <!-- External mouse input events -->
  14. <uses-feature android:name="android.hardware.type.pc" android:required="false" />
  15. <supports-screens
  16. android:largeScreens="true"
  17. android:xlargeScreens="true" />
  18. <application
  19. android:name="org.qtproject.qt5.android.bindings.QtApplication"
  20. android:hardwareAccelerated="true"
  21. android:hasFragileUserData="true"
  22. android:allowBackup="false"
  23. android:installLocation="auto"
  24. android:icon="@mipmap/ic_launcher"
  25. android:label="${applicationLabel}"
  26. android:testOnly="false"
  27. android:supportsRtl="true"
  28. android:usesCleartextTraffic="false"
  29. android:theme="@style/AppTheme"
  30. >
  31. <activity
  32. android:name=".ActivityLauncher"
  33. android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation|mcc|mnc|density"
  34. android:exported="true"
  35. android:screenOrientation="sensorLandscape">
  36. <intent-filter>
  37. <action android:name="android.intent.action.MAIN"/>
  38. <category android:name="android.intent.category.LAUNCHER"/>
  39. </intent-filter>
  40. <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcuts" />
  41. <meta-data android:name="android.app.lib_name" android:value="-- %%INSERT_APP_LIB_NAME%% --"/>
  42. <meta-data android:name="android.app.qt_sources_resource_id" android:resource="@array/qt_sources"/>
  43. <meta-data android:name="android.app.repository" android:value="default"/>
  44. <meta-data android:name="android.app.qt_libs_resource_id" android:resource="@array/qt_libs"/>
  45. <meta-data android:name="android.app.bundled_libs_resource_id" android:resource="@array/bundled_libs"/>
  46. <!-- Deploy Qt libs as part of package -->
  47. <meta-data android:name="android.app.bundle_local_qt_libs" android:value="-- %%BUNDLE_LOCAL_QT_LIBS%% --"/>
  48. <!-- Run with local libs -->
  49. <meta-data android:name="android.app.use_local_qt_libs" android:value="-- %%USE_LOCAL_QT_LIBS%% --"/>
  50. <meta-data android:name="android.app.libs_prefix" android:value="/data/local/tmp/qt/"/>
  51. <meta-data android:name="android.app.load_local_libs_resource_id" android:resource="@array/load_local_libs"/>
  52. <meta-data android:name="android.app.load_local_jars" android:value="-- %%INSERT_LOCAL_JARS%% --"/>
  53. <meta-data android:name="android.app.static_init_classes" android:value="-- %%INSERT_INIT_CLASSES%% --"/>
  54. <!-- Messages maps -->
  55. <meta-data android:value="@string/ministro_not_found_msg" android:name="android.app.ministro_not_found_msg"/>
  56. <meta-data android:value="@string/ministro_needed_msg" android:name="android.app.ministro_needed_msg"/>
  57. <meta-data android:value="@string/fatal_error_msg" android:name="android.app.fatal_error_msg"/>
  58. <meta-data android:value="@string/unsupported_android_version" android:name="android.app.unsupported_android_version"/>
  59. <!-- Messages maps -->
  60. <!-- Background running -->
  61. <!-- Warning: changing this value to true may cause unexpected crashes if the
  62. application still try to draw after
  63. "applicationStateChanged(Qt::ApplicationSuspended)"
  64. signal is sent! -->
  65. <meta-data android:name="android.app.background_running" android:value="false"/>
  66. <!-- Background running -->
  67. <!-- auto screen scale factor -->
  68. <meta-data android:name="android.app.auto_screen_scale_factor" android:value="false"/>
  69. <!-- auto screen scale factor -->
  70. <!-- extract android style -->
  71. <!-- available android:values :
  72. * default - In most cases this will be the same as "full", but it can also be something else if needed, e.g., for compatibility reasons
  73. * full - useful QWidget & Quick Controls 1 apps
  74. * minimal - useful for Quick Controls 2 apps, it is much faster than "full"
  75. * none - useful for apps that don't use any of the above Qt modules
  76. -->
  77. <meta-data android:name="android.app.extract_android_style" android:value="none"/>
  78. <!-- extract android style -->
  79. </activity>
  80. <activity
  81. android:name=".VcmiSDLActivity"
  82. android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation|mcc|mnc|density"
  83. android:label="@string/app_name"
  84. android:launchMode="singleTop"
  85. android:screenOrientation="fullSensor" />
  86. <service
  87. android:name=".ServerService"
  88. android:process="eu.vcmi.vcmi.srv"
  89. android:description="@string/server_name"
  90. android:exported="false"/>
  91. </application>
  92. </manifest>