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

Method for generating multi-channel apk file packages in batches

A document package, multi-channel technology, applied in the direction of program control devices, etc., can solve problems such as low efficiency and waste, and achieve the effect of improving efficiency, expanding optimization, and simplifying the multi-channel packaging process

Inactive Publication Date: 2014-04-16
上海网达软件股份有限公司
View PDF3 Cites 29 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, each time the version is updated, it is necessary to modify the channel information and manually enter the password. If the ADT Export Application Package is used, especially when proguard is configured, then if there are n channel information, it needs to be manually modified. The channel information in the channel information file is n times, and then manually signed and packaged n times. Sometimes a project application is very large, and it takes a few minutes to pack each time. In addition, manually modifying the channel information will increase a lot of extra costs. , and if each channel is released separately, the efficiency will be extremely low. Due to the large number of channels, the probability of errors is high

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
  • Method for generating multi-channel apk file packages in batches

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0020] attached figure 1 It is a flow chart of a method for generating multi-channel apk file packages in batches of the present invention, and a method for generating multi-channel apk file packages in batches provided by the present invention is described in detail below, including the following steps:

[0021] S1: Put an apk file package into the first folder, and put some channel information into the first list. The apk file package is composed of a file containing channel information and a part not containing channel information. If the apk file package is a compressed file, decompress it to obtain a file containing channel information and a part not containing channel information. Channel information includes version number information and channel number information,

[0022] The example is: 02030502-99000-100300010010002; in addition to the channel number information 100300010010002 in the generated apk name, there is also version number information Ver2.3.5.2: 0203050...

Embodiment 2

[0027] as attached figure 1 As shown, the present invention relates to a kind of method that generates multi-channel apk file package in batches, comprises the following steps:

[0028] S1: Put multiple apk file packages into the first folder, and put some channel information into the first list. The apk file packages are composed of files with channel information and parts without channel information. If the apk file package is compressed The file is decompressed to obtain the file with channel information and the part without channel information. Channel information includes version number information and channel number information,

[0029] The example is: 02030502-99000-100300010010002; in addition to the channel number information 100300010010002 in the generated apk name, there is also version number information Ver2.3.5.2: 02030502-99000, the channel number information is used to identify the apk file package of different publishing platforms, the version The number i...

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 relates to a method for generating multi-channel apk file packages in batches. Multi-channel apk files can be generated efficiently in batches, and the error rate is reduced. The method includes the following steps that first, at least one apk file package is placed in the first file, and a plurality of pieces of channel information is placed into a first list; second, traversal of the first list is performed, a plurality of pieces of channel information is sequentially obtained, the apk file packages are sequentially selected from the first file, original channel information in the files, containing the channel information, in the apk file packages are sequentially replaced with the plurality of pieces of channel information, and a plurality of different files containing new channel information are sequentially obtained; third, the part without containing the channel information of the apk file packages and the different files containing the new channel information are respectively repackaged, and a plurality of new apk file packages are generated and signed; fourth, the second step and the third step are repeated till all the apk file packages in the first file are processed.

Description

technical field [0001] The invention relates to an apk file generation method, in particular to a method for batch generation of multi-channel apk file packages. Background technique [0002] After the development of the elipse Android project is completed, the android project files will be packaged into an apk file package, and finally downloaded to the mobile phone to run. When developing an android app, due to the openness of the android market, and because there are too many publishing platforms in the android market, each publishing platform has its own app market. In this case, apps have a common requirement, that is, they must be active in statistics by channel , registration, online data, or load the SDK according to different channel information, and do specific business related to the platform. However, each time the version is updated, it is necessary to modify the channel information and manually enter the password. If the ADT Export Application Package is used,...

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 上海网达软件股份有限公司
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