3 Star 4 Fork 1

华为移动服务 / hms-wireless-demo-android

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 2.06 KB
一键复制 编辑 原始数据 按行查看 历史
Mike-mei 提交于 2021-04-28 09:40 . Update to version 5.3.0.311

Wireless Kit Demo

Table of Contents

Introduction

The WirelessTestDemo program demonstrates how to build an Android app providing functions including network QoE perception, network prediction and transmission quality feedback.

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 with the latest version of Huawei Mobile Service(HMS) installed.
  2. Register a HUAWEI account.
  3. Create an app and configure the app information in AppGallery Connect (AGC). See details: HUAWEI Wireless Kit Development Preparation.
  4. To build this demo, please first import the demo in the Android Studio (3.x+).
  5. Configure the sample code: (1) Download the file "agconnect-services.json" of the app on AGC, and add the file to the app root directory(\app) of the demo. (2) Change the value of applicationid in the app-level build.gradle file of the sample project to the package name of your app.
  6. Run the sample on your Android device or simulator .

Supported Environments

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

Procedure

  1. Open the app.
  2. Touch NETWORKQOE. Then refer to Development Guide.
  3. Touch REPORTAPPQUALITY. Then refer to Development Guide.
  4. Touch NETWORKPREDICTION. Then refer to Development Guide.

Result

The sample app enables network QoE perception, signal prediction, and transmission quality feedback.

License

Wireless Service Connection sample is licensed under the: Apache License, version 2.0.

Java
1
https://gitee.com/hms-core/hms-wireless-demo-android.git
git@gitee.com:hms-core/hms-wireless-demo-android.git
hms-core
hms-wireless-demo-android
hms-wireless-demo-android
master

搜索帮助