446 |
andreas |
1 |
<?xml version="1.0"?>
|
|
|
2 |
<manifest
|
|
|
3 |
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
4 |
android:versionName="-- %%INSERT_VERSION_NAME%% --"
|
|
|
5 |
android:versionCode="-- %%INSERT_VERSION_CODE%% --"
|
|
|
6 |
android:installLocation="auto"
|
|
|
7 |
package="org.qtproject.theosys">
|
|
|
8 |
<!-- The following comment will be replaced upon deployment with default permissions based on the dependencies of the application.
|
|
|
9 |
Remove the comment if you do not require these default permissions. -->
|
|
|
10 |
<!-- %%INSERT_PERMISSIONS -->
|
|
|
11 |
|
|
|
12 |
<!-- The following comment will be replaced upon deployment with default features based on the dependencies of the application.
|
|
|
13 |
Remove the comment if you do not require these default features. -->
|
|
|
14 |
<!-- %%INSERT_FEATURES -->
|
|
|
15 |
|
|
|
16 |
<supports-screens
|
|
|
17 |
android:largeScreens="true"
|
|
|
18 |
android:normalScreens="true"
|
|
|
19 |
android:anyDensity="true"
|
|
|
20 |
android:smallScreens="true"/>
|
|
|
21 |
<application
|
|
|
22 |
android:hardwareAccelerated="true"
|
|
|
23 |
android:name="org.qtproject.qt.android.bindings.QtApplication"
|
|
|
24 |
android:label="-- %%INSERT_APP_NAME%% --"
|
|
|
25 |
android:extractNativeLibs="true"
|
|
|
26 |
android:requestLegacyExternalStorage="true"
|
|
|
27 |
android:allowNativeHeapPointerTagging="false"
|
|
|
28 |
android:allowBackup="true"
|
|
|
29 |
android:fullBackupOnly="false"
|
|
|
30 |
android:theme="@style/Theme.AppCompat.NoActionBar"
|
|
|
31 |
android:icon="@drawable/icon">
|
|
|
32 |
<activity
|
|
|
33 |
android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation|mcc|mnc|density"
|
|
|
34 |
android:name="org.qtproject.qt.android.bindings.QtActivity"
|
|
|
35 |
android:label="-- %%INSERT_APP_NAME%% --"
|
|
|
36 |
android:launchMode="singleTop"
|
|
|
37 |
android:screenOrientation="nosensor"
|
|
|
38 |
android:exported="true">
|
|
|
39 |
<intent-filter>
|
|
|
40 |
<action android:name="android.intent.action.MAIN"/>
|
|
|
41 |
<category android:name="android.intent.category.LAUNCHER"/>
|
|
|
42 |
</intent-filter>
|
|
|
43 |
<!-- Application arguments -->
|
|
|
44 |
<!-- meta-data android:name="android.app.arguments" android:value="arg1 arg2 arg3"/ -->
|
|
|
45 |
<!-- Application arguments -->
|
|
|
46 |
<meta-data android:name="android.app.lib_name" android:value="-- %%INSERT_APP_LIB_NAME%% --"/>
|
|
|
47 |
<meta-data android:name="android.app.qt_sources_resource_id" android:resource="@array/qt_sources"/>
|
|
|
48 |
<meta-data android:name="android.app.repository" android:value="default"/>
|
|
|
49 |
<meta-data android:name="android.app.qt_libs_resource_id" android:resource="@array/qt_libs"/>
|
|
|
50 |
<meta-data android:name="android.app.bundled_libs_resource_id" android:resource="@array/bundled_libs"/>
|
|
|
51 |
<!-- Deploy Qt libs as part of package -->
|
|
|
52 |
<meta-data android:name="android.app.bundle_local_qt_libs" android:value="-- %%BUNDLE_LOCAL_QT_LIBS%% --"/>
|
|
|
53 |
<!-- Run with local libs -->
|
|
|
54 |
<meta-data android:name="android.app.use_local_qt_libs" android:value="-- %%USE_LOCAL_QT_LIBS%% --"/>
|
|
|
55 |
<meta-data android:name="android.app.libs_prefix" android:value="/data/local/tmp/qt/"/>
|
|
|
56 |
<meta-data android:name="android.app.load_local_libs_resource_id" android:resource="@array/load_local_libs"/>
|
|
|
57 |
<meta-data android:name="android.app.load_local_jars" android:value="-- %%INSERT_LOCAL_JARS%% --"/>
|
|
|
58 |
<meta-data android:name="android.app.static_init_classes" android:value="-- %%INSERT_INIT_CLASSES%% --"/>
|
|
|
59 |
<!-- Used to specify custom system library path to run with local system libs -->
|
|
|
60 |
<!-- <meta-data android:name="android.app.system_libs_prefix" android:value="/system/lib/"/> -->
|
|
|
61 |
<!-- Messages maps -->
|
|
|
62 |
<meta-data android:value="@string/fatal_error_msg" android:name="android.app.fatal_error_msg"/>
|
|
|
63 |
<meta-data android:value="@string/unsupported_android_version" android:name="android.app.unsupported_android_version"/>
|
|
|
64 |
<!-- Messages maps -->
|
|
|
65 |
<!-- Splash screen -->
|
|
|
66 |
<!-- Orientation-specific (portrait/landscape) data is checked first. If not available for current orientation,
|
|
|
67 |
then android.app.splash_screen_drawable. For best results, use together with splash_screen_sticky and
|
|
|
68 |
use hideSplashScreen() with a fade-out animation from Qt Android Extras to hide the splash screen when you
|
|
|
69 |
are done populating your window with content. -->
|
|
|
70 |
<!-- meta-data android:name="android.app.splash_screen_drawable_portrait" android:resource="@drawable/logo_portrait" / -->
|
|
|
71 |
<!-- meta-data android:name="android.app.splash_screen_drawable_landscape" android:resource="@drawable/logo_landscape" / -->
|
|
|
72 |
<!-- meta-data android:name="android.app.splash_screen_drawable" android:resource="@drawable/logo"/ -->
|
|
|
73 |
<!-- meta-data android:name="android.app.splash_screen_sticky" android:value="true"/ -->
|
|
|
74 |
<!-- Splash screen -->
|
|
|
75 |
<!-- Background running -->
|
|
|
76 |
<!-- Warning: changing this value to true may cause unexpected crashes if the
|
|
|
77 |
application still try to draw after
|
|
|
78 |
"applicationStateChanged(Qt::ApplicationSuspended)"
|
|
|
79 |
signal is sent! -->
|
|
|
80 |
<meta-data android:name="android.app.background_running" android:value="false"/>
|
|
|
81 |
<!-- Background running -->
|
|
|
82 |
<!-- auto screen scale factor -->
|
|
|
83 |
<meta-data android:name="android.app.auto_screen_scale_factor" android:value="false"/>
|
|
|
84 |
<!-- extract android style -->
|
|
|
85 |
<!-- available android:values :
|
|
|
86 |
* 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
|
|
|
87 |
* full - useful QWidget & Quick Controls 1 apps
|
|
|
88 |
* minimal - useful for Quick Controls 2 apps, it is much faster than "full"
|
|
|
89 |
* none - useful for apps that don't use any of the above Qt modules
|
|
|
90 |
-->
|
|
|
91 |
<meta-data android:name="android.app.extract_android_style" android:value="default"/>
|
|
|
92 |
<!-- extract android style -->
|
|
|
93 |
<!-- <meta-data android:name="android.app.splash_screen_drawable" android:resource="@drawable/logo"/>
|
|
|
94 |
<meta-data android:name="android.app.splash_screen_drawable_portrait" android:resource="@drawable/logo_portrait"/>
|
|
|
95 |
<meta-data android:name="android.app.splash_screen_drawable_landscape" android:resource="@drawable/logo_landscape"/> -->
|
|
|
96 |
<meta-data android:name="android.app.splash_screen_drawable" android:resource="@drawable/splashscreen"/>
|
|
|
97 |
<meta-data android:name="android.app.splash_screen_drawable_portrait" android:resource="@drawable/splashscreen_port"/>
|
|
|
98 |
<meta-data android:name="android.app.splash_screen_drawable_landscape" android:resource="@drawable/splashscreen_land"/>
|
|
|
99 |
</activity>
|
|
|
100 |
<activity android:name=".SettingsActivity" android:label="-- %%INSERT_APP_NAME%% --" android:parentActivityName=".QtApplication" android:screenOrientation="nosensor">
|
|
|
101 |
<meta-data android:name="android.support.PARENT_ACTIVITY" android:value="org.qtproject.qt.android.bindings.QtApplication"/>
|
|
|
102 |
<!-- <meta-data android:name="android.app.splash_screen_drawable" android:resource="@drawable/logo"/>
|
|
|
103 |
<meta-data android:name="android.app.splash_screen_drawable_portrait" android:resource="@drawable/logo_portrait"/>
|
|
|
104 |
<meta-data android:name="android.app.splash_screen_drawable_landscape" android:resource="@drawable/logo_landscape"/> -->
|
|
|
105 |
<meta-data android:name="android.app.splash_screen_drawable" android:resource="@drawable/splashscreen"/>
|
|
|
106 |
<meta-data android:name="android.app.splash_screen_drawable_portrait" android:resource="@drawable/splashscreen_port"/>
|
|
|
107 |
<meta-data android:name="android.app.splash_screen_drawable_landscape" android:resource="@drawable/splashscreen_land"/>
|
|
|
108 |
</activity>
|
|
|
109 |
</application>
|
|
|
110 |
|
|
|
111 |
<uses-permission android:name="android.permission.BATTERY_STATS"/>
|
|
|
112 |
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
|
|
|
113 |
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
|
|
|
114 |
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION"/>
|
|
|
115 |
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
|
|
|
116 |
<!-- <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> -->
|
|
|
117 |
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
|
|
|
118 |
<uses-permission android:name="android.permission.READ_CALL_LOG"/>
|
|
|
119 |
<uses-permission android:name="android.permission.WAKE_LOCK"/>
|
|
|
120 |
<!-- <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> -->
|
|
|
121 |
<uses-permission android:name="android.permission.DEVICE_POWER"/>
|
|
|
122 |
<uses-permission android:name="android.permission.FLASHLIGHT"/>
|
|
|
123 |
<uses-permission android:name="android.permission.USE_SIP"/>
|
|
|
124 |
<!-- <uses-permission android:name="android.permission.INTERNET"/> -->
|
|
|
125 |
<uses-permission android:name="android.permission.SET_ORIENTATION"/>
|
|
|
126 |
<!-- <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> -->
|
|
|
127 |
<uses-permission android:name="android.permission.MANAGE_APP_OPS_MODES"/>
|
|
|
128 |
<uses-permission android:name="android.permission.VIBRATE"/>
|
|
|
129 |
<!-- <uses-permission android:name="android.permission.RECORD_AUDIO"/> -->
|
|
|
130 |
|
|
|
131 |
<uses-feature android:name="android.software.sip.voip" android:required="true"/>
|
|
|
132 |
<uses-feature android:name="android.hardware.wifi" android:required="true"/>
|
|
|
133 |
</manifest>
|