DevEmperor / Dictate

A powerful Whisper AI keyboard for reliable speech transcription
https://play.google.com/store/apps/details?id=net.devemperor.dictate
Apache License 2.0
11 stars 3 forks source link

App-dependent keyboard choice #1

Open AlexD97 opened 1 month ago

AlexD97 commented 1 month ago

In the app there is the button for changing the keyboard to the other default one. Now is it possible to add the option that the keyboard is chosen according to a list, i.e. in the browser or in Google search I want to have a keyboard where I type, but in my messaging apps I want to dictate?

DevEmperor commented 1 month ago

Hey, thanks for your feedback. Unfortunately, I didn't understand exactly what your suggestion was. When you click on the switch button, the "normal" keyboard opens as you wanted it to. Or do you want it so that you can then select a keyboard from the list when the switch button is pressed? :)

AlexD97 commented 1 month ago

Sorry for the unclear explanation. The idea is that you can choose the default keyboard depending on the app, so for example if you are in WhatsApp, the default keyboard is Dictate and if you are in the browser, the default keyboard is Gboard.

DevEmperor commented 1 month ago

Actually, this would be a setting that would have to be made in the Android system settings, which to my knowledge is not possible. What I could potentially implement is a function for the Dictate keyboard itself, that when set as the default, it would switch to another keyboard directly upon opening certain applications. Would that be helpful?

AlexD97 commented 1 month ago

Yeah, I think that would be very helpful!

DevEmperor commented 1 month ago

Hey, I've been doing some research over the last few days and unfortunately the feature is hardly feasible. There is no reliable interface to change the keyboard when Dictate is opened in another app. I can only switch to the previous keyboard, which then opens as the keyboard in all apps. From there you would have to switch back to Dictate manually. Unfortunately, that doesn't make sense. Android or your smartphone manufacturer would have to add this as a function in the system, unfortunately there's nothing I can do about that. 🥲

AlexD97 commented 1 month ago

Thanks for doing the research! However, did you have a look at the app "Key Mapper"? I use this app to switch autmatically the default keyboard app when attaching a physical keyboard to my tablet.

DevEmperor commented 1 month ago

From what I've seen of the Key Mapper app so far, it uses root access to the mobile phone to switch the keyboard. Or have I misunderstood something? In general, I haven't really understood how this app is supposed to help with this problem. :)

AlexD97 commented 1 month ago

My tablet doesn't have root access, so Key Mapper works without it. I think it works with using accessibility. The point is that Key Mapper is able to switch the default keyboard (in the background).

DevEmperor commented 1 month ago

Okay, I will take a look at the accessibility settings, maybe I'll find something to work with there. :)