CN108062226A - A kind of Android system application pre-installation method and terminal - Google Patents
A kind of Android system application pre-installation method and terminal Download PDFInfo
- Publication number
- CN108062226A CN108062226A CN201711472740.5A CN201711472740A CN108062226A CN 108062226 A CN108062226 A CN 108062226A CN 201711472740 A CN201711472740 A CN 201711472740A CN 108062226 A CN108062226 A CN 108062226A
- Authority
- CN
- China
- Prior art keywords
- folder
- sub
- apk
- android system
- path
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
Abstract
The present invention provides a kind of Android system application pre-installation methods and terminal, method to include:Configure the environmental variance of Android engineerings;The path for changing environmental variance is default installation path;Installation path presss from both sides corresponding path for default first mother file;First mother file folder includes multiple APK;According to the path of the environmental variance, android system is configured;After the completion of configuration, default second mother file clip pack is containing the multiple APK on the memory space of the android system;The multiple APK is copied under data/app catalogues;According to the APK under data/app catalogues, APK installations are carried out, to complete the pre-installation applied before Android mobile phone is dispatched from the factory.The present invention is by the above method, it can be achieved that the preset installation application of android system batch, improves efficiency, reduce the cost of producer, and application is off-loadable, flexibly and easily, improves the experience of user.
Description
Technical field
The present invention relates to Android applied technical field more particularly to a kind of Android system application pre-installation methods and terminal.
Background technology
The existing method of Android system behavior extension mainly based on application APK installations, exists using APK for many service providers
Secondary development is carried out on the basis of Android system, customizing some has the function of oneself characteristic;Existing application APK installations are divided into
System automation batch installation (system intialization installation) before installation and Android mobile phone are dispatched from the factory manually, but it has the disadvantages that:
1st, installation includes network download installation, mobile memory (SD card etc.) installation and the installation of ADB instruments manually;Peace manually
Dress needs user to install application one by one, takes time and effort, and user experience is bad;
2nd, system intialization installation is by application integration to internal system, and fixed increased system size itself postpones pipe in advance
Reason such as is not easy to unload at inflexible defect.
The content of the invention
The technical problems to be solved by the invention are:The present invention provides a kind of Android system application pre-installation method and end
End, can be before Android mobile phone be dispatched from the factory, and by Android system to the preset installation of application batch, and the application postponed in advance is off-loadable,
Manufacturer is facilitated to customize, improves the experience of user.
In order to solve the above technical problem, the present invention provides a kind of Android system application pre-installation method, including following
Step:
S1:Configure the environmental variance of Android engineerings;
S2:The path for changing the environmental variance is default installation path;The installation path is female for default first
The corresponding path of file;The first mother file folder includes multiple APK;
S3:According to the path of the environmental variance, android system is configured;After the completion of configuration, the android system
Memory space on default second mother file clip pack containing the multiple APK;
S4:The multiple APK is copied under data/app catalogues;According to the APK under data/app catalogues, APK is carried out
Installation, to complete the pre-installation applied before Android mobile phone is dispatched from the factory.
The present invention also provides a kind of Android system application pre-installation terminals, including memory, processor and are stored in
On memory and the computer program that can perform on a processor, the processor realize following steps when performing described program:
S1:Configure the environmental variance of Android engineerings;
S2:The path for changing the environmental variance is default installation path;The installation path is female for default first
The corresponding path of file;The first mother file folder includes multiple APK;
S3:According to the path of the environmental variance, android system is configured;After the completion of configuration, the android system
Memory space on default second mother file clip pack containing the multiple APK;
S4:The multiple APK is copied under data/app catalogues;According to the APK under data/app catalogues, APK is carried out
Installation, to complete the pre-installation applied before Android mobile phone is dispatched from the factory.
Beneficial effects of the present invention are:
A kind of Android system application pre-installation method and terminal provided by the invention, by the ring for configuring Android engineerings
After the variable of border, the path of environmental variance is changed as default installation path, and according to the path of amended environmental variance, configuration
Android system, copy is with APK that the second mother file in android system presss from both sides is postponed under data/app catalogues, so as to right
APK is installed.The present invention can unload APK by carrying out APK installations, user under data/app catalogues, flexibly side
Just;The present invention is by the above method, it can be achieved that the preset installation application of android system batch, improves efficiency, reduce producer
Cost, and application it is off-loadable, flexibly and easily, facilitate manufacturer customization unloading, improve the experience of user.
Description of the drawings
Fig. 1 is the step schematic diagram according to a kind of Android system application pre-installation method of the embodiment of the present invention;
Fig. 2 is the structure diagram according to a kind of Android system of embodiment of the present invention application pre-installation terminal;
Label declaration:
1st, memory;2nd, processor.
Specific embodiment
For the technology contents that the present invention will be described in detail, the objects and the effects, below in conjunction with embodiment and coordinate attached
Figure is explained in detail.
The technical concept of most critical of the present invention is:The environmental variance of Android engineerings is configured, changes the path of environmental variance
For default installation path, and according to the path of amended environmental variance, android system is configured, copy is with postponing
The APK that the second mother file presss from both sides in android system is under data/app catalogues, so as to be installed to APK.
Fig. 1 is refer to, the present invention provides a kind of Android system application pre-installation methods, comprise the following steps:
S1:Configure the environmental variance of Android engineerings;
S2:The path for changing the environmental variance is default installation path;The installation path is female for default first
The corresponding path of file;The first mother file folder includes multiple APK;
S3:According to the path of the environmental variance, android system is configured;After the completion of configuration, the android system
Memory space on default second mother file clip pack containing the multiple APK;
S4:The multiple APK is copied under data/app catalogues;According to the APK under data/app catalogues, APK is carried out
Installation, to complete the pre-installation applied before Android mobile phone is dispatched from the factory.
As can be seen from the above description, a kind of Android system application pre-installation method provided by the invention, by configuring Android
After the environmental variance of engineering, the path of environmental variance is changed as default installation path, and according to amended environmental variance
Path configures android system, copies and matches somebody with somebody the APK for postponing the second mother file folder in android system to data/app catalogues
Under, so as to be installed to APK.The present invention can unload APK by carrying out APK installations, user under data/app catalogues
It carries, flexibly and easily;The present invention by the above method, it can be achieved that android system batch it is preset installation application, improve efficiency,
The cost of producer is reduced, and application is off-loadable, flexibly and easily, facilitates manufacturer's customization unloading, improves the experience of user.
Further, the S2 is specially:
Default first mother file folder;The first mother file folder includes the first sub-folder, the second sub-folder and the 3rd
Sub-folder;First sub-folder includes the first multiple APK;Second sub-folder includes the 2nd multiple APK;
3rd sub-folder includes the 3rd multiple APK;
It changes the path of the environmental variance and presss from both sides corresponding path for first mother file.
As can be seen from the above description, no APK is stored in different sub-folders, with meet system intialization installation when pair
The demand that different APK are flexibly installed.
Further, the S3 is specially:
Default second mother file folder, the second mother file folder is in the memory space of android system;Described second
Mother file folder includes the 4th sub-folder, the 5th sub-folder and the 6th sub-folder;
The first mother file folder and the second mother file folder are associated, obtains related information;The related information includes first
Son association between sub- related information, the second sub-folder and the 5th sub-folder between sub-folder and the 4th sub-folder
Sub- related information between information and the 3rd sub-folder and the 6th sub-folder;
Corresponding Android systems are pressed from both sides according to the related information, the path of the environmental variance and second mother file
The path of system generates corresponding script python programs;
After compiling the script python programs by makefile, the script python programs are run so that described
First APK of the first sub-folder is copied in the 4th sub-folder, the 2nd APK of second sub-folder is copied to
In 5th sub-folder and the 3rd APK of the 3rd sub-folder is copied in the 6th sub-folder.
From the foregoing, by the above method, it can be pressed from both sides, passed through according to corresponding first mother file in path of environmental variance
The script python programs are run, rapidly android system can be configured.
Further, the S4 is specially:
The first APK in the 4th sub-folder is copied under the system/app catalogues of android system;
The 2nd APK in the 5th sub-folder is copied under the data/app catalogues of android system;
The 3rd APK in the 6th sub-folder is copied under the data/app catalogues of android system;
System/app the and data/app catalogues are scanned by the PMS service of android system, perform system application
Installation instruction;
After detecting that all applications install, all 3rd APK in the 6th sub-folder are deleted.
As can be seen from the above description, by the above method, after being installed to the APK under system/app catalogues, user is not
It is off-loadable, to meet the demand of the system of Android system application installation, ensure that Android mobile phone is steadily run, avoid user not
Solution system application, the problem of being unloaded to it, and cause system crash;After APK under data/app catalogues is installed, use
Family is off-loadable;When user's factory reset, step S4 can be re-executed, due to the 6th sub-folder the 3rd APK by
It deletes, therefore after factory reset, the first APK and the 2nd APK is reinstalled, without installing the 3rd APK, i.e. the 4th sub-folder
Upper storage is that factory reset can reinstall, not off-loadable application, and it is to recover to be stored on the 5th sub-folder
Default setting can be reinstalled, and off-loadable application, and the APK stored on the 6th sub-folder is off-loadable for user, but recover
The APK not reinstalled after default setting;The present invention, can the flexibly pre- loading, unloading of Classification Management according to demand by the above method
It carries, improves the flexibility using installation.
Further, a kind of Android system application pre-installation method, further includes:
Ident value is set in Android system, and the initial value of the ident value is default first value;
When detection starts to Android mobile phone, judge whether the ident value in Android system is first value, if
It is then to perform step S4, after step S4 is finished, it is default second value to set the ident value;
Otherwise, the Android mobile phone is normally started.
As can be seen from the above description, by the above method, start in Android mobile phone, can accurate judgement system whether answered
With pre-installation.
It refer to Fig. 2, a kind of Android system application pre-installation terminal provided by the invention, including memory 1, processor 2
And the computer program that can be performed on memory 1 and on processor 2 is stored in, when the processor 2 performs described program
Realize following steps:
S1:Configure the environmental variance of Android engineerings;
S2:The path for changing the environmental variance is default installation path;The installation path is female for default first
The corresponding path of file;The first mother file folder includes multiple APK;
S3:According to the path of the environmental variance, android system is configured;After the completion of configuration, the android system
Memory space on default second mother file clip pack containing the multiple APK;
S4:The multiple APK is copied under data/app catalogues;According to the APK under data/app catalogues, APK is carried out
Installation, to complete the pre-installation applied before Android mobile phone is dispatched from the factory.
Further, a kind of Android system application pre-installation terminal, the S2 are specially:
Default first mother file folder;The first mother file folder includes the first sub-folder, the second sub-folder and the 3rd
Sub-folder;First sub-folder includes the first multiple APK;Second sub-folder includes the 2nd multiple APK;
3rd sub-folder includes the 3rd multiple APK;
It changes the path of the environmental variance and presss from both sides corresponding path for first mother file.
Further, a kind of Android system application pre-installation terminal, the S3 are specially:
Default second mother file folder, the second mother file folder is in the memory space of android system;Described second
Mother file folder includes the 4th sub-folder, the 5th sub-folder and the 6th sub-folder;
The first mother file folder and the second mother file folder are associated, obtains related information;The related information includes first
Son association between sub- related information, the second sub-folder and the 5th sub-folder between sub-folder and the 4th sub-folder
Sub- related information between information and the 3rd sub-folder and the 6th sub-folder;
Corresponding Android systems are pressed from both sides according to the related information, the path of the environmental variance and second mother file
The path of system generates corresponding script python programs;
After compiling the script python programs by makefile, the script python programs are run so that described
First APK of the first sub-folder is copied in the 4th sub-folder, the 2nd APK of second sub-folder is copied to
In 5th sub-folder and the 3rd APK of the 3rd sub-folder is copied in the 6th sub-folder.
Further, a kind of Android system application pre-installation terminal, the S4 are specially:
The first APK in the 4th sub-folder is copied under the system/app catalogues of android system;
The 2nd APK in the 5th sub-folder is copied under the data/app catalogues of android system;
The 3rd APK in the 6th sub-folder is copied under the data/app catalogues of android system;
System/app the and data/app catalogues are scanned by the PMS service of android system, perform system application
Installation instruction;
After detecting that all applications install, all 3rd APK in the 6th sub-folder are deleted.
Further, a kind of Android system application pre-installation terminal, further includes:
Ident value is set in Android system, and the initial value of the ident value is default first value;
When detection starts to Android mobile phone, judge whether the ident value in Android system is first value, if
It is then to perform step S4, after step S4 is finished, it is default second value to set the ident value;
Otherwise, the Android mobile phone is normally started.
The embodiment of the present invention one is:
The present invention provides a kind of Android system application pre-installation methods, comprise the following steps:
S1:Configure the environmental variance (configurations so that Android environment normal compilation) of Android engineerings;
S2:The path for changing the environmental variance is default installation path;The installation path is female for default first
The corresponding path of file;The first mother file folder includes multiple APK;
Wherein, by according to chip platform model system digit (as S905D 64) modification changes the environmental variance
Path is default installation path;
The S2 is specially:
Default first mother file folder;The first mother file folder includes the first sub-folder, the second sub-folder and the 3rd
Sub-folder;First sub-folder includes the first multiple APK;Second sub-folder includes the 2nd multiple APK;
3rd sub-folder includes the 3rd multiple APK;
It changes the path of the environmental variance and presss from both sides corresponding path for first mother file.
S3:According to the path of the environmental variance, android system is configured;After the completion of configuration, the android system
Memory space on default second mother file clip pack containing the multiple APK;
The S3 is specially:
Default second mother file folder, the second mother file folder is in the memory space of android system;Described second
Mother file folder includes the 4th sub-folder, the 5th sub-folder and the 6th sub-folder;
The first mother file folder and the second mother file folder are associated, obtains related information;The related information includes first
Son association between sub- related information, the second sub-folder and the 5th sub-folder between sub-folder and the 4th sub-folder
Sub- related information between information and the 3rd sub-folder and the 6th sub-folder;
Corresponding Android systems are pressed from both sides according to the related information, the path of the environmental variance and second mother file
The path of system generates corresponding script python programs;
After compiling the script python programs by makefile, the script python programs are run so that described
First APK of the first sub-folder is copied in the 4th sub-folder, the 2nd APK of second sub-folder is copied to
In 5th sub-folder and the 3rd APK of the 3rd sub-folder is copied in the 6th sub-folder.
S4:Ident value is set in Android system, and the initial value of the ident value is default first value;
When detection starts to Android mobile phone, judge whether the ident value in Android system is first value, if
It is then to perform step S5, after step S5 is finished, it is default second value to set the ident value;Otherwise, to the Android
Mobile phone is normally started.
S5:The multiple APK is copied under data/app catalogues;According to the APK under data/app catalogues, APK is carried out
Installation, to complete the pre-installation applied before Android mobile phone is dispatched from the factory;
The S5 is specially:
The first APK in the 4th sub-folder is copied under the system/app catalogues of android system;
The 2nd APK in the 5th sub-folder is copied under the data/app catalogues of android system;
The 3rd APK in the 6th sub-folder is copied under the data/app catalogues of android system;
System/app the and data/app catalogues are scanned by the PMS service of android system, perform system application
Installation instruction;
After detecting that all applications install, all 3rd APK in the 6th sub-folder are deleted.
S6:When it is the starting state after factory reset to detect Android mobile phone, step S5 is performed.
The embodiment of the present invention two is:
The present invention also provides a kind of Android system application pre-installation terminals, including memory, processor and are stored in
On memory and the computer program that can perform on a processor, the processor realize following steps when performing described program:
S1:Configure the environmental variance of Android engineerings;
S2:The path for changing the environmental variance is default installation path;The installation path is female for default first
The corresponding path of file;The first mother file folder includes multiple APK;
The S2 is specially:
Default first mother file folder;The first mother file folder includes the first sub-folder, the second sub-folder and the 3rd
Sub-folder;First sub-folder includes the first multiple APK;Second sub-folder includes the 2nd multiple APK;
3rd sub-folder includes the 3rd multiple APK;
It changes the path of the environmental variance and presss from both sides corresponding path for first mother file.
S3:According to the path of the environmental variance, android system is configured;After the completion of configuration, the android system
Memory space on default second mother file clip pack containing the multiple APK;
The S3 is specially:
Default second mother file folder, the second mother file folder is in the memory space of android system;Described second
Mother file folder includes the 4th sub-folder, the 5th sub-folder and the 6th sub-folder;
The first mother file folder and the second mother file folder are associated, obtains related information;The related information includes first
Son association between sub- related information, the second sub-folder and the 5th sub-folder between sub-folder and the 4th sub-folder
Sub- related information between information and the 3rd sub-folder and the 6th sub-folder;
Corresponding Android systems are pressed from both sides according to the related information, the path of the environmental variance and second mother file
The path of system generates corresponding script python programs;
After compiling the script python programs by makefile, the script python programs are run so that described
First APK of the first sub-folder is copied in the 4th sub-folder, the 2nd APK of second sub-folder is copied to
In 5th sub-folder and the 3rd APK of the 3rd sub-folder is copied in the 6th sub-folder.
S4:Ident value is set in Android system, and the initial value of the ident value is default first value;
When detection starts to Android mobile phone, judge whether the ident value in Android system is first value, if
It is then to perform step S5, after step S5 is finished, it is default second value to set the ident value;Otherwise, to the Android
Mobile phone is normally started.
S5:The multiple APK is copied under data/app catalogues;According to the APK under data/app catalogues, APK is carried out
Installation, to complete the pre-installation applied before Android mobile phone is dispatched from the factory;
The S5 is specially:
The first APK in the 4th sub-folder is copied under the system/app catalogues of android system;
The 2nd APK in the 5th sub-folder is copied under the data/app catalogues of android system;
The 3rd APK in the 6th sub-folder is copied under the data/app catalogues of android system;
System/app the and data/app catalogues are scanned by the PMS service of android system, perform system application
Installation instruction;
After detecting that all applications install, all 3rd APK in the 6th sub-folder are deleted.
S6:When it is the starting state after factory reset to detect Android mobile phone, step S5 is performed.
The embodiment of the present invention three is:
(1) compilation phase
1st, translation and compiling environment source build/envsetup.sh (the performance of work environment installations of Android engineerings are configured
Shell script files);Lunch p231-user-64 (execution select command);
2nd, the buildspec.mk configuration surroundings variables under Android engineering roots, assigned variable TARGET_ are changed
DEVICE_DIR is device/amlogic/p231, for pre-installing the identification in path and equipment;
3rd, preinstall-sdk (is pre-established on the system device/amlogic/p231/ paths of Android
One sub-folder), preinstall (the second sub-folder), preinstall-del (the 3rd sub-folder),
The files such as prieinstall-other, it is off-loadable to define preinstall-sdk as not off-loadable preset, preinstall
Replacement can recover preset, preinstall-del is that the off-loadable irrecoverable preset, prieinstall-other of replacement is other
Resource type is preset;
What the 4th, copy needs were prefabricated is applied to the files such as preinstall-sdk, preinstall, preinstall-del
Folder, the files such as copy apk, lib (static library), so (dynamic base), jar (the platform-independent file formats of java), audio and video arrive
Preinstall-other files, profile name are named as far as possible with English common character, avoid space;
Run Script python programs are according to using installation method, analysis when the 5th, being compiled by makefile
It is applied in preinstall-sdk, copies system preinstall-sdk (the 4th sub-folder) catalogue to;Analysis is put
Application, copies system in preinstall (the 5th sub-folder), preinstall-del (the 6th sub-folder)
Preinstall, preinstall-del catalogue;
When the 6th, being compiled by makefile, makefile copy sentences, preset lib, so, jar, audio-video document etc. are performed
File, to the system directory of demand.
(2) operation phase
The 1st, ident value is set in Android system, the initial value of ident value is the first value, and the first value correspondence is not pre-
Dress state obtains the value of statistical indicant using Android system function (such as SystemProperties.getBoolean), such as obtains
The first value is obtained, then is non-preassembled condition, then performs prepackage, modified logo value is second value afterwards, and the second value is corresponding
Preassembled condition is to have pre-installed.Follow-up system startup judges the mark, judges whether to start for the first time by the above method, start for the first time
Perform prepackage action;
2nd, system preinstall-sdk folder contents copy system/app catalogues to;preinstall、
Preinstall-del folder contents copy data/app catalogues to;
3rd, system/app, data/app catalogue are scanned using android system PMS service, performs system installation.From
Preinstall files install preset application by system administration, and user is off-loadable.User is in use by it
Unloading, after factory reset, system can be installed automatically after starting.If it is desired to no longer recover pre-installation after factory reset
Using above-mentioned file relative designations are preinstall-del, and specific implementation difference is in preinstall-del files
After appearance copies data/app catalogues to, preinstall-del files are deleted, system operation judges no this document, will jump
Cross the operation of prepackage respective directories.
In conclusion a kind of Android system application pre-installation method provided by the invention and terminal, by configuring Android
After the environmental variance of engineering, the path of environmental variance is changed as default installation path, and according to amended environmental variance
Path, configures android system, copy with postpone APK to data/app that the second mother file in android system presss from both sides and
Under system/app catalogues, so as to be installed to APK.The present invention under data/app catalogues by carrying out APK installations, user
APK can be unloaded, flexibly and easily;Pass through the above method, after being installed to the APK under system/app catalogues, user
It is not off-loadable, to meet the demand of the system of Android system application installation, ensure that Android mobile phone is steadily run, avoid user not
Understanding system application, the problem of being unloaded to it, and cause system crash;After APK under data/app catalogues is installed,
User is off-loadable;When user's factory reset, step S4 can be re-executed, due to the 6th sub-folder the 3rd APK
It is deleted, therefore after factory reset, the first APK and the 2nd APK is reinstalled, without installing the 3rd APK, i.e. the 4th subfile
It is that factory reset can reinstall to be stored on folder, not off-loadable application, and it is extensive to be stored on the 5th sub-folder
Multiple default setting can be reinstalled, and off-loadable application, and the APK stored on the 6th sub-folder is off-loadable but extensive for user
The APK not reinstalled after multiple default setting;The present invention is by the above method, it can be achieved that the preset peace of android system batch
Dress application, improves efficiency, reduces the cost of producer, and application is off-loadable, flexibly and easily, improves the experience of user.
The foregoing is merely the embodiment of the present invention, are not intended to limit the scope of the invention, every to utilize this hair
The equivalents that bright specification and accompanying drawing content are made directly or indirectly are used in other related technical areas, similarly
It is included within the scope of the present invention.
Claims (10)
- A kind of 1. Android system application pre-installation method, which is characterized in that comprise the following steps:S1:Configure the environmental variance of Android engineerings;S2:The path for changing the environmental variance is default installation path;The installation path is default first mother file Press from both sides corresponding path;The first mother file folder includes multiple APK;S3:According to the path of the environmental variance, android system is configured;After the completion of configuration, the android system is deposited Storage spatially default second mother file clip pack containing the multiple APK;S4:The multiple APK is copied under data/app catalogues;According to the APK under data/app catalogues, APK installations are carried out, To complete the pre-installation applied before Android mobile phone is dispatched from the factory.
- 2. a kind of Android system application pre-installation method according to claim 1, which is characterized in that the S2 is specially:Default first mother file folder;The first mother file folder includes the first sub-folder, the second sub-folder and the 3rd Ziwen Part presss from both sides;First sub-folder includes the first multiple APK;Second sub-folder includes the 2nd multiple APK;It is described 3rd sub-folder includes the 3rd multiple APK;It changes the path of the environmental variance and presss from both sides corresponding path for first mother file.
- 3. a kind of Android system application pre-installation method according to claim 2, which is characterized in that the S3 is specially:Default second mother file folder, the second mother file folder is in the memory space of android system;Described second female text Part folder includes the 4th sub-folder, the 5th sub-folder and the 6th sub-folder;The first mother file folder and the second mother file folder are associated, obtains related information;The related information includes the first Ziwen The sub- related information between sub- related information, the second sub-folder and the 5th sub-folder between part folder and the 4th sub-folder And the 3rd sub- related information between sub-folder and the 6th sub-folder;Corresponding android system is pressed from both sides according to the related information, the path of the environmental variance and second mother file Path generates corresponding script python programs;After compiling the script python programs by makefile, the script python programs are run so that described first Described in first APK of sub-folder is copied in the 4th sub-folder, the 2nd APK of second sub-folder is copied to In 5th sub-folder and the 3rd APK of the 3rd sub-folder is copied in the 6th sub-folder.
- 4. a kind of Android system application pre-installation method according to claim 3, which is characterized in that the S4 is specially:The first APK in the 4th sub-folder is copied under the system/app catalogues of android system;The 2nd APK in the 5th sub-folder is copied under the data/app catalogues of android system;The 3rd APK in the 6th sub-folder is copied under the data/app catalogues of android system;System/app the and data/app catalogues are scanned by the PMS service of android system, perform system application installation Instruction;After detecting that all applications install, all 3rd APK in the 6th sub-folder are deleted.
- 5. a kind of Android system application pre-installation method according to claim 4, which is characterized in that further include:Ident value is set in Android system, and the initial value of the ident value is default first value;When detection starts to Android mobile phone, judge whether the ident value in Android system is first value, if so, Step S4 is performed, after step S4 is finished, it is default second value to set the ident value;Otherwise, the Android mobile phone is normally started.
- 6. a kind of Android system application pre-installation terminal, on a memory and can locate including memory, processor and storage The computer program performed on reason device, which is characterized in that the processor realizes following steps when performing described program:S1:Configure the environmental variance of Android engineerings;S2:The path for changing the environmental variance is default installation path;The installation path is default first mother file Press from both sides corresponding path;The first mother file folder includes multiple APK;S3:According to the path of the environmental variance, android system is configured;After the completion of configuration, the android system is deposited Storage spatially default second mother file clip pack containing the multiple APK;S4:The multiple APK is copied under data/app catalogues;According to the APK under data/app catalogues, APK installations are carried out, To complete the pre-installation applied before Android mobile phone is dispatched from the factory.
- 7. a kind of Android system application pre-installation terminal according to claim 6, which is characterized in that the S2 is specially:Default first mother file folder;The first mother file folder includes the first sub-folder, the second sub-folder and the 3rd Ziwen Part presss from both sides;First sub-folder includes the first multiple APK;Second sub-folder includes the 2nd multiple APK;It is described 3rd sub-folder includes the 3rd multiple APK;It changes the path of the environmental variance and presss from both sides corresponding path for first mother file.
- 8. a kind of Android system application pre-installation terminal according to claim 7, which is characterized in that the S3 is specially:Default second mother file folder, the second mother file folder is in the memory space of android system;Described second female text Part folder includes the 4th sub-folder, the 5th sub-folder and the 6th sub-folder;The first mother file folder and the second mother file folder are associated, obtains related information;The related information includes the first Ziwen The sub- related information between sub- related information, the second sub-folder and the 5th sub-folder between part folder and the 4th sub-folder And the 3rd sub- related information between sub-folder and the 6th sub-folder;Corresponding android system is pressed from both sides according to the related information, the path of the environmental variance and second mother file Path generates corresponding script python programs;After compiling the script python programs by makefile, the script python programs are run so that described first Described in first APK of sub-folder is copied in the 4th sub-folder, the 2nd APK of second sub-folder is copied to In 5th sub-folder and the 3rd APK of the 3rd sub-folder is copied in the 6th sub-folder.
- 9. a kind of Android system application pre-installation terminal according to claim 8, which is characterized in that the S4 is specially:The first APK in the 4th sub-folder is copied under the system/app catalogues of android system;The 2nd APK in the 5th sub-folder is copied under the data/app catalogues of android system;The 3rd APK in the 6th sub-folder is copied under the data/app catalogues of android system;System/app the and data/app catalogues are scanned by the PMS service of android system, perform system application installation Instruction;After detecting that all applications install, all 3rd APK in the 6th sub-folder are deleted.
- 10. a kind of Android system application pre-installation terminal according to claim 9, which is characterized in that further include:Ident value is set in Android system, and the initial value of the ident value is default first value;When detection starts to Android mobile phone, judge whether the ident value in Android system is first value, if so, Step S4 is performed, after step S4 is finished, it is default second value to set the ident value;Otherwise, the Android mobile phone is normally started.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711472740.5A CN108062226A (en) | 2017-12-29 | 2017-12-29 | A kind of Android system application pre-installation method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711472740.5A CN108062226A (en) | 2017-12-29 | 2017-12-29 | A kind of Android system application pre-installation method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108062226A true CN108062226A (en) | 2018-05-22 |
Family
ID=62140636
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711472740.5A Pending CN108062226A (en) | 2017-12-29 | 2017-12-29 | A kind of Android system application pre-installation method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108062226A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110659041A (en) * | 2019-08-22 | 2020-01-07 | 深圳市星汉智能科技有限公司 | Application upgrading method and system based on Android platform |
CN113934461A (en) * | 2021-09-26 | 2022-01-14 | 厦门亿联网络技术股份有限公司 | DEX-based android system formatting method and device |
CN115640269A (en) * | 2022-12-23 | 2023-01-24 | 北京麟卓信息科技有限公司 | Android application installation acceleration method based on-demand copying |
CN116204200A (en) * | 2023-02-03 | 2023-06-02 | 启朔(深圳)科技有限公司 | Application installation method, device, storage medium and equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140082608A1 (en) * | 2012-09-18 | 2014-03-20 | Canon Kabushiki Kaisha | Image forming apparatus, method of preinstalling application, and non-transitory computer-readable medium |
CN105320540A (en) * | 2015-10-28 | 2016-02-10 | 深圳市创维电器科技有限公司 | Batch installation method and system for Android applications |
-
2017
- 2017-12-29 CN CN201711472740.5A patent/CN108062226A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140082608A1 (en) * | 2012-09-18 | 2014-03-20 | Canon Kabushiki Kaisha | Image forming apparatus, method of preinstalling application, and non-transitory computer-readable medium |
CN105320540A (en) * | 2015-10-28 | 2016-02-10 | 深圳市创维电器科技有限公司 | Batch installation method and system for Android applications |
Non-Patent Citations (1)
Title |
---|
YINAZH: ""android预装内置可卸载的应用"", 《CSDN博客 HTTPS://BLOG.CSDN.NET/ARLEN6310/ARTICLE/DETAILS/53638406》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110659041A (en) * | 2019-08-22 | 2020-01-07 | 深圳市星汉智能科技有限公司 | Application upgrading method and system based on Android platform |
CN113934461A (en) * | 2021-09-26 | 2022-01-14 | 厦门亿联网络技术股份有限公司 | DEX-based android system formatting method and device |
CN113934461B (en) * | 2021-09-26 | 2023-10-13 | 厦门亿联网络技术股份有限公司 | DEX-based android system formatting method and device |
CN115640269A (en) * | 2022-12-23 | 2023-01-24 | 北京麟卓信息科技有限公司 | Android application installation acceleration method based on-demand copying |
CN116204200A (en) * | 2023-02-03 | 2023-06-02 | 启朔(深圳)科技有限公司 | Application installation method, device, storage medium and equipment |
CN116204200B (en) * | 2023-02-03 | 2024-02-09 | 启朔(深圳)科技有限公司 | Application installation method, device, storage medium and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108062226A (en) | A kind of Android system application pre-installation method and terminal | |
US8607224B2 (en) | System for packaging native program extensions together with virtual machine applications | |
CN1781077B (en) | System and method for selective loading of remote classes or resources for debugging a Java application in a Java micro device | |
CN106406960B (en) | Method for rapidly deploying software in linux environment | |
US7640542B2 (en) | Managing midlet suites in OSGI environment | |
CN104252342B (en) | Embedded application implementation method and device capable of configuring parameters | |
CN103970563B (en) | The method of dynamic load Android class | |
CN106325847B (en) | Method and device for acquiring application program function based on iOS platform | |
US20160019072A1 (en) | Dynamic determination of application server runtime classloading | |
WO2015055074A1 (en) | Method and device for dynamically loading and invoking program | |
TWI341992B (en) | Method and system for quickly developing an embedded operating system through utilizing an automated building framework | |
CN103826162B (en) | Embedded system of intelligent set top box based on Android and recovery method of embedded system | |
CN108363587A (en) | Application program operation and monitoring method, device, computer equipment and storage medium | |
CN102541591B (en) | Automatic guiding method of computer U-disc operating system compatible with multioperation system platform | |
CN105677421B (en) | Customization method and system for desktop starter of mobile terminal | |
CN114077423A (en) | Airport APP development container architecture based on mobile cross-platform | |
CN101515238A (en) | Method for automatically installing or uninstalling application software of computers and a device thereof | |
CN108089873A (en) | A kind of method and terminal of application component immediate updating | |
CN103327108A (en) | Cross-platform software management platform based on cloud and construction method thereof | |
CN104636122A (en) | Sharing method and device of capacity component | |
CN112286504A (en) | Method for realizing development and loading of small program based on Reactnative in mobile APP | |
CN108182070B (en) | Method and device for customizing android system ROM and terminal equipment | |
CN105320540A (en) | Batch installation method and system for Android applications | |
WO2016095686A1 (en) | Method for performing communication between browser and mobile terminal, and browser device | |
CN115421765A (en) | Big data management deployment method applied to domestic operating system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180522 |