English | 中文
The PanoramaKitDemo app demonstrates three samples to call the panorama view. Read more about HMS Panorama Kit.
Before using PanoramaKitDemo sample code, check whether the AndroidStudio environment has been installed. Decompress the PanoramaKitDemo package. Import the demo project in AndroidStudio.
AndroidStuido 3.5.0 or a later version is recommended. Java SDK 1.7 or later Huawei Mobile Services (APK) 4.0.0.300 or later HMS SDK 4.0.0.300 or later Android 5.0 or later
No configuration required
PanoramaKitDemo sample code uses three buttons in MainActivity represent calls to three api.
Sample1: Load a panorama image without a specified panorama type.
Sample2: Load a panorama image with a specified panorama type.
Sample3: Start an activity, which shows how to call panorama image display using the PanoramaLocalInterface.
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.
PanoramaKitDemo is licensed under the Apache License, version 2.0.