AndroidManifest.xml 12.1 KB
Newer Older
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
1 2
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
    package="org.kde.kdeconnect_tp"
4 5
    android:versionCode="11260"
    android:versionName="1.12.6">
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
6

7 8
    <supports-screens
        android:anyDensity="true"
Albert Vaca Cintora's avatar
WIP  
Albert Vaca Cintora committed
9 10 11 12
        android:largeScreens="true"
        android:normalScreens="true"
        android:smallScreens="true"
        android:xlargeScreens="true" />
13

Nicolas Fella's avatar
Nicolas Fella committed
14 15 16
    <uses-feature
        android:name="android.hardware.telephony"
        android:required="false" />
17

Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
18
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
19
    <uses-permission android:name="android.permission.INTERNET" />
20 21
    <!-- <uses-permission android:name="android.permission.BLUETOOTH" /> -->
    <!-- <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> -->
22 23
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" />
24
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
25
    <uses-permission android:name="android.permission.READ_CONTACTS" />
26
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
27
    <uses-permission android:name="android.permission.VIBRATE" />
Albert Vaca Cintora's avatar
WIP  
Albert Vaca Cintora committed
28
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
29
    <uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
30
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
31
    <uses-permission android:name="android.permission.READ_CALL_LOG"/>
32 33 34
    <uses-permission android:name="android.permission.RECEIVE_SMS" />
    <uses-permission android:name="android.permission.SEND_SMS" />
    <uses-permission android:name="android.permission.READ_SMS" />
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
35

Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
36
    <application
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
37 38
        android:icon="@drawable/icon"
        android:label="KDE Connect"
Nicolas Fella's avatar
Nicolas Fella committed
39
        android:supportsRtl="true"
Nicolas Fella's avatar
Nicolas Fella committed
40
        android:theme="@style/KdeConnectTheme">
41
        <service
Albert Vaca Cintora's avatar
WIP  
Albert Vaca Cintora committed
42
            android:name="org.kde.kdeconnect.BackgroundService"
Nicolas Fella's avatar
Nicolas Fella committed
43 44 45
            android:enabled="true" />
        <service
            android:name="org.kde.kdeconnect.Plugins.RemoteKeyboardPlugin.RemoteKeyboardService"
Holger Kaelberer's avatar
Holger Kaelberer committed
46 47 48 49 50
            android:label="KDE Connect Remote Keyboard"
            android:permission="android.permission.BIND_INPUT_METHOD">
            <intent-filter>
                <action android:name="android.view.InputMethod" />
            </intent-filter>
51

Nicolas Fella's avatar
Nicolas Fella committed
52 53 54
            <meta-data
                android:name="android.view.im"
                android:resource="@xml/remotekeyboardplugin_method" />
Holger Kaelberer's avatar
Holger Kaelberer committed
55 56
        </service>

Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
57
        <activity
58
            android:name="org.kde.kdeconnect.UserInterface.MainActivity"
Albert Vaca Cintora's avatar
WIP  
Albert Vaca Cintora committed
59 60 61 62
            android:label="KDE Connect"
            android:theme="@style/KdeConnectTheme.NoActionBar">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
63

Albert Vaca Cintora's avatar
WIP  
Albert Vaca Cintora committed
64 65 66
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
67
        <activity
68
            android:name="org.kde.kdeconnect.UserInterface.DeviceSettingsActivity"
69
            android:label="@string/device_menu_plugins"
70
            android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity">
Albert Vaca Cintora's avatar
WIP  
Albert Vaca Cintora committed
71 72
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
73
                android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
74
        </activity>
Achilleas Koutsou's avatar
Achilleas Koutsou committed
75
        <activity
Albert Vaca Cintora's avatar
WIP  
Albert Vaca Cintora committed
76 77
            android:name="org.kde.kdeconnect.UserInterface.CustomDevicesActivity"
            android:label="@string/custom_devices_settings"
78
            android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity">
Albert Vaca Cintora's avatar
WIP  
Albert Vaca Cintora committed
79 80
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
81
                android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
Achilleas Koutsou's avatar
Achilleas Koutsou committed
82
        </activity>
83 84 85
        <activity
            android:name="org.kde.kdeconnect.Plugins.SharePlugin.SendFileActivity"
            android:label="KDE Connect"
86
            android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity">
87 88
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
89
                android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
