Skip to content

Sample project to test wakeword sample from github.com/Azure-Samples/cognitive-services-speech-sdk

License

Notifications You must be signed in to change notification settings

vectorform/AzureWakeWord

Repository files navigation

Quickstart: Keyword Recognition in Java on Android

This sample demonstrates how to recognize keywords with Java using the Speech SDK for Android. See the accompanying article on the SDK documentation page which describes how to build this sample from scratch in Android Studio.

Note: this sample is not for the Speech Devices SDK and the Roobo device. If you are looking for further information on these, visit the Speech Devices SDK page.

Prerequisites

  • A PC (Windows, Linux, Mac) capable to run Android Studio.
  • Version 3.1 of Android Studio.
  • Android device or emulator (API 23: Android 6.0 Marshmallow or higher) enabled for development with a working microphone.

Build the sample

Note: more detailed step-by-step instructions are available here.

Run the sample

  • Connect your Android device to your development PC.
  • Press Shift+F10, or select Run > Run 'app'.
  • In the deployment target windows that comes up, pick your Android device.

Note on Android permission handling

Please note that this Speech SDK sample requires the RECORD_AUDIO permissions. As for Android API levels up to 22, requesting the permissions is handled at installation time but from API level 23 users are able to grant/revoke permissions at any time.

Note that this quickstart targets minSdkVersion 23.

References

About

Sample project to test wakeword sample from github.com/Azure-Samples/cognitive-services-speech-sdk

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages