6 Star 14 Fork 6

华为移动服务 / hms-audio-demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 1.77 KB
一键复制 编辑 原始数据 按行查看 历史
xuxiapu 提交于 2023-04-26 10:18 . Update README

Audio Kit

Table of Contents

Introduction

AudioKit Android sample code encapsulates APIs of the HUAWEI Audio Kit. It provides many sample programs for your reference or usage. The following describes packages of Android sample code.

HwAudioPlayerManager:Manages playback operations such as play, pause, skip back, skip next, stop, and drag the progress bar. HwAudioPlayItem:An audio data class. The data includes the album name, artist, whether an audio is online, and others. HwAudioQueueManager:Manages audio queues, for example, deletes a specified audio from a queue (playlist).

Getting Started

  1. Check whether the Android studio development environment is ready. Open the sample code project directory with file "build.gradle" in Android Studio. Run TestApp on your divice or simulator which have installed latest Huawei Mobile Service(HMS).
  2. Register a HUAWEI account.
  3. Create an app and configure the app information in AppGallery Connect. See details: HUAWEI Audio Service Development Preparation
  4. To build this demo, please first import the demo in the Android Studio (3.x+).
  5. Run the sample on your Android device or emulator.

Supported Environments

Android SDK Version >= 19 and JDK version >= 1.8 is recommended.

Result

License

AudioKitDemo is licensed under the [Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0).
Java
1
https://gitee.com/hms-core/hms-audio-demo.git
git@gitee.com:hms-core/hms-audio-demo.git
hms-core
hms-audio-demo
hms-audio-demo
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891