Skip to content

Android examples

The Android sample programs and code snippets are available in sample/android/ in the TrulyNatural installation directory.

See ~/Sensory/TrulyNaturalSDK/7.8.0-pre.0+682.g276c2541e9/sample/android/

New to the Session API? Start with Your first program for the Android wake-word flow, then explore the samples below.

Examples

enroll-trigger
UDT enrollment and phrase spotting.
snsr-debug
Logs recognizer audio and event timing information using the tpl-spot-debug template.
SnsrStreamAudioDeviceAndroid.java
Source for the fromAudioDevice implementation for Android Audio.