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

A custom Android playback control running on the 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: 2022-02-01
四川爱创科技有限公司 +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 playback control, which discloses a custom Android playback control running on an Android platform, which solves the problems 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. The control includes: a playback module, which is used to search for the corresponding video locally according to the automatic playlist to play; a resource recovery module, which is used to start a countdown thread while the playback module plays the video, and the countdown thread ends synchronously with the playback of the video , at this time, clear all the holding and status monitoring of this video playback, and set the control itself to null; the automatic playlist module is used to read all video files in the local directory, and create a list, and store all video files The name of the name is added to the list; the size dynamic adjustment module is used to recalculate the obtained length and width and refresh the view size when the setting size of the control is adjusted, thereby changing the size.

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