Changeset View
Changeset View
Standalone View
Standalone View
mobile/android/AndroidManifest.xml
1 | <?xml version='1.0' encoding='utf-8'?> | 1 | <?xml version='1.0' encoding='utf-8'?> | ||
---|---|---|---|---|---|
2 | <manifest package="org.kde.okularkirigami" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.3.0" android:versionCode="9" android:installLocation="auto"> | 2 | <manifest package="org.kde.okularkirigami" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.3.0" android:versionCode="9" android:installLocation="auto"> | ||
3 | <application android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="@string/app_name" android:icon="@drawable/icon"> | 3 | <application android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="@string/app_name" android:icon="@drawable/icon"> | ||
4 | <activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|locale|fontScale|keyboard|keyboardHidden|navigation" | 4 | <activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|locale|fontScale|keyboard|keyboardHidden|navigation" | ||
5 | android:name="org.qtproject.qt5.android.bindings.QtActivity" | 5 | android:name="org.qtproject.qt5.android.bindings.QtActivity" | ||
6 | android:label="@string/app_name" | 6 | android:label="@string/app_name" | ||
7 | android:hardwareAccelerated="true" | ||||
7 | android:screenOrientation="unspecified"> | 8 | android:screenOrientation="unspecified"> | ||
8 | <intent-filter> | 9 | <intent-filter> | ||
9 | <action android:name="android.intent.action.MAIN"/> | 10 | <action android:name="android.intent.action.MAIN"/> | ||
10 | <category android:name="android.intent.category.LAUNCHER"/> | 11 | <category android:name="android.intent.category.LAUNCHER"/> | ||
11 | </intent-filter> | 12 | </intent-filter> | ||
13 | | ||||
14 | <meta-data android:name="android.app.lib_name" android:value="okularkirigami"/> | ||||
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="1"/> | ||||
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="1"/> | ||||
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="plugins/platforms/android/libqtforandroid.so:plugins/bearer/libqandroidbearer.so"/> | ||||
27 | <meta-data android:name="android.app.load_local_jars" android:value="jar/QtAndroid.jar:jar/QtAndroidAccessibility.jar:jar/QtAndroid-bundled.jar:jar/QtAndroidAccessibility-bundled.jar:jar/QtAndroidBearer.jar:jar/QtAndroidBearer-bundled.jar"/> | ||||
28 | <meta-data android:name="android.app.static_init_classes" android:value=""/> | ||||
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 --> | ||||
34 | </activity> | ||||
35 | <activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|locale|fontScale|keyboard|keyboardHidden|navigation" | ||||
36 | android:name="org.kde.something.OpenFileActivity" | ||||
37 | android:label="@string/app_name" | ||||
38 | android:hardwareAccelerated="true" | ||||
39 | android:screenOrientation="unspecified"> | ||||
40 | | ||||
41 | <intent-filter android:label="Okular"> | ||||
42 | <action android:name="android.intent.action.VIEW"/> | ||||
43 | <category android:name="android.intent.category.DEFAULT"/> | ||||
44 | <category android:name="android.intent.category.BROWSABLE"/> | ||||
45 | <data android:mimeType="application/pdf"/> | ||||
46 | </intent-filter> | ||||
47 | | ||||
12 | <meta-data android:name="android.app.lib_name" android:value="okularkirigami"/> | 48 | <meta-data android:name="android.app.lib_name" android:value="okularkirigami"/> | ||
13 | <meta-data android:name="android.app.qt_sources_resource_id" android:resource="@array/qt_sources"/> | 49 | <meta-data android:name="android.app.qt_sources_resource_id" android:resource="@array/qt_sources"/> | ||
14 | <meta-data android:name="android.app.repository" android:value="default"/> | 50 | <meta-data android:name="android.app.repository" android:value="default"/> | ||
15 | <meta-data android:name="android.app.qt_libs_resource_id" android:resource="@array/qt_libs"/> | 51 | <meta-data android:name="android.app.qt_libs_resource_id" android:resource="@array/qt_libs"/> | ||
16 | <meta-data android:name="android.app.bundled_libs_resource_id" android:resource="@array/bundled_libs"/> | 52 | <meta-data android:name="android.app.bundled_libs_resource_id" android:resource="@array/bundled_libs"/> | ||
17 | <!-- Deploy Qt libs as part of package --> | 53 | <!-- Deploy Qt libs as part of package --> | ||
18 | <meta-data android:name="android.app.bundle_local_qt_libs" android:value="1"/> | 54 | <meta-data android:name="android.app.bundle_local_qt_libs" android:value="1"/> | ||
19 | <meta-data android:name="android.app.bundled_in_lib_resource_id" android:resource="@array/bundled_in_lib"/> | 55 | <meta-data android:name="android.app.bundled_in_lib_resource_id" android:resource="@array/bundled_in_lib"/> | ||
20 | <meta-data android:name="android.app.bundled_in_assets_resource_id" android:resource="@array/bundled_in_assets"/> | 56 | <meta-data android:name="android.app.bundled_in_assets_resource_id" android:resource="@array/bundled_in_assets"/> | ||
21 | <!-- Run with local libs --> | 57 | <!-- Run with local libs --> | ||
22 | <meta-data android:name="android.app.use_local_qt_libs" android:value="1"/> | 58 | <meta-data android:name="android.app.use_local_qt_libs" android:value="1"/> | ||
23 | <meta-data android:name="android.app.libs_prefix" android:value="/data/local/tmp/qt/"/> | 59 | <meta-data android:name="android.app.libs_prefix" android:value="/data/local/tmp/qt/"/> | ||
24 | <meta-data android:name="android.app.load_local_libs" android:value="plugins/platforms/android/libqtforandroid.so:plugins/bearer/libqandroidbearer.so"/> | 60 | <meta-data android:name="android.app.load_local_libs" android:value="plugins/platforms/android/libqtforandroid.so:plugins/bearer/libqandroidbearer.so"/> | ||
25 | <meta-data android:name="android.app.load_local_jars" android:value="jar/QtAndroid.jar:jar/QtAndroidAccessibility.jar:jar/QtAndroid-bundled.jar:jar/QtAndroidAccessibility-bundled.jar:jar/QtAndroidBearer.jar:jar/QtAndroidBearer-bundled.jar"/> | 61 | <meta-data android:name="android.app.load_local_jars" android:value="jar/QtAndroid.jar:jar/QtAndroidAccessibility.jar:jar/QtAndroid-bundled.jar:jar/QtAndroidAccessibility-bundled.jar:jar/QtAndroidBearer.jar:jar/QtAndroidBearer-bundled.jar"/> | ||
26 | <meta-data android:name="android.app.static_init_classes" android:value=""/> | 62 | <meta-data android:name="android.app.static_init_classes" android:value=""/> | ||
27 | <!-- Messages maps --> | 63 | <!-- Messages maps --> | ||
28 | <meta-data android:value="@string/ministro_not_found_msg" android:name="android.app.ministro_not_found_msg"/> | 64 | <meta-data android:value="@string/ministro_not_found_msg" android:name="android.app.ministro_not_found_msg"/> | ||
29 | <meta-data android:value="@string/ministro_needed_msg" android:name="android.app.ministro_needed_msg"/> | 65 | <meta-data android:value="@string/ministro_needed_msg" android:name="android.app.ministro_needed_msg"/> | ||
30 | <meta-data android:value="@string/fatal_error_msg" android:name="android.app.fatal_error_msg"/> | 66 | <meta-data android:value="@string/fatal_error_msg" android:name="android.app.fatal_error_msg"/> | ||
31 | <!-- Messages maps --> | 67 | <!-- Messages maps --> | ||
32 | </activity> | 68 | </activity> | ||
33 | </application> | 69 | </application> | ||
34 | <uses-sdk android:minSdkVersion="16" /> | 70 | <uses-sdk android:minSdkVersion="16" /> | ||
71 | | ||||
72 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | ||||
73 | <uses-permission android:name="android.permission.INTERNET" /> | ||||
35 | <supports-screens android:largeScreens="true" android:normalScreens="true" android:anyDensity="true" android:smallScreens="true"/> | 74 | <supports-screens android:largeScreens="true" android:normalScreens="true" android:anyDensity="true" android:smallScreens="true"/> | ||
36 | </manifest> | 75 | </manifest> |