Skip to content

This sample code is to guide the developer how to integrate the Image Render Sub-service in the Image Kit, achieving a variety of effects design. This sub-service provides 5 basic animations and 9 advanced 2D animations.

License

Notifications You must be signed in to change notification settings

HMS-Core/hms-image-render-java

Repository files navigation

HUAWEI Image Kit Render Sample for Java

English | 中文

Table of Contents

Introduction

The Image Render service provides basic and advanced animation effects to help you reproduce image contents in an efficient way. This sample code encapsulates APIs of the HUAWEI Image Kit Render Service, it provides a sample programs for your reference or usage.

  1. Supports five basic animations and any of their combination.

  2. Provides nine advanced animation effects, bringing more fun to user interactions.

For details, please refer to XML Syntax Specifications for Image Render.

Getting Started

  1. Check whether the Android studio development environment is ready. Open the sample code project directory with file "build.gradle" in Android Studio. Run TestApp on your divice or simulator which have installed latest Huawei Mobile Service(HMS).
  2. Register a HUAWEI account.
  3. Create an app and configure the app information in AppGallery Connect. See details: HUAWEI Image Service Development Preparation
  4. To build this demo, please first import the demo in the Android Studio (3.x+).
  5. Run the sample on your Android device or emulator.

Supported Environments

  • Android Studio 3.0 or later.

  • Java SDK 1.8 or later.

  • Android SDK version is 26 or later.

  • Gradle 3.3.2.

  • HMS Core (APK) 4.0.2.300 or later(applicable to the SDK, but not the fallback-SDK).

Result

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

ImageRenderSample is licensed under the Apache License, version 2.0.

About

This sample code is to guide the developer how to integrate the Image Render Sub-service in the Image Kit, achieving a variety of effects design. This sub-service provides 5 basic animations and 9 advanced 2D animations.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages