rkkr / simple-keyboard

Apache License 2.0
1.05k stars 225 forks source link

Optional microphone icon for voice typing #133

Open sojusnik opened 4 years ago

sojusnik commented 4 years ago

Since the Google voice recognition is getting better and better, your app would profit from an optional microphone icon (besides the optional icon to switch languages) to comfortably use your voice for typing. At the moment you have to long-click the language icon and then choose voice recognition in the pop-up. A dedicated microphone icon would significantly speed this process up.

Wilker-uwu commented 4 years ago

woudn't this need internet connection or a dictionary to include?

rkkr commented 4 years ago

As I remember originally this just launched the default voice input method. A separate voice input method must be configured.

sojusnik commented 4 years ago

Internet connection is not necessary, since the voice is also processed offline if there is no connection. But the online conversion is a tick better than the offline one. A dictionary isn't necessary too, since it's already working fine, without having an inbuilt dictionary.

My request is just about adding a shortcut on the keyboard itself, to launch the default voice recognition function that is normally installed as a default on Android.

So why another "voice input method" should be necessary here at all?

rkkr commented 4 years ago

That

launch the default voice recognition function that is normally installed as a default on Android

is your "voice input method"

sojusnik commented 4 years ago

@rkkr So my proposal seems to be easily implementable then?

rkkr commented 4 years ago

Doable, but I don't currently intend to work on it. It is available in AOSP keyboard and was removed along other unneeded functionality to reduce the APK size. You could dig thru the history and revert that part if you want to.

sojusnik commented 4 years ago

You could dig thru the history and revert that part if you want to.

I'm afraid I don't have the proper coding knowledge to do that.

Wilker-uwu commented 4 years ago

the solution would be to build a separate repository for that.

in Git, subrepositories can be configured so the code of the main project can work with the code of the voice typing function, and that might allow to just configure the compilation with and without the code.

i don't know how complex or simple that would be, though.

ghost commented 2 years ago

This issue should be closed if this feature won't be getting added to the keyboard. For people who want this feature there is OpenBoard.

rkkr commented 2 years ago

Better keep open as a duplicate will be opened otherwise.

ghost commented 2 years ago

Better keep open as a duplicate will be opened otherwise.

Maybe if information about this is added to the description there might not be any duplicates created.

jcv99 commented 9 months ago

Is it possible now to put a microphone button, as we have now an open source alternative of speech to text? https://gitlab.futo.org/alex/voiceinput