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