Supercharge Your Innovation With Domain-Expert AI Agents!

Method and system for applying APK (Android Package) into Android project source code

A source code and project technology, applied in the field of computer software, can solve problems such as wasting, wasting time and energy of engineers, and achieve the effects of reducing data volume, improving development efficiency, and shortening the time to pull codes

Active Publication Date: 2016-01-06
湖州帷幄知识产权运营有限公司
View PDF3 Cites 4 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 (Android Package) into Android project source code
  • Method and system for applying APK (Android Package) into Android project source code
  • Method and system for applying APK (Android Package) into Android project source code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] like 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 so, 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 als...

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 an APK (Android Package) into an Android project source code. The method comprises the steps of reading a product parameter; determining whether a product has a corresponding application configuration file; if so, acquiring the application configuration file, or otherwise, acquiring a universal application configuration file; acquiring a preset application list of the product; according to names of all applications in the preset application list, acquiring a name of an application on an FTP (File Transfer Protocol) server; downloading the application from the FTP server; analyzing the application and adding the application into a directory corresponding to the source code; and producing a compiling control file corresponding to the application. The system comprises the FTP server, a detection module, an application configuration file determination module, an application configuration file acquisition module, a preset application list acquisition module, a name acquisition module, an application downloading module, a library file analysis module and a compiling control file generation module. According to the method and the system for applying the APK (Android Package) into the Android project source code, the data volume of a code server is greatly reduced, so that the time for an engineer to pull the code is shortened, and development efficiency is improved.

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
IPC IPC(8): G06F9/44
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