Cobra VAD — Android Quick Start
- Android (5.0+)
- Picovoice Account and AccessKey
- Android Studio
- Android device with USB debugging enabled or Android simulator
Picovoice Account & AccessKey
Signup or Login to Picovoice Console to get your
Make sure to keep your
Install Android Studio.
mavenCentral()repository in the top-level
build.gradle. Then add the following to the app's
- Add the following to the app's
AndroidManifest.xmlfile to enable recording with an Android device's microphone:
Create an instance of the Cobra VAD engine:
Pass in frames of audio to the
Release resources explicitly when done with Cobra:
For the Cobra Android SDK, we offer demo applications that demonstrate how to use the VAD engine on real-time audio streams (i.e. microphone input).
Clone the Repository
Open the Android Activity demo using Android Studio.
Run the application using a connected Android device or using an Android simulator.
For more information on our Cobra demos for Android, head over to our Github repository.