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

A method and apparatus for Android plug-in development

A plug-in and installation package technology, applied in the computer field, can solve problems such as blocking APP compilation, slow running efficiency, and affecting development efficiency, so as to reduce the probability of compilation errors, reduce the difficulty of implementation, and improve the compilation speed.

Inactive Publication Date: 2019-03-29
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF2 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] (1) Centralized management of source code leads to an overly large code base, high degree of code coupling, slow update, high probability of compilation errors, and a module error blocks the entire APP compilation, seriously affecting development efficiency;
[0010] (2) The overall compilation speed is slow, especially on the Windows platform. The Android development tool itself is based on the JAVA (an object-oriented programming language) virtual machine platform, and the operating efficiency is slow. Then compile and run huge codes on the basis of it library, resulting in very slow compilation;
[0011] (3) Online bugs (representing defects or problems in the program) cannot be repaired quickly, because all codes and resources have been packaged into the APK installation package at compile time, and all codes and resources that have been compiled in cannot be fixed at runtime. Change again, once a bug occurs in the online environment, it cannot be fixed in time, and can only be solved by releasing a new version to update the entire APP, which is very expensive;
[0012] (4) Modules cannot be selectively updated. When only a certain module needs to launch new functions, it is also necessary to release a new version for the entire APP

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 apparatus for Android plug-in development
  • A method and apparatus for Android plug-in development
  • A method and apparatus for Android plug-in development

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0040] figure 1 is a schematic diagram of main steps of a method for Android plug-in development according to an embodiment of the present invention. Such as figure 1 As shown, the method for Android plug-in development of the embodiment of the present invention mainly includes the following steps:

[0041]Step S101: Compile the common code and common resources used by ...

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 embodiment of the invention provides a method and device for Android plug-in development, which relate to the computer technical field. The method of the embodiment of the invention comprises thefollowing steps: compiling the common code and the common resource used by each plug-in project to generate a dependency package; compiling and packaging the source code of the host project and the dependency package to obtain the installation package of the host project, and compiling and packaging the source code of each plug-in project that does not contain the common code and common resourcesto obtain the installation package of each plug-in project; A load runtime environment is constructed in the installation package of the host project to load and run the installation packages of the plug-in projects. The method of the embodiment of the invention compiles the common resource and the common code into the host project in the form of an independent dependency package to provide the plug-in project for use, realizes the plug-in development of the APP project of the Android platform, decouples each module, greatly improves the compilation speed and the development efficiency.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method and device for Android plug-in development. Background technique [0002] With the explosive development of the mobile Internet, users' living habits such as online consumption and shopping are rapidly migrating from PCs (Personal Computers, private computers) to mobile phones. Many mainstream online and offline scenarios can be completed through mobile APPs (Applications, applications). Mobile APP carries a large number of services and functions. With the rapid growth of business and volume, APP becomes more and more bloated, and development difficulty becomes more and more difficult, which poses great challenges to APP developers. [0003] The process of using APP development in the prior art is: [0004] (1) Use open source version control system (Subversion, SVN) or open source distributed version control system (GIT) and other code management tools to centrally manage all ...

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
IPC IPC(8): G06F8/41G06F8/61G06F8/658G06F9/445
CPCG06F8/447G06F8/61G06F9/44526
Inventor 别力
Owner BEIJING JINGDONG SHANGKE INFORMATION 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