Android Overview

Spokestack can be integrated with Android apps developed in Java and Kotlin.


Integrations by Feature

Add speech recognition, language understanding, and text-to-speech to your Android app with one simple API.

Select a feature you’d like to use to see a minimal configuration using only that feature. Configurations shown here may also be combined; see the individual documentation pages on the left for more information.

Wake WordKeywordASRNLUTTS
val spokestack = Spokestack.Builder()
  .setProperty("wake-filter-path", "path/to/filter.tflite")
  .setProperty("wake-encode-path", "path/to/encode.tflite")
  .setProperty("wake-detect-path", "path/to/detect.tflite")
  .withoutNlu()
  .withoutTts()
  // listener inherits from SpokestackAdapter
  .addListener(listener)
  .build()
spokestack.start()
Kotlin

Spokestack Android SDKs

Spokestack manages voice interactions and delivers actionable user commands with just a few lines of code. To integrate, first decide whether you want to manage the UI yourself or use a drop-in UI widget to display the conversation history.

spokestack-android

Extensible Android mobile voice framework: wakeword, ASR, NLU, and TTS. Easily add voice to any Android app!

484
spokestack-tray-android

A UI component that makes it easy to add voice interaction to your app.

131
For step-by-step instructions on how to use spokestack-android, check out our Getting Started Guide.
For step-by-step instructions on how to use spokestack-tray-android, check out our Android Tray Tutorial.

Related Resources

Want to dive deeper into the world of Android voice integration? We've got a lot to say on the subject: