PocketSphinx for Android conflicts with google speech recognition

541 Views Asked by At

I have implemented the pocketsphinx keyword spotting tool in my app and have it running in a sticky service. Keyword spot works great! The problem is that i can no longer use anything related to google speech while it's running (navigation, camera, video, speech to text). Does anybody have any suggestions on how to make them play nicely together?

Or even some kind of receiver for anything related to google speech so that I know to cancel sphinx?

1

There are 1 best solutions below

0
On

Android to date doesn't provide any way to arbitrate microphone access.

See for details https://code.google.com/p/android/issues/detail?id=61643

You can stop the recognizer in onStop when activity stops.