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

Method and system for loading remote pictures through controls

A picture and remote technology, applied in the direction of the program control device, etc., can solve the problem of not being able to read the remote picture and so on

Active Publication Date: 2017-07-07
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the image controls in the traditional Andriod system can only display local images, and cannot read and display remote images.

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
  • Method and system for loading remote pictures through controls
  • Method and system for loading remote pictures through controls
  • Method and system for loading remote pictures through controls

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In one embodiment, such as figure 1 As shown, a method of loading remote pictures through the control, the specific process is as follows:

[0025] Step S102, downloading the remote picture file.

[0026] Before step S102, when the control is displayed for the first time, it is possible to draw and wait for a picture to be loaded onto the control. The picture waiting to be loaded can be set in advance, for example, the picture displayed as an hourglass is set as the picture waiting to be loaded. The picture waiting to be loaded is displayed on the control, prompting the user that the picture is waiting to be loaded at this time.

[0027] In step S102, an asynchronous task is started to download remote picture files. In a preferred embodiment, before downloading the remote picture file, the asynchronous task first judges whether to use the local cache, that is, judges whether to use the picture file in the local cache, if so, then further judges whether the picture fi...

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

A method for loading a remote picture through a control, comprising the following steps: downloading a remote picture file; decoding the remote picture file to read picture data; drawing a picture on the control according to the picture data. By adopting the method, the remote picture can be read and displayed on the user interface on the mobile terminal of the Android system. In addition, a system for loading remote pictures through controls is also provided.

Description

[0001] 【Technical field】 [0002] The invention relates to a mobile operating system, in particular to a method and system for loading remote pictures through controls. [0003] 【Background technique】 [0004] Android is the name of an open source mobile phone operating system based on the Linux platform, which consists of an operating system, middleware, user interface and application software. The image control is a commonly used control in UI (User Interface, user interface) controls. For example, the image display control ImageView used to display images in the Android platform can display local images on the user interface. However, the picture controls in the traditional Andriod system can only display local pictures, and cannot read and display remote pictures. [0005] 【Content of invention】 [0006] Based on this, it is necessary to provide a method for loading remote pictures through controls that can display remote pictures on a user interface. [0007] A method f...

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): G06F9/44
Inventor 万鑫
Owner TENCENT TECH (SHENZHEN) CO LTD