SEPIA-Framework / sepia-docs

Documentation and Wiki for SEPIA. Please post your questions and bug-reports here in the issues section! Thank you :-)
https://sepia-framework.github.io/
236 stars 16 forks source link

sepia-html-client-app: Voice Command Widget #178

Closed SHU-red closed 2 years ago

SHU-red commented 2 years ago

Is your feature request related to a problem? Please describe. If you want to quickly access the sepia voice-command and its not possible to always "block" the microphone for hotword detection etc.

Describe the solution you'd like It could be nice to have a shortcut on the homescreen to directly open sepia app and trigger a voice command?! (I think other apps (Google, Tasker, ...) also have this possibility)

Describe alternatives you've considered

Additional context Nope

fquirin commented 2 years ago

You can actually define SEPIA as default assistant app and use the home button long-press feature to trigger the microphone :-) If you want to keep GA as default and have the option to send custom intents via Nova launcher then this should be android.intent.action.ASSIST or android.intent.action.VOICE_COMMAND. What kind of options are there for "activities"?

SHU-red commented 2 years ago

Nice I tried it out! One disadvantage is, that it does not work to use sepia if I'm not connected to my home network.

At the Activities section of Nova launcher I can just go to Links > Activities > S.E.P.I.A. And choose ".Main activity"

I dont know what this exactly is If I choose it and execute the gesture, the sepia app opens

fquirin commented 2 years ago

Main activity is usually simply the start page of an App so yes, this will only open it. Maybe you can use apps like Automate or Tasker to create something like a homescreen direkt "action.

Unfortunately making a widget is not trivial. I once had some plans to do it but never really had the time to find out what is required and how much effort it is (it seemed more than I hoped).

SHU-red commented 2 years ago

No problem Also for me it's just a "nice to have" feature 😉

SHU-red commented 2 years ago

Done for me