Unlock instant, AI-driven research and patent intelligence for your innovation.

And operating Android playing control self-defined by Android platform

A technology of Android playback and Android platform, which is applied in electrical components, image communication, selective content distribution, etc. It can solve the problems of long-term playback of Android playback controls, memory usage cannot be released in time, etc., and achieve the effect of reducing the development cycle

Active Publication Date: 2019-12-27
四川爱创科技有限公司 +1
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The technical problem to be solved by the present invention is: to propose a custom Android playback control running on the Android platform, to solve the problem that in the traditional technology, the Android playback control is easy to cause stuck when playing for a long time, and the memory cannot be released in time after the playback is completed.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The present invention aims to propose a custom Android playback control running on the Android platform, which solves the problem in the traditional technology that the Android playback control is easy to freeze when playing for a long time, and the memory occupation cannot be released in time after the playback is completed. Its core idea is: by designing a playback component VedioView inherited from the original Android SDK, and by overriding and adding some logic, to achieve a playback component that can be directly referenced to meet the video playback function requirements in the developer project, relatively Components based on the Android native ecosystem have the following characteristics:

[0029] 1. Integrated autoplay video file list;

[0030] 2. Release resources and recycle memory after each playback is completed;

[0031] 3. The size can be changed dynamically without being affected by the playback state;

[0032] 4. The control object is recreated every...

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 invention relates to the design of a playing control, discloses a customized Android playing control running on an Android platform, and solves the problems that in the prior art, the Android playing control is easily jammed after being played for a long time, and the memory occupation cannot be released in time after the playing is finished. The control comprises a playing module used for locally searching a corresponding video for playing according to an automatic playing list; the resource recovery module is used for starting a countdown thread while the playing module plays the video,the countdown thread and the playing of the video are synchronously finished, at the moment, all ownership and state monitoring of the video playing are emptied, and the control is also set to be null; the automatic playlist module is used for reading all the video files under a local directory, establishing a list and adding names of all the video files into the list; and the size dynamic adjustment module is used for recalculating the acquired length and width and refreshing the view size when the set size of the control is adjusted, so that the size is changed.

Description

technical field [0001] The invention relates to the design of a playback control, in particular to a custom Android playback control running on an Android platform. Background technique [0002] With the promotion of entertainment applications (such as Douyin, Douyu, etc.), video playback is integrated into more and more applications as an important function. In addition to entertainment applications, there are more and more integrated video playback functions on smart vending devices for advertising playback. Different from mobile phone applications, smart vending device applications need to be continuously operated for a long time (perhaps running continuously for several months without exiting the application), so the performance optimization requirements of the application are particularly high, and functional modules that involve memory and resource occupation are required. It can be released automatically in time, otherwise it will cause the application to occupy too ...

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): H04N21/4335H04N21/472H04N21/482H04N21/81
CPCH04N21/4825H04N21/47217H04N21/4335H04N21/8173
Inventor 柳田泽戴德军
Owner 四川爱创科技有限公司