- Introduction
- Preparing the Environments
- Getting Started
- Sample Code
- Result
- Question or issues
- License
Helps you improve user experience of your apps by helping you discover and rectify app performance issues.
- A computer with Android Studio installed for app development
- A device or emulator in Android Studio running Android 4.2 or a later version
Before running the apms quickstart app, you need to:
- If you do not have a HUAWEI Developer account, you need to register an account and pass identity verification.
- Use your account to sign in to AppGallery Connect, create an app, and set Package type to APK (Android app).
- Select your project and app in My projects, and go to Quality > APMS to enable the APMS service.
- Select Project Settings,download the agconnect-services.json file from AppGallery Connect and copy the agconnect-services.json file to the app root directory.
The APMS SDK supports collecting performance data automatic and collection switch setting.
Sample code: src\main\java\com\example\quickstart\apmsandroiddemo\MainActivity.java
If you have questions about how to use AppGallery Connect Demos, 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 AppGallery 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.
apms quickstart is licensed under the [Apache License, version 2.0] (http://www.apache.org/licenses/LICENSE-2.0).