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

System and method for loading network pictures under android platform

A picture and network technology, applied in the field of application development programs, to reduce time-consuming problems

Active Publication Date: 2019-02-12
SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF5 Cites 0 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 pictures under android platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0018] Such as figure 1 Shown, a kind of system that loads network picture under Android platform, comprises network module, memory cache management module, xml file configuration module, disk cache management module and display module, and described network module is connected with memory cache management module, display module respectively Communication connection, memory cache management module, xml file configuration module, disk cache management module, and display module are connected by electrical communication in turn; the network module is used to access the network address through the Android platform, and the memory cache management module is used to pass the memory cache mode The network image, website information, xml file information, and URL address information obtained by storing the network module to access and load, the xml file configuration module is used to configure the network image, website information, xml file information, and URL address information o...

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 on the Android platform. Background technique [0002] The traditional way to load pictures is to use multiple analysis methods provided by BitmapFactory to analyze 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 bitmap that has been built, and memory overflow will easily occur at this time, so each method will provide a BitmapFactory.Options parameter, and setting the inJustDecodeBounds property of this parameter to true can prevent the parsing method from being bitmap allocates memory. When displaying high-resolution images on small-sized controls, image resources c...

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