Stypox / dicio-android

Dicio assistant app for Android
GNU General Public License v3.0
726 stars 69 forks source link

Android voice input #63

Closed d3vv3 closed 2 years ago

d3vv3 commented 2 years ago

On my Lineage OS 18.1 I can set a default assistant app. Once that's set, I would like to set Dicio as voice input, so when I trigger the default assistant by an external source (like my bluetooth headset by pressing a button), it opens and starts listening. Just line I do by mapping a long swipe (it opens Dicio app already listening).

Thanks in advance!

Stypox commented 2 years ago

Which Android version are you using?

I didn't know about that settings option and couldn't find any documentation for it online (my search keywords are not good enough :sweat_smile:)

I had to look at AOSP code but found some information here and here. Will look into it more later. This should be doable :-)

paolo-caroni commented 2 years ago

54 voice input and system STT are the same thing...

There is localSTT and vosk-android-service that try to do the same thing, maybe can be interesting look in their code for inspiration.

Stypox commented 2 years ago

Oh, I didn't understand it was the same thing. Then I'm closing this in favor of #54, but thank you for the information