dicio-android icon indicating copy to clipboard operation
dicio-android copied to clipboard

Feature request: Implement action on Google

Open paolo-caroni opened this issue 1 year ago • 5 comments

Probably is stupid, but it seems to me that Google Assistant have a sort of API to interact with other app. See: https://github.com/actions-on-google And https://developer.android.com/develop/devices/assistant/test-tool Would be possible to implement such actions/intents on dicio? This would make possible to send a message on WhatsApp directly from dicio for example.

paolo-caroni avatar Oct 02 '24 21:10 paolo-caroni

This feature would also be nice for Signal.

Handrail9 avatar Oct 03 '24 01:10 Handrail9

For just sending messages, presumably Dicio could make a Create Message intent. Apps can declare all sorts of intents in their shortcuts.xml, and in future it would go a long way to support those intents more thoroughly. There is a list of built-in intent types, they would probably be the most valuable ones to implement, and it should also be possible to parse the query patterns for custom intent types to support other types of intent.

IFcoltransG avatar Feb 08 '25 09:02 IFcoltransG

I remember reading that App Actions were restricted to system apps, but apparently it might be possible to read shortcuts.xml, though with several limitations unless Dicio becomes a launcher app

Stypox avatar Feb 26 '25 16:02 Stypox

The article does also mention that a Voice Interaction Service is an alternative to being a launcher, for getting the full hasShortcutHostPermission. Is that feasible for Dicio, or was this functionality restricted along with watchword detection?

IFcoltransG avatar Feb 28 '25 02:02 IFcoltransG

Oh, thanks! I found an example implementation of VoiceInteractionService here and maybe it can be used

Stypox avatar Feb 28 '25 09:02 Stypox