Eagle requires a valid Picovoice AccessKey
at initialization. AccessKey
acts as your credentials when using Eagle SDKs.
You can get your AccessKey
for free. Make sure to keep your AccessKey
secret.
Signup or Login to Picovoice Console to get your AccessKey
.
Replace "${YOUR_ACCESS_KEY_HERE}"
inside MainActivity.java
with your AccessKey obtained from Picovoice Console.
- Open the project in Android Studio
- Build and run on an installed simulator or a connected Android device
- Press the
ENROLL
button. - Keep talking until
Eagle
has gathered enough audio to enroll a speaker. - Press the
TEST
button to start testing voice recognition. - Repeat from step 1 to test
Eagle
with more speakers.
Ensure you have an Android device connected or simulator running. Then run the following from the terminal:
cd demo/android/EagleDemo
./gradlew connectedAndroidTest -PpvTestingAccessKey="YOUR_ACCESS_KEY_HERE"
The test results are stored in eagle-demo-app/build/reports
.