hms-panorama-demo
hms-panorama-demo copied to clipboard
This sample code provides guidance for developers to integrate the Panoramic Kit and call its functions. It can display images and videos in multiple panoramic modes.
HMS Panorama Kit Demo
English | 中文
Table of Contents
- Introduction
- Installation
- Configuration
- Supported Environments
- Sample Code
- License
Introduction
The PanoramaKitDemo app demonstrates three samples to call the panorama view. Read more about HMS Panorama Kit.
Installation
Before using PanoramaKitDemo sample code, check whether the AndroidStudio environment has been installed. Decompress the PanoramaKitDemo package. Import the demo project in AndroidStudio.
Supported Environments
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
Configuration
No configuration required
Sample Code
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.
Question or issues
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.
License
PanoramaKitDemo is licensed under the Apache License, version 2.0.