Possible to trigger Gboard's voice-typing directly?

Post your questions and help other users.

Moderator: Martin

Post Reply
Coldblackice
Posts: 4
Joined: 25 Jan 2020 23:39

Possible to trigger Gboard's voice-typing directly?

Post by Coldblackice » 18 Apr 2020 00:43

Would it be possible to trigger/call Gboard's voice-typing functionality directly, without having to switch your input keyboard to Gboard? I'd like to be able to continue using SwiftKey as my default keyboard but being able to use Gboard's voice-typing quickly when needed.

Background:

I just discovered some real world wizardry after using Gboard's voice-typing: it's lightning fast, highly accurate, and it doesn't break transcription if you hesitate longer than 5ms (/s). However, Gboard's manual keyboard can't compete with SwiftKey's, unfortunately. So I'm wondering if it'd be possible to trigger Gboard's voice-typing ability/function without having to switch keyboards.

The ideal would be if it was possible to hook SwiftKey's keyboard button which calls Google's standard/default voice-typing ability (which has become horrifically slow + inaccurate for me) which pops up as a screen overlay. I'm assuming this probably is not possible, at least as far as hooking SwiftKey's microphone button, but perhaps there's a way to hook or redirect Android OS calls to the voice-typing function and instead route them to Gboard's voice typing. Though I wager Gboard's voice-typing function probably isn't set up with that sort of call/capability.

If those are the case, I'm wondering if it'd be possible to trigger Gboard's voice-typing function directly, without having to switch to Gboard as your keyboard. Perhaps some sort of Gboard activity call or intent that could be scripted or bound?

SwiftKey's manual keyboard still takes the cake as far as word prediction + autocorrect, and its gesture-actions are better too (up-swipe to change caps, back-swipe to delete previous word, down-swipe to drop keyboard).

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Possible to trigger Gboard's voice-typing directly?

Post by Desmanto » 19 Apr 2020 15:40

I don't use Gboard. AFAIK, it is not possible. App need to be changed to default input before they can provide input related feature. But if you only need the wording, you can try to use Action Input Speech. But this doesn't provide you realtime input, and might stop if you paused.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

User avatar
Hit
Posts: 91
Joined: 20 Jan 2020 11:31

Re: Possible to trigger Gboard's voice-typing directly?

Post by Hit » 13 May 2020 11:13

Coldblackice wrote:
18 Apr 2020 00:43
Would it be possible to trigger/call Gboard's voice-typing functionality directly, without having to switch your input keyboard to Gboard? I'd like to be able to continue using SwiftKey as my default keyboard but being able to use Gboard's voice-typing quickly when needed.

Background:

I just discovered some real world wizardry after using Gboard's voice-typing: it's lightning fast, highly accurate, and it doesn't break transcription if you hesitate longer than 5ms (/s). However, Gboard's manual keyboard can't compete with SwiftKey's, unfortunately. So I'm wondering if it'd be possible to trigger Gboard's voice-typing ability/function without having to switch keyboards.

The ideal would be if it was possible to hook SwiftKey's keyboard button which calls Google's standard/default voice-typing ability (which has become horrifically slow + inaccurate for me) which pops up as a screen overlay. I'm assuming this probably is not possible, at least as far as hooking SwiftKey's microphone button, but perhaps there's a way to hook or redirect Android OS calls to the voice-typing function and instead route them to Gboard's voice typing. Though I wager Gboard's voice-typing function probably isn't set up with that sort of call/capability.

If those are the case, I'm wondering if it'd be possible to trigger Gboard's voice-typing function directly, without having to switch to Gboard as your keyboard. Perhaps some sort of Gboard activity call or intent that could be scripted or bound?

SwiftKey's manual keyboard still takes the cake as far as word prediction + autocorrect, and its gesture-actions are better too (up-swipe to change caps, back-swipe to delete previous word, down-swipe to drop keyboard).
Is Gboard voice typing better than Google voice typing?

Post Reply