Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I implement this into my android keyboard? #195

Open
dessalines opened this issue Sep 24, 2023 · 3 comments
Open

How can I implement this into my android keyboard? #195

dessalines opened this issue Sep 24, 2023 · 3 comments

Comments

@dessalines
Copy link

dessalines commented Sep 24, 2023

Hi, I'm the creator of a custom android keyboard called thumb-key, and I'd love to implement this into the keyboard.

IE, have a button that loads the dicio speech to text activity, and then sends its results back to the keyboard (to fill in the current text box).

Can anyone help me figure out this flow?

@dessalines dessalines changed the title How can I implement this into my android keyboard How can I implement this into my android keyboard? Sep 24, 2023
@Stypox
Copy link
Owner

Stypox commented Sep 24, 2023

Hi! You basically just need to use the standard Android intent RecognizerIntent.ACTION_RECOGNIZE_SPEECH, see the documentation here. Let me know if it works.

@dessalines
Copy link
Author

dessalines commented Sep 25, 2023

That's using the system's built in recognizer tho, which is always google's. I want to use dicio-android to recognize the speech.

Does dicio have an intent that I can open and receive data from?

@Stypox
Copy link
Owner

Stypox commented Sep 25, 2023

That's the intent Dicio reacts to. Currently the user is unable to set dicio as the system default voice assist due to #126, but you can try manually setting the package of the intent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants