The WirelessTestDemo program demonstrates how to build an Android app providing functions including network QoE perception, network prediction and transmission quality feedback.
- 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.
- Register a HUAWEI account.
- Create an app and configure the app information in AppGallery Connect (AGC). See details: HUAWEI Wireless Kit Development Preparation.
- To build this demo, please first import the demo in the Android Studio (3.x+).
- 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.
- Run the sample on your Android device or simulator .
Android SDK Version >= 21 and JDK version >= 1.8 is recommended.
- Open the app.
- Touch NETWORKQOE. Then refer to Development Guide.
- Touch REPORTAPPQUALITY. Then refer to Development Guide.
- Touch NETWORKPREDICTION. Then refer to Development Guide.
The sample app enables network QoE perception, signal prediction, and transmission quality feedback.
If you want to evaluate more about HMS Core, r/HMSCore on Reddit is for you to keep up with latest news about HMS Core, and to exchange insights with other developers.
If you have questions about how to use HMS samples, try the following options:
- Stack Overflow is the best place for any programming questions. Be sure to tag your question with
huawei-mobile-services
. - Huawei Developer Forum HMS Core Module is great for general questions, or seeking recommendations and opinions.
If you run into a bug in our samples, please submit an issue to the Repository. Even better you can submit a Pull Request with a fix.
Wireless Service Connection sample is licensed under the: Apache License, version 2.0.