Bug 377850

Summary: Add intents for command plugin
Product: [Applications] kdeconnect Reporter: kde
Component: android-applicationAssignee: Albert Vaca Cintora <albertvaka>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: aleixpol, mcamou
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description kde 2017-03-20 18:32:13 UTC
Hi,

It would be useful to be able to call the command plugin (or any plugin, the media player would benefit from that as well) from an external source (e.g. Tasker) with intents, to execute commands on events from Tasker. Example application: run defined command "systemctl suspend" when the phone disconnects from wifi.
Comment 1 Aleix Pol 2017-07-13 23:49:12 UTC
Seems out of scope from KDE Connect.
Note that it's easy to listen to KDE Connect dbus interfaces and build on top of the information offered by the daemon.

An easy way to trigger intents is by sharing URLs.
Comment 2 Mario 2019-11-09 12:33:05 UTC
Sorry for reopening this old issue. I got here by searching for how to trigger a Run Command action from an intent on Android. From my reading, the feature request is related to the Android app, not to the desktop. The proposed solution (using dbus) applies to the desktop application, not to the Android app. I thought that reopening this issue would be better than creating a new issue.

Adding support to the Android app to trigger plugin actions by means of intents would greatly increase the utility of KDE Connect, since actions on the desktop could then be triggered by other apps (for example, as mentioned in the original issue, Tasker).
Comment 3 Mario 2019-11-09 13:06:09 UTC
Sorry again. After some Googling with different keywords I found this: https://nicolasfella.wordpress.com/2018/07/31/kde-connect-new-stuff-ii/. I'm leaving the link here for future Googlers.