Application program packaging method and device, computer device, and computer storage medium
A technology of computer devices and application programs, applied in the field of computer software, can solve problems such as time-consuming about five or six minutes and failure to provide, and achieve the effect of improving packaging efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0055] figure 1 It is a flow chart of the application packaging method provided by Embodiment 1 of the present invention. The application program packaging method is applied to a computer device. The application program packaging method packages the application program to generate an installation package containing channel information. like figure 1 As shown, the application packaging method specifically includes the following steps:
[0056] Step 101, obtaining the basic installation package of the application program.
[0057] The basic installation package is an installation package that does not contain channel information.
[0058]A base installer of a packaged application can be obtained. Or, the basic installation package can be generated according to the source code of the application program.
[0059] In one embodiment, generating the basic installation package may include the following steps:
[0060] The first step: package the resource files of the applicati...
Embodiment 2
[0099] figure 2 A structural diagram of an application packaging device provided in Embodiment 2 of the present invention. like figure 2 As shown, the application packaging apparatus 10 may include: an acquiring unit 201 , a creating unit 202 , a reading unit 203 , a copying unit 204 , a generating unit 205 , and a naming unit 206 .
[0100] The obtaining unit 201 is configured to obtain the basic installation package of the application program.
[0101] The basic installation package is an installation package that does not contain channel information.
[0102] A base installer of a packaged application can be obtained. Or, the basic installation package can be generated according to the source code of the application program.
[0103] In one embodiment, the acquisition unit 201 generating the basic installation package may include the following steps:
[0104] The first step: package the resource files of the application program and generate the R.java file. In this st...
Embodiment 3
[0143] This embodiment provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps in the above embodiment of the application packaging method are implemented, for example figure 1 Steps 101-106 shown:
[0144] Step 101, obtaining the basic installation package of the application;
[0145] Step 102, creating a channel number configuration file of the application;
[0146] Step 103, read a channel number from the channel number configuration file;
[0147] Step 104, copying the basic installation package to obtain the initial installation package corresponding to the channel number;
[0148] Step 105, generating an empty file under the META-INF directory of the initial installation package;
[0149] Step 106, in the initial installation package, name the empty file with the channel number, and obtain the channel package corresponding to the channel...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap