Expansion developing method and device for Android custom control

A custom and file technology, applied in the direction of program control devices, etc., can solve the problems of low efficiency, inflexibility and poor portability of extension development methods, and achieve the effect of improving efficiency and flexibility

Active Publication Date: 2014-01-29
TCL CORPORATION
View PDF3 Cites 43 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to provide an extended development method and device for an Android custom control in view of the above-mentioned defects of the prior art, aiming at solving the need for a large number of modifications to the Android custom control in the prior art when developing the extension. The source code in the framework is recompiled to generate the entire new framework layer content, which has poor portability and poor reproducibility, which makes the extended development method of Android custom controls inefficient and not flexible enough

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
  • Expansion developing method and device for Android custom control
  • Expansion developing method and device for Android custom control
  • Expansion developing method and device for Android custom control

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047]The present invention provides an extended development method and device for Android custom controls. In order to make the purpose, technical solutions and advantages of the present invention clearer and clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0048] For existing technologies, custom control development is carried out by directly modifying the source code framework layer. This development method relies too much on source code and cannot be reused. Obviously, it is not suitable for large-scale team collaboration development. The invention provides a plug-in-based Android control extension development method, which uses the Android framework and plug-in integration to generate a corresponding Android custom control plug-in package, ...

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 an expansion developing method and device for an Android custom control. The method comprises the steps that a custom control source code is encoded to generate a custom control source code package; image resources are added and a system view data package is generated; a corresponding custom control plug-in package is generated according to the custom control source code package and the system view resource package. When a simulator is started, system configuration definition is conducted through a system initialing configuration file, and a custom control source code package in a simulator mirror image file is loaded; when a Java virtual machine of an Android platform is started, the system view resource package in the simulator mirror image file is pre-loaded; an application installing package runs, the custom control source code is called, image resources are read, and the developing of the custom control is accomplished. All resources in the custom control can be called when an application package is analyzed, and therefore the efficiency and flexibility of Android custom control expansion development are improved.

Description

technical field [0001] The present invention relates to the field of development of Android custom controls, in particular to an extended development method and device for Android custom controls. Background technique [0002] Based on Android (android) deep customization system, whether it is MIUI or Smartisan OS and other systems, a lot of effort has been made on UI. As the most intuitive and most direct factor affecting user experience, UI interface design often needs to be constantly changed and quickly put into the development team used in . The current method is to directly modify the source code framework layer for custom control development. This development method that relies too much on the source code and cannot be reused is obviously not conducive to large-scale team collaborative development. This development method is inefficient. And it is very inflexible, which brings great inconvenience to developers. [0003] Therefore, the prior art still needs to be imp...

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/44
Inventor 田静吕华
Owner TCL CORPORATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products