Android sample code encapsulates APIs of the HUAWEI WisePlay Kit. It provides sample program for your reference or usage.
Installation
To use functions provided by examples, please make sure Huawei Mobile Service 4.0 has been installed on your cellphone.
Supported Environments
Android SDK Version >= 23 and JDK version >= 1.7 is recommended.
Configurations
No additional configurations needed.
Sample Code
This demo provides demonstration for following scenarios:
1. Obtaining online license. Use MediaDrm API to obtain online license.
2. Obtaining offline license. Use MediaDrm API to obtain offline license.
3. Using offline license. Use MediaDrm API to restore offline license.
4. Deleting offline license. Use MediaDrm API to delete offline license.
License
WisePlay-kit Android sample is licensed under the [Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0).