Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Management method and device for components in Android program

A component management and component technology, which is applied in the direction of program control device, program loading/starting, etc., can solve the problems of low efficiency of Android development, cumbersome operation process, and failure to meet user needs, etc.

Active Publication Date: 2015-07-01
BEIJING QIHOO TECH CO LTD
View PDF2 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, the extension of the function of an Android program depends on the operation of components that can realize specific functions in the plug-in. However, the Android system can only call the components that have been declared in the configuration file of the Android program, that is, the system passes the Android program. The configuration file calls the standard ClassLoader method to load the Class object of the declared component, and then the corresponding component can be run; before the Android program loads the plug-in and runs the component that can realize the specific function in the plug-in, it must first read the configuration file of the Android program. Carry out an overall update and upgrade
This makes the function expansion of the Android program very limited, the plug-in cannot freely customize the Android components, and the Android development presents the disadvantages of inefficiency, complexity, and failure to meet the application requirements; function, but need to download a complete APK to update, the operation process is cumbersome and does not meet user needs

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
  • Management method and device for components in Android program
  • Management method and device for components in Android program
  • Management method and device for components in Android program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0068] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0069] figure 1 A flow chart of a component management method in an Android program is shown according to an embodiment of the present invention. Such as figure 1 As shown, the method includes:

[0070] Step S110, reserve one or more components in the configuration file of the Android program, and declare a process for each reserved component.

[0071] Step S120, declaring in the configuration file of the plug-in of th...

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 management method and device for components in an Android program. The method comprises the steps that one or more components are reserved in a configuration file of the Android program, and one progress is stated for each reserved component; the content of the component used by a plug-in to achieve a specific function is stated in the configuration file of the plug-in of the Android program; when the plug-in needs to run the component for achieving the specific function, an available progress is found out from the progresses stated by the reserved components; the content of the component for achieving the specific function is transmitted to a same type component corresponding to the found-out available progress; the available progress is started to enable the same type component corresponding to the available progress to be run in the progress. According to the technical scheme, free customization of the plug-in on the component is achieved on the premise that an Android main program is not upgraded, the memory usage can be greatly reduced, and therefore the function extension of the Android program is more convenient and fast, efficient and accordant with the application requirements.

Description

technical field [0001] The invention relates to the technical field of mobile terminals, in particular to a component management method and device in an Android program. Background technique [0002] With the rapid development of the Android system, it has become one of the most influential operating systems in the world, and is more and more widely used in mobile terminals such as mobile phones, PADs, and wearable devices, which also creates Android development needs. rapid growth. [0003] In the prior art, the extension of the function of an Android program depends on the operation of components that can realize specific functions in the plug-in. However, the Android system can only call the components that have been declared in the configuration file of the Android program, that is, the system passes the Android program. The configuration file calls the standard ClassLoader method to load the Class object of the declared component, and then the corresponding component 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 Applications(China)
IPC IPC(8): G06F9/445
Inventor 宋照春张炅轩姚彤
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products