- Introduction
- Preparing the Environments
- Getting Started
- Sample Code
- Result
- Questions or Issues
- License
The Dynamic Ability SDK is a set of solutions for the Huawei AppGallery to dynamically load features by referring to the App Bundle technology. After integrating the Dynamic Ability SDK, third-party applications can download features from the Huawei AppGallery when necessary, thus reducing network traffic and consumption of terminal storage space. Read more about Dynamic Ability SDK.
Hardware requirements:
- PC
- Huawei mobile phone
Software requirements:
- JDK 1.8 or later
- Android API 21 or later
- Android Studio 3.2 or later. This cases related to this guide run on Android Studio 3.5.
Use Android Studio to open the decompressed project. Create a project and an application in AppGallery Connect.
The Dynamic Ability SDK supports download and install feature, get install state, abort install feature, delay uninstall feature and some other functions.
Sample Code: src\main\java\com\huawei\android\dynamicfeaturesplit\SampleEntry.java
After running the app you should see a screen like this:
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 appgallery.
- 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.
Dynamic Ability Demo is licensed under the Apache License, version 2.0.