Plyer stt not working on my android deviceSee original GitHub issue
I have build a kivy app to android apk with kivy following the example from this source (https://github.com/kivy/plyer/blob/master/examples/speech2text/main.py)
the app is working good by when I click the button the plyer is not showing any output.
As per the following code https://github.com/kivy/plyer/blob/master/plyer/facades/stt.py “after execute
start method you can hear BEEP!” , but I am not able to hear anything even though My device microphone works fine
- Created 2 years ago
- Comments:18 (8 by maintainers)
Top GitHub Comments
yes, i think adding check_permission/ask_permission code in each android plyer module would make sense, the dev can still ask beforehand if they don’t want users to be asked each permission independently.
@nandamtejas I saw your stack exchange answer https://stackoverflow.com/a/67483202/13714716 you seemed to have got the solution but that doesn’t seem to be working in my case even though I had used same buildozer.spec and .py as in the example (https://github.com/kivy/plyer/blob/master/examples/speech2text/main.py), I also tried giving permissions to my app manually and also using runtime permissions but still it didn’t show anything in the text field. While trying to debug the
stt.resultshowed blank list
. Can you share your main.py and buildozer.spec so that I can see whether it works in my case or not…
Now I got the answer whoever has the same problem you can use this repo https://github.com/AM-ash-OR-AM-I/SR/blob/main/main.py that I forked from https://github.com/Abhishek-op/SR basically I added the dialog asking for microphone permission to user…