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

Compiling method of Android system application program

A technology of application program and Android system, applied in the field of compilation of Android system application program, can solve problems such as loss of flexibility and inability to realize single warehouse compilation

Pending Publication Date: 2020-05-26
CHENGDU TD TECH LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, after the introduction of the HIDL framework, many dependent classes that need to be inherited are not exposed in the Android SDK. For apps that need to realize the interaction between the application layer and the system running layer and thus rely on the HIDL interface (such as apps that need to implement RIL), use the HIDL interface It is impossible to directly inherit and reference these hidden dependent classes. Therefore, single warehouse compilation cannot be realized, resulting in APP only being developed and compiled in the source code, losing flexibility

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
  • Compiling method of Android system application program
  • Compiling method of Android system application program
  • Compiling method of Android system application program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the purpose, technical means and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings.

[0023] In the APP of the Android system, in order to realize specific functions, some modules may need to be implemented, and these modules are used to realize the interaction between the application layer and the system operation layer. For this type of module, after the introduction of the HIDL framework, the HIDL interface needs to be used, but the single warehouse compilation cannot be realized according to the existing method. Taking the RIL module as an example, figure 1 and figure 2 It is a schematic diagram of the interaction framework of RIL before and after the introduction of the HIDL framework. The RIL framework includes RILJ and RILC. like figure 1 As shown, before the introduction of the HIDL framework, RILJ and RILC are connected through the ...

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 compiling method of an Android system application program. The method comprises the following steps: aiming at each module for interaction between an application layer to berealized by the APP and a system operation layer, selecting a base class and / or method, which needs to be inherited when the module is compiled and is not disclosed in the Android SDK, from the Android system; compiling and packaging into a jar package, and providing the jar package for an installation program APK of the APP to be compiled; packaging a hidden interface between an HIDL interface ofthe module and a system operation layer into another jar package, and providing the jar package as an interface dependence library for the APK for compiling; and compiling the APK by using the one jar package and the other jar package for each module. By applying the method, single-bin compiling of the application program can be realized.

Description

technical field [0001] The present application relates to Android system technology, in particular to a compiling method of an Android system application program (APP). Background technique [0002] Android 8.0 google introduced a very important feature called Project treble, which provides a stable new supplier interface, so that device manufacturers only need to update the Android operating system framework, skipping chip manufacturers to directly provide new Android version, its purpose is to solve the problem of Android version fragmentation. [0003] Hardware Abstraction Layer (HAL) Interface Definition Language (HIDL) is an Interface Description Language (IDL) for specifying the interface between a HAL and its users. HIDL allows the specification of type and method calls, where the specified types and methods are assembled into interfaces and packages. In a broader sense, HIDL is a system for communicating between codebases that can be compiled independently. [000...

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/41
CPCG06F8/41
Inventor 谭垠金伟民
Owner CHENGDU TD TECH LTD
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More