AndroidManifest.xml 6.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <?xml version="1.0"?>
  2. <manifest package="adc.iv.xodrviewer" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="-- %%INSERT_VERSION_NAME%% --" android:versionCode="-- %%INSERT_VERSION_CODE%% --" android:installLocation="auto">
  3. <uses-sdk android:minSdkVersion="21" android:targetSdkVersion="28"/>
  4. <!-- The following comment will be replaced upon deployment with default permissions based on the dependencies of the application.
  5. Remove the comment if you do not require these default permissions. -->
  6. <!-- %%INSERT_PERMISSIONS -->
  7. <!-- The following comment will be replaced upon deployment with default features based on the dependencies of the application.
  8. Remove the comment if you do not require these default features. -->
  9. <!-- %%INSERT_FEATURES -->
  10. <supports-screens android:largeScreens="true" android:normalScreens="true" android:anyDensity="true" android:smallScreens="true"/>
  11. <application android:hardwareAccelerated="true" android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="XODRViewer" android:icon="@drawable/icon">
  12. <activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation|mcc|mnc|density" android:name="an.qt.extendsQtWithJava.ExtendsQtWithJava" android:label="XODRViewer" android:screenOrientation="unspecified" android:launchMode="singleTop">
  13. <intent-filter>
  14. <action android:name="android.intent.action.MAIN"/>
  15. <category android:name="android.intent.category.LAUNCHER"/>
  16. </intent-filter>
  17. <!-- Application arguments -->
  18. <!-- meta-data android:name="android.app.arguments" android:value="arg1 arg2 arg3"/ -->
  19. <!-- Application arguments -->
  20. <meta-data android:name="android.app.lib_name" android:value="-- %%INSERT_APP_LIB_NAME%% --"/>
  21. <meta-data android:name="android.app.qt_sources_resource_id" android:resource="@array/qt_sources"/>
  22. <meta-data android:name="android.app.repository" android:value="default"/>
  23. <meta-data android:name="android.app.qt_libs_resource_id" android:resource="@array/qt_libs"/>
  24. <meta-data android:name="android.app.bundled_libs_resource_id" android:resource="@array/bundled_libs"/>
  25. <!-- Deploy Qt libs as part of package -->
  26. <meta-data android:name="android.app.bundle_local_qt_libs" android:value="-- %%BUNDLE_LOCAL_QT_LIBS%% --"/>
  27. <meta-data android:name="android.app.bundled_in_lib_resource_id" android:resource="@array/bundled_in_lib"/>
  28. <meta-data android:name="android.app.bundled_in_assets_resource_id" android:resource="@array/bundled_in_assets"/>
  29. <!-- Run with local libs -->
  30. <meta-data android:name="android.app.use_local_qt_libs" android:value="-- %%USE_LOCAL_QT_LIBS%% --"/>
  31. <meta-data android:name="android.app.libs_prefix" android:value="/data/local/tmp/qt/"/>
  32. <meta-data android:name="android.app.load_local_libs" android:value="-- %%INSERT_LOCAL_LIBS%% --"/>
  33. <meta-data android:name="android.app.load_local_jars" android:value="-- %%INSERT_LOCAL_JARS%% --"/>
  34. <meta-data android:name="android.app.static_init_classes" android:value="-- %%INSERT_INIT_CLASSES%% --"/>
  35. <!-- Used to specify custom system library path to run with local system libs -->
  36. <!-- <meta-data android:name="android.app.system_libs_prefix" android:value="/system/lib/"/> -->
  37. <!-- Messages maps -->
  38. <meta-data android:value="@string/ministro_not_found_msg" android:name="android.app.ministro_not_found_msg"/>
  39. <meta-data android:value="@string/ministro_needed_msg" android:name="android.app.ministro_needed_msg"/>
  40. <meta-data android:value="@string/fatal_error_msg" android:name="android.app.fatal_error_msg"/>
  41. <meta-data android:value="@string/unsupported_android_version" android:name="android.app.unsupported_android_version"/>
  42. <!-- Messages maps -->
  43. <!-- Splash screen -->
  44. <!-- Orientation-specific (portrait/landscape) data is checked first. If not available for current orientation,
  45. then android.app.splash_screen_drawable. For best results, use together with splash_screen_sticky and
  46. use hideSplashScreen() with a fade-out animation from Qt Android Extras to hide the splash screen when you
  47. are done populating your window with content. -->
  48. <!-- meta-data android:name="android.app.splash_screen_drawable_portrait" android:resource="@drawable/logo_portrait" / -->
  49. <!-- meta-data android:name="android.app.splash_screen_drawable_landscape" android:resource="@drawable/logo_landscape" / -->
  50. <!-- meta-data android:name="android.app.splash_screen_drawable" android:resource="@drawable/logo"/ -->
  51. <!-- meta-data android:name="android.app.splash_screen_sticky" android:value="true"/ -->
  52. <!-- Splash screen -->
  53. <!-- Background running -->
  54. <!-- Warning: changing this value to true may cause unexpected crashes if the
  55. application still try to draw after
  56. "applicationStateChanged(Qt::ApplicationSuspended)"
  57. signal is sent! -->
  58. <meta-data android:name="android.app.background_running" android:value="false"/>
  59. <!-- Background running -->
  60. <!-- auto screen scale factor -->
  61. <meta-data android:name="android.app.auto_screen_scale_factor" android:value="false"/>
  62. <!-- auto screen scale factor -->
  63. <!-- extract android style -->
  64. <!-- available android:values :
  65. * 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
  66. * full - useful QWidget & Quick Controls 1 apps
  67. * minimal - useful for Quick Controls 2 apps, it is much faster than "full"
  68. * none - useful for apps that don't use any of the above Qt modules
  69. -->
  70. <meta-data android:name="android.app.extract_android_style" android:value="default"/>
  71. <!-- extract android style -->
  72. </activity>
  73. <!-- For adding service(s) please check: https://wiki.qt.io/AndroidServices -->
  74. </application>
  75. <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
  76. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
  77. <uses-permission android:name="android.permission.ACCESS_CHECKIN_PROPERTIES"/>
  78. </manifest>