5 Star 3 Fork 0

华为移动服务 / hms-image-render-kotlin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0

华为图像服务场景动效Kotlin示例代码

English | 中文

目录

简介

场景动效服务提供基础动效和高级动效,帮助您实现图片内容高效再生产。本示例代码对华为图像服务场景动效接口进行封装,包含丰富的示例程序,方便您参考或直接使用。

  1. 提供5种基础动效,并支持多动效叠加使用。

  2. 提供9种效果炫酷的高级动效,并支持用户交互。

更多信息请参见场景动效xml规范说明文档.

开发准备

  1. 检查Android Studio开发环境是否就绪。将示例工程导入Android Studio(3.0及以上版本)中。
  2. 在Android Studio中打开示例工程项目级build.gradle文件,并在您已安装最新版华为移动服务的设备或模拟器上运行测试应用。
  3. 注册华为帐号
  4. 创建应用并在AppGallery Connect中配置相关信息。具体请参考开发准备
  5. 在Android设备或模拟器上运行您的应用。

环境要求

  • Android Studio 3.0及以上

  • JDK 1.8及以上

  • Android SDK 26及以上

  • Gradle 3.3.2

  • HMS Core (APK) 4.0.2.300及以上(仅依赖SDK情况下需要满足此要求,fallback-SDK无此要求)

运行结果

技术支持

如果您对HMS Core还处于评估阶段,可在Reddit社区获取关于HMS Core的最新讯息,并与其他开发者交流见解。

如果您对使用HMS示例代码有疑问,请尝试:

  • 开发过程遇到问题上Stack Overflow,在huawei-mobile-services标签下提问,有华为研发专家在线一对一解决您的问题。
  • 华为开发者论坛 HMS Core板块与其他开发者进行交流。

如果您在尝试示例代码中遇到问题,请向仓库提交issue,也欢迎您提交Pull Request

授权许可

场景动效Java示例代码经过Apache License, version 2.0授权许可。

## HUAWEI Image Kit Render Sample for Kotlin English | [中文](README_ZH.md) ## Table of Contents * [Introduction](#introduction) * [Getting Started](#getting-started) * [Supported Environments](#supported-environments) * [Result](#result) * [License](#license) ## 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](https://developer.huawei.com/consumer/en/doc/development/Media-Guides/xml-introduction-0000001050439245?ha_source=hms1). ## 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](https://developer.huawei.com/consumer/en/). 3. Create an app and configure the app information in AppGallery Connect. See details: [HUAWEI Image Service Development Preparation](https://developer.huawei.com/consumer/en/doc/development/Media-Guides/config-agc-0000001050199019?ha_source=hms1) 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 <img src=render.gif width = 30% height = 30%> ## License ImageRenderSample is licensed under the [Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0).

简介

华为图像服务场景动效Kotlin示例代码, 提供5种基础动效和9种高级动效,帮助实现图片内容高效再生产。 展开 收起
Kotlin
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Kotlin
1
https://gitee.com/hms-core/hms-image-render-kotlin.git
git@gitee.com:hms-core/hms-image-render-kotlin.git
hms-core
hms-image-render-kotlin
hms-image-render-kotlin
master

搜索帮助