Supercharge Your Innovation With Domain-Expert AI Agents!

Method and system for applying apk to Android project source code

A source code and project technology, applied in the field of computer software, can solve the problems of wasting engineers' time and energy, waste, etc., to achieve the effect of reducing the amount of data, shortening the time for pulling code, and improving development efficiency

Active Publication Date: 2018-06-29
湖州帷幄知识产权运营有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If there are too many APKs or too many SO files contained in the APK, it will waste a lot of time and energy for engineers
At the same time, engineers need to use git library management when they need to put these APK and SO source files into the project source code. Whenever there is an APK update or SO file update, the old APK and SO files must be deleted and replaced with new ones. APK and SO files, each APK is at least a few megabytes in size. Every time an application is replaced, the data volume of the git library will increase by several megabytes to tens of megabytes. The APK integrated into the system will inevitably undergo multiple version updates
In this way, the git library will become larger and larger, and the development engineer needs to pull the git library to the local machine when pulling the code, and the large amount of data will waste a lot of time

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 and system for applying apk to Android project source code
  • Method and system for applying apk to Android project source code
  • Method and system for applying apk to Android project source code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] Such as figure 1 As shown, a method for applying APK to the source code of an Android project, including steps:

[0055] Read product parameters;

[0056] Judging whether the product has a corresponding application configuration file, if yes, obtaining the application configuration file corresponding to the product, otherwise obtaining a general application configuration file and using it as the application configuration file of the product;

[0057] Obtain a list of preset applications that need to be downloaded for the product;

[0058] Acquiring the names corresponding to the applications on the FTP server according to the names of all the applications in the preset application list;

[0059] downloading the application from the FTP server;

[0060] Analyzing the application and adding it to the directory corresponding to the source code;

[0061] A compilation control file corresponding to the application is generated.

[0062] In addition, the present embodiment...

example 1

[0075] Example 1: [FTP_CONFIG]

[0076] Server=ip

[0077] User=reader

[0078] Passwd=reader

[0079] FTP server address and user;

example 2

[0080] Example 2: [PRELOAD_APPS]

[0081] FtpPath= / BUILD / PreLoadApps

[0082] The directory saved by the application on the FTP server;

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 present invention provides a method and system for applying APK to the source code of an Android project. The method includes the steps of: reading product parameters; judging whether the product has a corresponding application configuration file; if so, obtaining the application configuration file, otherwise obtaining a general application configuration file; obtain the product's preset application list; obtain the name of the application on the FTP server according to the names of all applications in the preset application list; download the application from the FTP server; parse the application and add it to the directory corresponding to the source code; The compilation control file corresponding to the production application; the system includes: FTP server, detection module, application configuration file judgment module, application configuration file acquisition module, preset application list acquisition module, name acquisition module, application download module, library file analysis module, Compilation control file generation module. The invention greatly reduces the data volume of the code server, thereby shortening the time for engineers to pull codes and improving development efficiency.

Description

technical field [0001] The invention relates to the technical field of computer software, in particular to a method and system for applying APK to the source code of an Android project. Background technique [0002] With the advent of the mobile Internet era, the stability of mobile terminal software and the efficiency of development have become important indicators pursued by mobile phone design companies. How to improve development efficiency and shorten the development cycle has become the focus of many companies in the solution, and the market sales of this machine will also be determined sooner or later when the terminal product is launched. Therefore, it is important to improve development efficiency in all aspects, especially after Android 5.1, the amount of code is huge. How to shorten the waiting time and improve work efficiency by improving the process is very important. [0003] In the mobile terminal software development process, many third-party application in...

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 Patents(China)
IPC IPC(8): G06F8/61G06F8/65
Inventor 钟凡
Owner 湖州帷幄知识产权运营有限公司
Features
  • R&D
  • 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