Rhino - Android Quick Start
Requirements
- Android Studio
- Android device with USB debugging enabled
Cloning the Repository
Clone the repository using
git clone --recursive https://github.com/Picovoice/rhino.git
Running Demo Applications
There are two demo applications in the repository. The Activity demo is intended for applications that need to perform voice recognition when in focus. The Service demo is intended for applications that need to do voice recognition and for an extended period of time.
Activity Demo
- From Android studio open the project under demo/android/Activity.
- Build the project.
- Run/Debug on your Android device.
- After the application is loaded press start and the engine can recognize commands such as "turn off the lights" or "set the lights in the bedroom to blue". For the complete set of available commands refer to the documentation on GitHub.
Service Demo
- From Android studio open the project under demo/android/Service.
- Build the project.
- Run/Debug on your Android device.
- After the application is loaded press the start button. Now you may navigate away from the application or even lock your android device. The application keeps listening to the utterances of "Picovoice".
- The application makes a beep sound each time the wake phrase is detected.
- After the wake phrase is detected, the speech-to-intent engine can recognize commands such as "turn off the lights" or "set the lights in the bedroom to blue". For the complete set of available commands refer to the documentation on GitHub.
Custom Context
You can create custom Rhino context models using Picovoice Console.