1
0
mirror of https://github.com/Picovoice/porcupine.git synced 2022-01-28 03:27:53 +03:00
Files
Ian Lavery c6f40c00d6 v2.1 (#645)
2022-01-20 17:59:14 -08:00
..
2020-12-02 07:26:03 -08:00
2022-01-20 17:59:14 -08:00
2020-02-02 12:09:46 -08:00
2021-07-20 11:30:12 -07:00
2021-11-25 10:08:21 -08:00

Android Service Demo

This Android demo runs Porcupine as a background service. You can switch apps or put your phone to sleep and it will continue listening for the wake word ("Computer"). When the wake word is detected, you'll receive a notification message.

AccessKey

All Android demos require a valid Picovoice AccessKey at initialization. AccessKeys act as your credentials when using Porcupine SDKs. You can create your AccessKey for free. Make sure to keep your AccessKey secret.

To obtain your AccessKey:

  1. Login or Signup for a free account on the Picovoice Console.
  2. Once logged in, go to the AccessKey tab to create one or use an existing AccessKey.

Copy your AccessKey into the ACCESS_KEY variable in PorcupineService.java before building the demo.

Usage

Launch the demo on your phone and press the "Start" button.

Say:

"Computer"

When it detects the wake word, it will send a system notification.