vosk-android-demo
vosk-android-demo copied to clipboard
Could I use wake-up word to start recognizing?
How to use the wake-up word?
It seems like this is a privilege of system apps :(
The impact of these changes is as follows:
- Nonsystem apps using the
AlwaysOnHotwordDetectorclass fail to compile against the Android 12 API because the API was removed from the public surface.- Existing system apps using the
AlwaysOnHotwordDetectorclass might be denied from using sound trigger features at runtime. To address this issue and allow these apps to access the microphone through sound trigger, declare theRECORD_AUDIOandCAPTURE_AUDIO_HOTWORDpermissions for these apps.
https://source.android.com/setup/start/android-12-release#alwaysonhotworddetector