90
        </activity>
91

Nicolas Fella's avatar
Nicolas Fella committed
92
        <receiver android:name="org.kde.kdeconnect.KdeConnectBroadcastReceiver">
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
93
            <intent-filter>
94
                <action android:name="android.intent.action.PACKAGE_REPLACED" />
Albert Vaca Cintora's avatar
WIP  
Albert Vaca Cintora committed
95 96

                <data
97 98
                    android:host="kdeconnect"
                    android:path="/"
Albert Vaca Cintora's avatar
WIP  
Albert Vaca Cintora committed
99
                    android:scheme="package" />
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
100
            </intent-filter>
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
101 102 103
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED" />
            </intent-filter>
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
104 105 106 107 108 109
            <intent-filter>
                <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.net.wifi.WIFI_STATE_CHANGED" />
            </intent-filter>
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
110 111
        </receiver>

112 113
        <activity
            android:name="org.kde.kdeconnect.Plugins.FindMyPhonePlugin.FindMyPhoneActivity"
114
            android:configChanges="orientation|screenSize"
115
            android:excludeFromRecents="true"
Nicolas Fella's avatar
Nicolas Fella committed
116
            android:label="@string/findmyphone_title"
Nicolas Fella's avatar
Nicolas Fella committed
117
            android:launchMode="singleInstance" />
118

119 120 121 122
        <!-- Plugin-related activities and services -->

        <activity
            android:name="org.kde.kdeconnect.Plugins.MprisPlugin.MprisActivity"
123
            android:label="@string/open_mpris_controls"
124 125
            android:launchMode="singleTop"
            android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity">
Albert Vaca Cintora's avatar
WIP  
Albert Vaca Cintora committed
126 127
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
128
                android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
129
        </activity>
130

Nicolas Fella's avatar
Nicolas Fella committed
131
        <receiver android:name="org.kde.kdeconnect.Plugins.MprisPlugin.MprisMediaNotificationReceiver">
132 133 134 135 136
            <intent-filter>
                <action android:name="android.intent.action.MEDIA_BUTTON" />
            </intent-filter>
        </receiver>

137 138
        <activity
            android:name="org.kde.kdeconnect.Plugins.RunCommandPlugin.RunCommandActivity"
139
            android:label="@string/pref_plugin_runcommand"
140
            android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity">
141 142
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
143
                android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
144
        </activity>
145 146 147 148
        <activity
            android:name="org.kde.kdeconnect.Plugins.RunCommandPlugin.RunCommandWidgetDeviceSelector"
            android:excludeFromRecents="true"
            android:label="@string/pref_plugin_runcommand"
149 150
            android:launchMode="singleTask"
            android:noHistory="true"
151 152 153
            android:screenOrientation="user"
            android:theme="@style/Theme.AppCompat.Light.Dialog" />

154 155
        <service
            android:name="org.kde.kdeconnect.Plugins.RunCommandPlugin.RunCommandWidgetDataProviderService"
156 157 158 159 160 161
            android:exported="false"
            android:permission="android.permission.BIND_REMOTEVIEWS" />

        <receiver
            android:name="org.kde.kdeconnect.Plugins.RunCommandPlugin.RunCommandWidget"
            android:label="@string/pref_plugin_runcommand">
162 163 164 165 166 167 168
            <intent-filter>
                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
            </intent-filter>
            <intent-filter>
                <action android:name="RUN_COMMAND_ACTION" />
            </intent-filter>

169 170 171 172
            <meta-data
                android:name="android.appwidget.provider"
                android:resource="@xml/remotecommandplugin_widget" />
        </receiver>
173

174 175 176
        <activity android:name="org.kde.kdeconnect.Plugins.RunCommandPlugin.RunCommandUrlActivity">
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
177
                <action android:name="android.nfc.action.NDEF_DISCOVERED" />
178 179 180 181

                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />

182 183 184
                <data
                    android:host="runcommand"
                    android:scheme="kdeconnect" />
185
            </intent-filter>
186
        </activity>
187 188
        <activity
            android:name="org.kde.kdeconnect.Plugins.MousePadPlugin.MousePadActivity"
189
            android:label="@string/pref_plugin_mousepad"
