This sample code encapsulates APIs of the HMS Kit server. It provides sample program for your reference or usage. The following describes of sample code.
payservice: Sample code packages. This package contains code that implements the RSA signature and signature verification methods.
To use functions provided by examples, please make sure that the JDK environment has been installed.
JDK 8.0 or later is recommended.
No configuration
The payment demo contains the following Java files:
- Base64.java: provides the Base64 encoding method.
- RSA.java: provides RSA signature and signature verification methods.
- ResultDomain.java: entity class involved in the demo
- CallbackDemo.java: callback example class
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.
HUAWEI In-App Purchases(IAP) Severdemo for VR is licensed under the Apache License, version 2.0.