Qwen-Audio-ASR-Message Android SDK

Updated at:

Prerequisites

  1. Obtain and configure an API key. Do not hardcode a long-lived API key in a mobile app. We recommend generating a temporary API key on your application server and sending it to the client.

Install the SDK

  • Download the latest SDK package.

  • Extract the ZIP package. The AAR-format SDK is in the app/libs directory. Add it to your project dependencies.

    For Android C++ integration, use android_libs and android_include from the ZIP package to get the dynamic libraries and header files.

Quick start

Open the project in Android Studio. The sample code is in DashFunAsrSpeechTranscriberActivity.java. Replace the API key to try out the feature.

Use model qwen-audio-3.1-asr-flash-message in the example.

Reference