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

A method and a device for realizing a user component in an Android system

An implementation method and user's technology, applied in the direction of transmission system, electrical components, etc., can solve the problems of message communication delay and uncertainty, and achieve the effect of ensuring timeliness and accuracy

Active Publication Date: 2019-05-21
WUHAN DOUYU NETWORK TECH CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to overcome the problems of delay and uncertainty in message communication between user components and other components existing in the prior art, the present invention provides a method and device for implementing user components in an Android system

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
  • A method and a device for realizing a user component in an Android system
  • A method and a device for realizing a user component in an Android system
  • A method and a device for realizing a user component in an Android system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0039] Such as figure 1 As shown, it is a schematic flow diagram of an implementation method of a user component in an Android system provided by an embodiment of the present invention, including:

[0040] S1. Obtain user-related information from a server, and persist the user-related information through a SharedPreferences interface;

[0041] S...

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 provides a method and device for realizing a user component in an Android system, and the method comprises the steps: S1, obtaining the related information of a user from a server, and carrying out the persistence processing of the related information of the user through a Shared Preformers interface; And S2, realizing a user information access interface, so that other components ofthe target Android project read the user related information through the user information access interface. Through the design of the user component, the user component can conveniently communicate with other components, the timeliness and accuracy of message communication are ensured, the use efficiency of the user component can be greatly improved, and the execution efficiency of the Android system can be greatly improved.

Description

technical field [0001] The present invention relates to the technical field of Internet development, and more specifically, to a method and device for implementing a user component in an Android system. Background technique [0002] In the process of componentized development of the Android client of the live broadcast platform, the user component is a relatively important module, which is used to provide user-related information to other components. Since the purpose of componentized development is to achieve decoupling between functional modules, all components cannot directly interact with each other. [0003] When other components need to obtain user-related information in the user component, the traditional solution is to implement message communication between the user component and other components through system broadcasting. Due to the defects of delay and uncertainty in the broadcasting method, it will Probabilistic problems that lead to communication failures bet...

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): H04L29/06H04L29/08
Inventor 张磊张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH CO LTD