AndroidManifest.xml 5.6 KB
Newer Older
1 2 3 4 5 6
<?xml version='1.0' encoding='utf-8'?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          package="org.kde.itinerary"
          android:versionName="0.0.1"
          android:versionCode="1"
          android:installLocation="auto">
7
    <application android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="KDE Itinerary" android:icon="@drawable/icon">
8
        <activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation"
9
                  android:name="org.kde.itinerary.Activity"
10 11 12 13 14 15 16 17 18 19
                  android:label="KDE Itinerary"
                  android:windowSoftInputMode="adjustResize"
                  android:launchMode="singleTop">

            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.VIEW"/>
20
                <category android:name="android.intent.category.BROWSABLE" />
21
                <category android:name="android.intent.category.DEFAULT"/>
22
                <data android:scheme="content" android:host="*" android:mimeType="application/vnd.apple.pkpass"/>
23
            </intent-filter>
24 25
            <intent-filter>
                <action android:name="android.intent.action.VIEW"/>
26
                <category android:name="android.intent.category.BROWSABLE" />
27
                <category android:name="android.intent.category.DEFAULT"/>
28
                <data android:scheme="content" android:host="*" android:mimeType="application/json"/>
29
            </intent-filter>
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
            <intent-filter>
                <action android:name="android.intent.action.VIEW"/>
                <category android:name="android.intent.category.BROWSABLE" />
                <category android:name="android.intent.category.DEFAULT"/>
                <data android:scheme="content" android:host="*" android:mimeType="application/pdf"/>
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.VIEW"/>
                <category android:name="android.intent.category.BROWSABLE" />
                <category android:name="android.intent.category.DEFAULT"/>
                <data android:scheme="http" android:host="*" android:pathPattern=".*\\.pkpass"/>
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.VIEW"/>
                <category android:name="android.intent.category.BROWSABLE" />
                <category android:name="android.intent.category.DEFAULT"/>
                <data android:scheme="https" android:host="*" android:pathPattern=".*\\.pkpass"/>
            </intent-filter>
48 49 50 51 52 53

            <meta-data android:name="android.app.lib_name" android:value="itinerary-app"/>
            <meta-data android:name="android.app.qt_sources_resource_id" android:resource="@array/qt_sources"/>
            <meta-data android:name="android.app.repository" android:value="default"/>
            <meta-data android:name="android.app.qt_libs_resource_id" android:resource="@array/qt_libs"/>
            <meta-data android:name="android.app.bundled_libs_resource_id" android:resource="@array/bundled_libs"/>
54
            <meta-data android:name="android.app.extract_android_style" android:value="minimal"/>
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70

            <!-- Deploy Qt libs as part of package -->
            <meta-data android:name="android.app.bundle_local_qt_libs" android:value="-- %%BUNDLE_LOCAL_QT_LIBS%% --"/>
            <meta-data android:name="android.app.bundled_in_lib_resource_id" android:resource="@array/bundled_in_lib"/>
            <meta-data android:name="android.app.bundled_in_assets_resource_id" android:resource="@array/bundled_in_assets"/>
            <!-- Run with local libs -->
            <meta-data android:name="android.app.use_local_qt_libs" android:value="-- %%USE_LOCAL_QT_LIBS%% --"/>
            <meta-data android:name="android.app.libs_prefix" android:value="/data/local/tmp/qt/"/>
            <meta-data android:name="android.app.load_local_libs" android:value="-- %%INSERT_LOCAL_LIBS%% --"/>
            <meta-data android:name="android.app.load_local_jars" android:value="-- %%INSERT_LOCAL_JARS%% --"/>
            <meta-data android:name="android.app.static_init_classes" android:value="-- %%INSERT_INIT_CLASSES%% --"/>
            <!--  Messages maps -->
            <meta-data android:value="@string/ministro_not_found_msg" android:name="android.app.ministro_not_found_msg"/>
            <meta-data android:value="@string/ministro_needed_msg" android:name="android.app.ministro_needed_msg"/>
            <meta-data android:value="@string/fatal_error_msg" android:name="android.app.fatal_error_msg"/>

71 72
            <!-- Splash screen -->
            <meta-data android:name="android.app.splash_screen_drawable" android:resource="@drawable/splash"/>
73 74 75 76 77 78 79 80 81

            <!-- Background running -->
            <meta-data android:name="android.app.background_running" android:value="false"/>

            <!-- auto screen scale factor -->
            <meta-data android:name="android.app.auto_screen_scale_factor" android:value="true"/>
        </activity>
    </application>

82
    <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="28"/>
83 84
    <supports-screens android:largeScreens="true" android:normalScreens="true" android:anyDensity="true" android:smallScreens="true"/>

85
    <uses-permission android:name="android.permission.READ_CALENDAR"/>
86 87
    <!-- %%INSERT_PERMISSIONS -->

88 89
    <!-- %%INSERT_FEATURES -->
</manifest>