Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Android custom animation implementation method, device, storage medium and terminal

A technology of Android system and implementation method, which is applied in the direction of instrumentation, electrical digital data processing, calculation, etc., can solve problems such as a large amount of manpower and material cost, complex construction process, and limitation of animation types

Inactive Publication Date: 2018-11-13
WUHAN DOUYU NETWORK TECH CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the development process of Android software, we usually use the design of animation effects. However, the development and use process of animation effects in the development process of Android software is very complicated, and it needs to go through many steps in the process of animation design and development. Realization of animation effects, that is to say, in traditional solutions, a lot of manpower and material costs will be spent in order to achieve animation effects, resulting in low development efficiency
[0003] The existing technology is to directly construct the entire animation logic by using the animation class API (Application Programming Interface, application programming interface) provided in the Android system. Several animation types, which makes the animation type too limited

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Android custom animation implementation method, device, storage medium and terminal
  • Android custom animation implementation method, device, storage medium and terminal
  • Android custom animation implementation method, device, storage medium and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035] figure 1 It is a flow chart of the implementation method of the Android system custom animation provided by Embodiment 1 of the present invention. This embodiment is applicable to the realization of the custom animation type, and the method can be implemented by the implementation device of the custom animation provided by the embodiment of the present invention. To execute, the device may be implemented by software and / or hardware, and may be integrated into the terminal.

[0036] Such as figure 1 As shown, the implementation method of the Android system custom animation includes:

[0037] S110. Acquire an animation type; wherein, the animation type includes: a displacement animation type, a scaling animation type, a rotation animation type, and a transparency animation type; the animation type further includes: a custom animation type.

[0038] Among them, the displacement animation type, scaling animation type, rotation animation type and transparency animation typ...

Embodiment 2

[0086] Embodiment 2 is a preferred embodiment provided by the present invention. In order to enable those skilled in the art to understand the technical solutions provided by the embodiments of the present invention more clearly, on the basis of the above embodiments, this preferred embodiment provides the following manners of the solutions.

[0087] The specific animation implementation method is as follows:

[0088] First define a Handler object mHandler, where the Handler class is a class used for information transmission between the sub-thread and the main thread in the Android system. The specific definition method is as follows:

[0089]

[0090] When defining the mHandler object, the @Override keyword is used to override the handleMessage method in the system Handler object. This overridden handleMessage method will process the message accordingly to achieve the display of animation effects.

[0091] In the start animation function startAnim, first send an empty mes...

Embodiment 3

[0104] figure 2 It is a schematic structural diagram of a device for implementing a custom animation provided in Embodiment 3 of the present invention. Such as figure 2 As shown, the implementation means of the custom animation includes:

[0105] The animation type acquiring module 210 is used to acquire the animation type; wherein, the animation type includes: displacement animation type, scaling animation type, rotation animation type and transparency animation type; the animation type also includes: custom animation type;

[0106] The custom animation execution module 220 is configured to execute the custom animation type by calling a predefined animation start function when the animation type is a custom animation type;

[0107] The animation effect realization module 230 is configured to realize the animation effect of the custom animation type by acquiring change information of the animation view.

[0108]The technical solution provided by the embodiment of the pres...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses an Android custom animation implementation method, a device, a storage medium and a terminal. The method includes the steps of: acquiring an animation type; wherein the animation type comprises: a displacement animation type, a zoom animation type, a rotation animation type, and a transparency animation type; the animation type further includes: a custom animation type; when the animation type is customized, the custom animation type is executed by calling a predefined animation start function; and the animation effect of the custom animation type is realized by acquiring the change information of the animation view. By adopting the technical solution, the animation type in the Android system can be extended in the Android system by implementing the custom animation type, so as to avoid the problem that the existing animation types are limited to the fixed types of animation provided by Android system.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of animation realization, and in particular to a method, device, storage medium and terminal for realizing custom animation of an Android system. Background technique [0002] In the development process of Android software, we usually use the design of animation effects. However, the development and use process of animation effects in the development process of Android software is very complicated, and it needs to go through many steps in the process of animation design and development. The realization of the animation effect, that is to say, in the traditional solution, a lot of manpower and material costs will be spent to realize the animation effect, resulting in low development efficiency. [0003] The existing technology is to directly construct the entire animation logic by using the animation class API (Application Programming Interface, application programming interface) provide...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/38
CPCG06F8/38
Inventor 张磊张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products