Warning, /network/kdeconnect-android/AndroidManifest.xml is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="utf-8"?>
0002 
0003 <!--
0004 SPDX-FileCopyrightText: 2023 Albert Vaca Cintora <albertvaka@gmail.com>
0005 
0006 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0007 -->
0008 
0009 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
0010     xmlns:tools="http://schemas.android.com/tools"
0011     android:versionCode="12900"
0012     android:versionName="1.29.0">
0013 
0014     <uses-feature
0015         android:name="android.hardware.telephony"
0016         android:required="false" />
0017 
0018     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
0019     <uses-permission android:name="android.permission.INTERNET" />
0020     <uses-permission android:name="android.permission.BLUETOOTH" android:maxSdkVersion="30" />
0021     <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" android:maxSdkVersion="30" />
0022     <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
0023     <uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
0024     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
0025     <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
0026     <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
0027     <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
0028     <uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" />
0029     <uses-permission android:name="android.permission.READ_PHONE_STATE" />
0030     <uses-permission android:name="android.permission.READ_CONTACTS" />
0031     <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
0032     <uses-permission android:name="android.permission.VIBRATE" />
0033     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
0034     <uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
0035     <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
0036     <uses-permission android:name="android.permission.READ_CALL_LOG" />
0037     <uses-permission android:name="android.permission.SEND_SMS" />
0038     <uses-permission android:name="android.permission.READ_SMS" />
0039     <uses-permission android:name="android.permission.RECEIVE_SMS" />
0040     <uses-permission android:name="android.permission.RECEIVE_MMS" />
0041     <uses-permission android:name="android.permission.WAKE_LOCK" />
0042     <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
0043     <uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" />
0044     <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
0045     <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
0046     <uses-permission android:name="android.permission.RECORD_AUDIO" />
0047     <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" tools:ignore="QueryAllPackagesPermission" />
0048     <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
0049     <uses-permission android:name="android.permission.READ_LOGS" tools:ignore="ProtectedPermissions" />
0050     <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
0051     <uses-permission android:name="android.permission.FOREGROUND_SERVICE_CONNECTED_DEVICE" />
0052     <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" tools:ignore="ScopedStorage" />
0053     <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
0054 
0055     <application
0056         android:icon="@mipmap/ic_launcher"
0057         android:roundIcon="@mipmap/ic_launcher_round"
0058         android:label="@string/kde_connect"
0059         android:supportsRtl="true"
0060         android:allowBackup="false"
0061         android:dataExtractionRules="@xml/data_extraction_rules"
0062         android:networkSecurityConfig="@xml/network_security_config"
0063         android:theme="@style/KdeConnectTheme.NoActionBar"
0064         android:name="org.kde.kdeconnect.KdeConnect"
0065         android:enableOnBackInvokedCallback="true">
0066 
0067         <receiver
0068             android:name="com.android.mms.transaction.PushReceiver"
0069             android:exported="true"
0070             android:permission="android.permission.BROADCAST_WAP_PUSH">
0071             <intent-filter>
0072                 <action android:name="android.provider.Telephony.WAP_PUSH_DELIVER" />
0073 
0074                 <data android:mimeType="application/vnd.wap.mms-message" />
0075             </intent-filter>
0076         </receiver>
0077 
0078         <service
0079             android:name="com.android.mms.transaction.TransactionService"
0080             android:enabled="true"
0081             android:exported="true" />
0082 
0083         <service
0084             android:name="org.kde.kdeconnect.BackgroundService"
0085             android:foregroundServiceType="connectedDevice"
0086             android:icon="@drawable/icon"
0087             android:enabled="true" />
0088         <service
0089             android:name="org.kde.kdeconnect.Plugins.RemoteKeyboardPlugin.RemoteKeyboardService"
0090             android:label="@string/remote_keyboard_service"
0091             android:exported="true"
0092             android:permission="android.permission.BIND_INPUT_METHOD">
0093             <intent-filter>
0094                 <action android:name="android.view.InputMethod" />
0095             </intent-filter>
0096 
0097             <meta-data
0098                 android:name="android.view.im"
0099                 android:resource="@xml/remotekeyboardplugin_method" />
0100         </service>
0101 
0102         <activity
0103             android:name="org.kde.kdeconnect.UserInterface.MainActivity"
0104             android:exported="true"
0105             android:theme="@style/KdeConnectTheme.NoActionBar">
0106             <intent-filter>
0107                 <action android:name="android.intent.action.MAIN" />
0108 
0109                 <category android:name="android.intent.category.LAUNCHER" />
0110             </intent-filter>
0111             <intent-filter>
0112                 <action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES"/>
0113             </intent-filter>
0114         </activity>
0115         <activity
0116             android:name="org.kde.kdeconnect.UserInterface.PluginSettingsActivity"
0117             android:label="@string/device_menu_plugins"
0118             android:exported="false"
0119             android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity">
0120             <meta-data
0121                 android:name="android.support.PARENT_ACTIVITY"
0122                 android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
0123         </activity>
0124         <activity
0125             android:name="org.kde.kdeconnect.UserInterface.CustomDevicesActivity"
0126             android:label="@string/custom_devices_settings"
0127             android:exported="false"
0128             android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity">
0129             <meta-data
0130                 android:name="android.support.PARENT_ACTIVITY"
0131                 android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
0132         </activity>
0133         <activity
0134             android:name="org.kde.kdeconnect.Plugins.SharePlugin.SendFileActivity"
0135             android:label="KDE Connect"
0136             android:exported="true"
0137             android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity">
0138             <meta-data
0139                 android:name="android.support.PARENT_ACTIVITY"
0140                 android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
0141         </activity>
0142 
0143         <receiver android:name="org.kde.kdeconnect.KdeConnectBroadcastReceiver"
0144             android:exported="true">
0145             <intent-filter>
0146                 <action android:name="android.intent.action.MY_PACKAGE_REPLACED"/>
0147             </intent-filter>
0148             <intent-filter>
0149                 <action android:name="android.intent.action.BOOT_COMPLETED" />
0150             </intent-filter>
0151             <intent-filter>
0152                 <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
0153             </intent-filter>
0154             <intent-filter>
0155                 <action android:name="android.net.wifi.WIFI_STATE_CHANGED" />
0156             </intent-filter>
0157         </receiver>
0158 
0159         <activity
0160             android:name="org.kde.kdeconnect.Plugins.FindMyPhonePlugin.FindMyPhoneActivity"
0161             android:configChanges="orientation|screenSize"
0162             android:excludeFromRecents="true"
0163             android:label="@string/findmyphone_title"
0164             android:launchMode="singleInstance" />
0165 
0166         <receiver android:name="org.kde.kdeconnect.Plugins.FindMyPhonePlugin.FindMyPhoneReceiver"
0167             android:exported="true">
0168             <intent-filter>
0169                 <action android:name="org.kde.kdeconnect.Plugins.FindMyPhonePlugin.foundIt" />
0170             </intent-filter>
0171         </receiver>
0172 
0173         <!-- Plugin-related activities and services -->
0174 
0175         <activity
0176             android:name="org.kde.kdeconnect.Plugins.ClibpoardPlugin.ClipboardFloatingActivity"
0177             android:theme="@style/Theme.Transparent"
0178             android:excludeFromRecents="true"/>
0179 
0180         <activity
0181             android:name="org.kde.kdeconnect.Plugins.MprisPlugin.MprisActivity"
0182             android:label="@string/open_mpris_controls"
0183             android:launchMode="singleTop"
0184             android:theme="@style/KdeConnectTheme.NoActionBar"
0185             android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity">
0186             <meta-data
0187                 android:name="android.support.PARENT_ACTIVITY"
0188                 android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
0189         </activity>
0190 
0191         <receiver android:name="org.kde.kdeconnect.Plugins.MprisPlugin.MprisMediaNotificationReceiver"
0192             android:exported="true">
0193             <intent-filter>
0194                 <action android:name="android.intent.action.MEDIA_BUTTON" />
0195             </intent-filter>
0196         </receiver>
0197 
0198         <activity
0199             android:name="org.kde.kdeconnect.Plugins.RunCommandPlugin.RunCommandActivity"
0200             android:label="@string/pref_plugin_runcommand"
0201             android:exported="false"
0202             android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity">
0203             <meta-data
0204                 android:name="android.support.PARENT_ACTIVITY"
0205                 android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
0206         </activity>
0207         <activity
0208             android:name="org.kde.kdeconnect.Plugins.RunCommandPlugin.RunCommandWidgetConfigActivity"
0209             android:excludeFromRecents="true"
0210             android:label="@string/pref_plugin_runcommand"
0211             android:launchMode="singleTask"
0212             android:noHistory="true"
0213             android:screenOrientation="user"
0214             android:theme="@style/Theme.Material3.DayNight.Dialog" />
0215 
0216         <service
0217             android:name="org.kde.kdeconnect.Plugins.RunCommandPlugin.CommandsRemoteViewsService"
0218             android:exported="false"
0219             android:permission="android.permission.BIND_REMOTEVIEWS" />
0220 
0221         <receiver
0222             android:name="org.kde.kdeconnect.Plugins.RunCommandPlugin.RunCommandWidgetProvider"
0223             android:label="@string/pref_plugin_runcommand"
0224             android:exported="true">
0225             <intent-filter>
0226                 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
0227             </intent-filter>
0228             <intent-filter>
0229                 <action android:name="RUN_COMMAND_ACTION" />
0230             </intent-filter>
0231 
0232             <meta-data
0233                 android:name="android.appwidget.provider"
0234                 android:resource="@xml/remotecommandplugin_widget" />
0235         </receiver>
0236 
0237         <activity android:name="org.kde.kdeconnect.Plugins.RunCommandPlugin.RunCommandUrlActivity"
0238             android:exported="true">
0239             <intent-filter>
0240                 <action android:name="android.intent.action.VIEW" />
0241                 <action android:name="android.nfc.action.NDEF_DISCOVERED" />
0242 
0243                 <category android:name="android.intent.category.DEFAULT" />
0244                 <category android:name="android.intent.category.BROWSABLE" />
0245 
0246                 <data
0247                     android:host="runcommand"
0248                     android:scheme="kdeconnect" />
0249             </intent-filter>
0250         </activity>
0251         <activity
0252             android:name="org.kde.kdeconnect.Plugins.BigscreenPlugin.BigscreenActivity"
0253             android:configChanges="orientation|keyboardHidden|screenSize"
0254             android:label="@string/pref_plugin_bigscreen"
0255             android:exported="true"
0256             android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity"
0257             android:windowSoftInputMode="stateHidden|adjustResize">
0258             <meta-data
0259                 android:name="android.support.PARENT_ACTIVITY"
0260                 android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
0261         </activity>
0262         <activity
0263             android:name="org.kde.kdeconnect.Plugins.MousePadPlugin.MousePadActivity"
0264             android:label="@string/pref_plugin_mousepad"
0265             android:exported="false"
0266             android:launchMode="singleTop"
0267             android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity">
0268             <meta-data
0269                 android:name="android.support.PARENT_ACTIVITY"
0270                 android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
0271         </activity>
0272         <activity
0273             android:name="org.kde.kdeconnect.Plugins.MousePadPlugin.ComposeSendActivity"
0274             android:label="@string/compose_send_title"
0275             android:exported="false"
0276             android:parentActivityName="org.kde.kdeconnect.Plugins.MousePadPlugin.MousePadActivity"
0277             android:windowSoftInputMode="adjustResize">
0278             <meta-data
0279                 android:name="android.support.PARENT_ACTIVITY"
0280                 android:value="org.kde.kdeconnect.Plugins.MousePadPlugin.MousePadActivity" />
0281         </activity>
0282         <activity
0283             android:name="org.kde.kdeconnect.Plugins.MousePadPlugin.SendKeystrokesToHostActivity"
0284             android:label="@string/pref_plugin_mousepad_send_keystrokes"
0285             android:exported="true"
0286             android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity">
0287             <meta-data
0288                 android:name="android.support.PARENT_ACTIVITY"
0289                 android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
0290             <!-- Accept data with "text/x-keystrokes" to send the text to the connected host and emulate keystrokes -->
0291             <intent-filter>
0292                 <action android:name="android.intent.action.SEND"/>
0293                 <category android:name="android.intent.category.DEFAULT"/>
0294                 <data android:mimeType="text/x-keystrokes"/>
0295             </intent-filter>
0296         </activity>
0297         <activity
0298             android:name="org.kde.kdeconnect.Plugins.PresenterPlugin.PresenterActivity"
0299             android:configChanges="orientation|keyboardHidden|screenSize"
0300             android:label="@string/pref_plugin_presenter"
0301             android:exported="false"
0302             android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity"
0303             android:windowSoftInputMode="stateHidden|adjustResize">
0304             <meta-data
0305                 android:name="android.support.PARENT_ACTIVITY"
0306                 android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
0307         </activity>
0308         <activity
0309             android:name="org.kde.kdeconnect.Plugins.SharePlugin.ShareActivity"
0310             android:exported="true"
0311             android:label="@string/manifest_label_share">
0312             <intent-filter>
0313                 <action android:name="android.intent.action.SEND" />
0314 
0315                 <category android:name="android.intent.category.DEFAULT" />
0316 
0317                 <data android:mimeType="*/*" />
0318             </intent-filter>
0319             <intent-filter>
0320                 <action android:name="android.intent.action.SEND_MULTIPLE" />
0321 
0322                 <category android:name="android.intent.category.DEFAULT" />
0323 
0324                 <data android:mimeType="*/*" />
0325             </intent-filter>
0326 
0327             <meta-data
0328                 android:name="android.service.chooser.chooser_target_service"
0329                 android:value="org.kde.kdeconnect.Plugins.SharePlugin.ShareChooserTargetService" />
0330         </activity>
0331 
0332         <receiver android:name="org.kde.kdeconnect.Plugins.SharePlugin.ShareBroadcastReceiver"
0333             android:exported="true">
0334             <intent-filter>
0335                 <action android:name="org.kde.kdeconnect.Plugins.SharePlugin.CancelShare" />
0336             </intent-filter>
0337         </receiver>
0338 
0339         <provider
0340             android:name="androidx.core.content.FileProvider"
0341             android:authorities="org.kde.kdeconnect_tp.fileprovider"
0342             android:exported="false"
0343             android:grantUriPermissions="true">
0344             <meta-data
0345                 android:name="android.support.FILE_PROVIDER_PATHS"
0346                 android:resource="@xml/fileprovider_paths" />
0347         </provider>
0348 
0349         <service
0350             android:name="org.kde.kdeconnect.Plugins.NotificationsPlugin.NotificationReceiver"
0351             android:exported="true"
0352             android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
0353             <intent-filter>
0354                 <action android:name="android.service.notification.NotificationListenerService" />
0355             </intent-filter>
0356         </service>
0357         <service
0358             android:name="org.kde.kdeconnect.Plugins.SharePlugin.ShareChooserTargetService"
0359             android:exported="true"
0360             android:permission="android.permission.BIND_CHOOSER_TARGET_SERVICE">
0361             <intent-filter>
0362                 <action android:name="android.service.chooser.ChooserTargetService" />
0363             </intent-filter>
0364         </service>
0365         <service
0366             android:name="org.kde.kdeconnect.Plugins.MouseReceiverPlugin.MouseReceiverService"
0367             android:exported="true"
0368             android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
0369             <intent-filter>
0370                 <action android:name="android.accessibilityservice.AccessibilityService" />
0371             </intent-filter>
0372             <meta-data
0373                 android:name="android.accessibilityservice"
0374                 android:resource="@xml/mouse_receiver_service" />
0375         </service>
0376 
0377         <activity
0378             android:name="org.kde.kdeconnect.Plugins.NotificationsPlugin.NotificationFilterActivity"
0379             android:label="@string/title_activity_notification_filter"
0380             android:parentActivityName="org.kde.kdeconnect.UserInterface.PluginSettingsActivity">
0381             <meta-data
0382                 android:name="android.support.PARENT_ACTIVITY"
0383                 android:value="org.kde.kdeconnect.UserInterface.PluginSettingsActivity" />
0384         </activity>
0385 
0386         <activity
0387             android:name="org.kde.kdeconnect.UserInterface.TrustedNetworksActivity"
0388             android:label="@string/trusted_networks"
0389             android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity">
0390             <meta-data
0391                 android:name="android.support.PARENT_ACTIVITY"
0392                 android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
0393         </activity>
0394 
0395         <activity
0396             android:name="org.kde.kdeconnect.UserInterface.About.EasterEggActivity"
0397             android:label="@string/easter_egg"
0398             android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity">
0399             <meta-data
0400                 android:name="android.support.PARENT_ACTIVITY"
0401                 android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
0402         </activity>
0403 
0404         <activity
0405             android:name="org.kde.kdeconnect.UserInterface.About.AboutKDEActivity"
0406             android:label="@string/about_kde"
0407             android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity">
0408             <meta-data
0409                 android:name="android.support.PARENT_ACTIVITY"
0410                 android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
0411         </activity>
0412 
0413         <activity
0414             android:name="org.kde.kdeconnect.UserInterface.About.LicensesActivity"
0415             android:label="@string/licenses"
0416             android:parentActivityName="org.kde.kdeconnect.UserInterface.MainActivity">
0417             <meta-data
0418                 android:name="android.support.PARENT_ACTIVITY"
0419                 android:value="org.kde.kdeconnect.UserInterface.MainActivity" />
0420         </activity>
0421 
0422         <service
0423             android:name="org.kde.kdeconnect.Plugins.ClibpoardPlugin.ClipboardTileService"
0424             android:icon="@drawable/ic_baseline_content_paste_24"
0425             android:exported="true"
0426             android:label="@string/send_clipboard"
0427             android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
0428             <intent-filter>
0429                 <action android:name="android.service.quicksettings.action.QS_TILE" />
0430             </intent-filter>
0431         </service>
0432 
0433         <service android:name="org.kde.kdeconnect.Plugins.RunCommandPlugin.RunCommandControlsProviderService"
0434             android:label="@string/kde_connect"
0435             android:exported="true"
0436             android:permission="android.permission.BIND_CONTROLS">
0437             <intent-filter>
0438                 <action android:name="android.service.controls.ControlsProviderService" />
0439             </intent-filter>
0440         </service>
0441     </application>
0442 
0443 </manifest>