190 191 192 193 194 195 196 197 198
            android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity">
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
                android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
        </activity>
        <activity
            android:name="org.kde.kdeconnect.Plugins.PresenterPlugin.PresenterActivity"
            android:configChanges="orientation|keyboardHidden|screenSize"
            android:label="@string/pref_plugin_presenter"
199
            android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity"
Nicolas Fella's avatar
Nicolas Fella committed
200
            android:windowSoftInputMode="stateHidden|adjustResize">
Albert Vaca Cintora's avatar
WIP  
Albert Vaca Cintora committed
201 202
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
203
                android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
204
        </activity>
205
        <activity
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
206
            android:name="org.kde.kdeconnect.Plugins.SharePlugin.ShareActivity"
Nicolas Fella's avatar
Nicolas Fella committed
207
            android:label="KDE Connect">
208 209
            <intent-filter>
                <action android:name="android.intent.action.SEND" />
Albert Vaca Cintora's avatar
WIP  
Albert Vaca Cintora committed
210

211
                <category android:name="android.intent.category.DEFAULT" />
Albert Vaca Cintora's avatar
WIP  
Albert Vaca Cintora committed
212

213 214
                <data android:mimeType="*/*" />
            </intent-filter>
215 216
            <intent-filter>
                <action android:name="android.intent.action.SEND_MULTIPLE" />
Albert Vaca Cintora's avatar
WIP  
Albert Vaca Cintora committed
217

218
                <category android:name="android.intent.category.DEFAULT" />
Albert Vaca Cintora's avatar
WIP  
Albert Vaca Cintora committed
219

220 221
                <data android:mimeType="*/*" />
            </intent-filter>
Nicolas Fella's avatar
Nicolas Fella committed
222

Nicolas Fella's avatar
Nicolas Fella committed
223 224 225
            <meta-data
                android:name="android.service.chooser.chooser_target_service"
                android:value="org.kde.kdeconnect.Plugins.SharePlugin.ShareChooserTargetService" />
226
        </activity>
Nicolas Fella's avatar
Nicolas Fella committed
227

228 229 230 231 232 233
        <receiver android:name="org.kde.kdeconnect.Plugins.SharePlugin.ShareBroadcastReceiver">
            <intent-filter>
                <action android:name="org.kde.kdeconnect.Plugins.SharePlugin.CancelShare" />
            </intent-filter>
        </receiver>

234
        <provider
235
            android:name="androidx.core.content.FileProvider"
236 237 238 239 240 241 242
            android:authorities="org.kde.kdeconnect_tp.fileprovider"
            android:exported="false"
            android:grantUriPermissions="true">
            <meta-data
                android:name="android.support.FILE_PROVIDER_PATHS"
                android:resource="@xml/fileprovider_paths" />
        </provider>
Nicolas Fella's avatar
Nicolas Fella committed
243

Albert Vaca Cintora's avatar
WIP  
Albert Vaca Cintora committed
244 245
        <service
            android:name="org.kde.kdeconnect.Plugins.NotificationsPlugin.NotificationReceiver"
Nicolas Fella's avatar
Nicolas Fella committed
246
            android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
247 248 249 250
            <intent-filter>
                <action android:name="android.service.notification.NotificationListenerService" />
            </intent-filter>
        </service>
Nicolas Fella's avatar
Nicolas Fella committed
251 252 253 254 255 256
        <service
            android:name="org.kde.kdeconnect.Plugins.SharePlugin.ShareChooserTargetService"
            android:permission="android.permission.BIND_CHOOSER_TARGET_SERVICE">
            <intent-filter>
                <action android:name="android.service.chooser.ChooserTargetService" />
            </intent-filter>
Nicolas Fella's avatar
Nicolas Fella committed
257
        </service>
258

259 260 261
        <activity
            android:name="org.kde.kdeconnect.Plugins.NotificationsPlugin.NotificationFilterActivity"
            android:label="@string/title_activity_notification_filter"
262
            android:parentActivityName="org.kde.kdeconnect.UserInterface.DeviceSettingsActivity">
263 264
            <meta-data
                android:name="android.support.PARENT_ACTIVITY"
265
                android:value="org.kde.kdeconnect.UserInterface.DeviceSettingsActivity" />
266
        </activity>
Nicolas Fella's avatar
Nicolas Fella committed
267
        <activity android:name="org.kde.kdeconnect.Plugins.PhotoPlugin.PhotoActivity" />
268

Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
269 270
    </application>

271
</manifest>