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

System and method for loading network picture under Android platform

A picture and network technology, applied in special data processing applications, instruments, electrical digital data processing, etc., to achieve the effect of reducing time-consuming problems

Active Publication Date: 2016-05-04
SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF5 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of the deficiencies in the prior art, in order to save network resources and reduce the loading speed of pictures, the purpose of the present invention is to provide a system and method for loading network pictures under the Android platform, mainly combining memory cache and disk cache to Load any number of network image resources, and in the case of bad network conditions, you can easily display the image data that has been cached locally, and further improve the ability of Android to display images efficiently even when the network environment is unstable. a solution

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
  • System and method for loading network picture under Android platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0018] like figure 1 As shown, a system for loading network pictures under the Android platform includes a network module, a memory cache management module, an xml file configuration module, a disk cache management module and a display module, wherein the network module is electrically connected to the memory cache management module and the display module respectively. Communication connection, the memory cache management module, the xml file configuration module, the disk cache management module, and the display module are connected by electrical communication in sequence; the network module is used to access the network address through the Android platform, and the memory cache management module is used to access the network address through the memory cache method The storage network module accesses and loads the network pictures, website information, xml file information, and URL address information. The xml file configuration module is used to configure the network pictures...

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 discloses a system and method for loading a network picture under an Android platform. The system comprises a network module, a memory cache management module, an xml (Extensive Markup Language) file configuration module, a disk cache management module and a display module, wherein the network module is respectively in electrical communication connection with the memory cache management module and the display module; and the memory cache management module, the xml file configuration module, the disk cache management module and the display module are orderly in electrical communication connection. The system and method for loading the network picture under the Android platform provided by the invention use memory cache and disk cache to efficiently display picture data, and a bunch of picture data can be displayed easily and smoothly; besides, loaded pictures can be cached to a memory, and the loaded pictures can also be cached to an internal memory of equipment, therefore, the time-consuming problem due to repeated loading of the same pictures can be effectively reduced.

Description

technical field [0001] The invention relates to the field of application development programs based on the Android platform, in particular to a system and method for loading network pictures under the Android platform. Background technique [0002] The traditional way of loading pictures is to use the multiple parsing methods provided by BitmapFactory to parse the data stream to display the pictures. For example, the pictures in the SD card can use the decodeFile method, and the pictures on the network can use the decodeStream method. Images can use the decodeResource method. These methods will try to allocate memory for the already constructed bitmap, which is prone to memory overflow, so each method will provide a BitmapFactory.Options parameter, and setting the inJustDecodeBounds property of this parameter to true can make the parsing method prohibit the bitmap allocates memory. When displaying high-resolution images on small-sized controls, you can compress image resou...

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): G06F17/30
CPCG06F16/9566
Inventor 刘敏杨郭周迅刘洋池梁岱宗
Owner SICHUAN CHANGHONG ELECTRIC CO LTD