connectivity-samples
connectivity-samples copied to clipboard
Nearby blocks Voice Recognition Intents while listening to messages
We are experimenting the following issue with nearby. When the application launches we subscribe for Nearby Messages, which is working fine. But when I try to launch the Speech Recognition Intent it opens but it cannot use the microphone (which it makes sense since it's being used by the Nearby API).
A fix for this was to disconnect/unsubscribe but some times it takes more time to do so (from 5 to 10 seconds) so the Speech Intent keeps failing until Nearby release the microphone.
Is there any way to just release the microphone without doing the disconnect/unsubscribe?
Have you been able to resolve the issue you encountered? If not might you be able to clarify?
- The specific project that pertains to the issue (for example: the 'BluetoothLeGatt' project)
- Steps to repro the issue, the API version and Android device model
- If the issue is not about a sample, would you please file on Stackoverflow or the issue tracker and we will take a look there?
- Please include code snippets as appropriate