Application part generation method, device, computer equipment and readable storage medium
A technology of application components and computer programs, which is applied in the field of application publishing, can solve problems such as inability to connect to GooglePlay, component solutions cannot be realized, etc., and achieve the effect of maintaining compatibility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] The embodiment of the present application provides a method for generating application components. By customizing the component structure and solidifying the construction results, the components can be dynamically loaded without relying on Google Play, and compatibility is maintained. specifically, figure 1 The flow chart of the method for generating application components provided by Embodiment 1 of this application, such as figure 1 As shown, the method for generating an application component provided in this embodiment includes the following steps S101 to S105.
[0030] Step S101: Take out the initial resource and the routing information corresponding to the initial resource from the initial library, and merge the initial resource.
[0031] Here, the initial library includes all libraries that need to be compiled into components, and these libraries can be one or more of aar / jar / project, etc. The initial resources may optionally include Java resources and Android r...
Embodiment 2
[0096] Corresponding to Embodiment 1 above, Embodiment 2 of the present application provides an application component generation device. For detailed descriptions of related technical features and corresponding technical effects, please refer to Embodiment 1 above, which will not be repeated here. image 3 A block diagram of the device for generating application components provided in Embodiment 2 of the present application, such as image 3 As shown, the device includes a resource acquiring module 201 , a resource merging module 202 , a meta information generating module 203 , a compiling module 204 and an application component generating module 205 .
[0097] Among them, the first receiving module 201 is used to extract the initial resource and the routing information corresponding to the original resource from the initial library, and merge the original resource; the resource merging module 202 is used to merge the application component list, local interface and original res...
Embodiment 3
[0105] Embodiment 3 also provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server or a cabinet server (including an independent server, Or a server cluster composed of multiple servers), etc. Such as Figure 4 As shown, the computer device 01 in this embodiment at least includes but is not limited to: a memory 011 and a processor 012 that can communicate with each other through a system bus, such as Figure 4 shown. It should be pointed out that, Figure 4 Only the computer device 01 is shown with components memory 011 and processor 012, but it should be understood that implementing all of the illustrated components is not a requirement and that more or fewer components may instead be implemented.
[0106] In this embodiment, the memory 011 (that is, a readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card-type memory (for example, SD or DX m...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


