Skip to main content

Qwen-Audio-ASR-Streaming Android SDK

Prerequisites

  1. Obtain and configure an API Key. Do not hard-code long-term API Keys in mobile apps. It is recommended that the app server generate a temporary API Key and then deliver it to the client.

Install the SDK

  • Download the latest SDK integration package.
  • Extract the ZIP package. Obtain the SDK in AAR format from the app/libs directory and add it to the project dependencies. If you need Android CPP integration, use android_libs and android_include in the ZIP package to obtain the dynamic libraries and header files.

QuickStart

Open the project in Android Studio. The sample code is in DashFunAsrSpeechTranscriberActivity.java. Replace the API Key to try the features. Use model qwen-audio-3.1-asr-flash-streaming in the example.

Reference