Enable SpeechRecognizer API
This has limited testing simply to confirm that it works with my own app which uses the SpeechRecognizer API. The main stumbling block was that it initially refused to startListening due to a lack of RECORD_AUDIO permissions, despite the fact that the permissions were in fact correct. This led to the change in AudioRecognizer where it calls setContext(). Other than that, it's simply wiring things together. Response time is around 3-5 seconds for short pieces of speech e.g. voice commands. That not ideal but is potentially better than having no voice commands.
Please sign our contributor license agreement at https://cla.futo.org
Please sign our contributor license agreement at https://cla.futo.org