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"
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
4 5
    android:versionCode="11200"
    android:versionName="1.12">
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 25 26 27
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <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
28
    <uses-permission android:name="android.permission.READ_CONTACTS" />
29
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
30
    <uses-permission android:name="android.permission.VIBRATE" />
Albert Vaca Cintora's avatar
WIP  
Albert Vaca Cintora committed
31
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
32
    <uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
33
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
34

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

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

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

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

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

                <data
96 97
                    android:host="kdeconnect"
                    android:path="/"
Albert Vaca Cintora's avatar
WIP  
Albert Vaca Cintora committed
98
                    android:scheme="package" />
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
99
            </intent-filter>
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
100 101 102
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED" />
            </intent-filter>
Albert Vaca Cintora's avatar
Albert Vaca Cintora committed
103 104 105 106 107 108
            <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
109 110
        </receiver>

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

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

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

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

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

Nicolas Fella's avatar
Nicolas Fella committed
153 154
        <service
            android:name="org.kde.kdeconnect.Plugins.RunCommandPlugin.RunCommandWidgetDataProviderService"
155 156 157 158 159 160
            android:exported="false"
            android:permission="android.permission.BIND_REMOTEVIEWS" />

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

168 169 170 171
            <meta-data
                android:name="android.appwidget.provider"
                android:resource="@xml/remotecommandplugin_widget" />
        </receiver>
Nicolas Fella's avatar
Nicolas Fella committed
172

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

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

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

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

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

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

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

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

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

233
        <provider
234
            android:name="androidx.core.content.FileProvider"
235 236 237 238 239 240 241
            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
242

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

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

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

270
</manifest>