CN103716460A - Preset application and one-key calling-out processing method based on android system - Google Patents
Preset application and one-key calling-out processing method based on android system Download PDFInfo
- Publication number
- CN103716460A CN103716460A CN201310696394.4A CN201310696394A CN103716460A CN 103716460 A CN103716460 A CN 103716460A CN 201310696394 A CN201310696394 A CN 201310696394A CN 103716460 A CN103716460 A CN 103716460A
- Authority
- CN
- China
- Prior art keywords
- key
- application
- preset
- apk
- android system
- 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.)
- Granted
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The invention relates to the field based on an Android system, and particularly relates to a preset application and one-key calling-out processing method based on the android system. Aiming at problems in the prior art, the preset application and one-key calling-out processing method based on the android system is provided. The method is based on an Android platform, and certain specific applications and xml configuration files are preset in corresponding models of a manufacturer, wherein important attributes of preset application programs and other xml files paths are stored in the xml files. Then an entrance for installing the preset application is additionally arranged in a factory menu. When a user selects to install the application via the entrance, file copying of the preset application is completed by the system according to the preset xml files and installation of the preset application is completed. Finally, a button for the preset application is additionally arranged on a remote controller of an intelligent terminal. The button is only corresponding to one type of specific application. When the user presses the button, the corresponding application is started.
Description
Technical field
The present invention relates to based on Android system field, relate in particular to a kind of preset application and key exhalation processing method based on Android system.
Background technology
Along with the fast development of Android system, increasing intelligent terminal carries Android platform.In order to meet the demand of user to application-specific in specific intelligence terminal, manufacturer need to preset these application facilitate user installation on this kind equipment, and realizes a key call out function of applying and come user-friendly.Yet Android system itself does not have the ability of controlling to preset application, can not solve the software version compatibility problem of multiclass product.Therefore, invent a kind of control method to pre-installed applications, and realize a key call out function of application.In a series products, pre-installed applications only has specific type that the application of prepackage could be installed.This method has well realized the compatibility of software version.
Summary of the invention
Technical problem to be solved by this invention is: for prior art factory pre-set APK and a key exhalation problem, provide a kind of preset application and key exhalation processing method based on Android system.The present invention is based on Android platform, in the corresponding type of manufacturer, preset some specific application and xml configuration file, store the important property of preset application (preset APK) and the path of other xml files in xml file.
the technical solution used in the present invention is as follows:
A kind of preset application processing method based on Android system comprises:
The xml configuration file that step 1: factory pre-set APK is corresponding with APK is positioned in the factory pre-set file APP in intelligent terminal factory menu jointly;
Step 2: intelligent terminal is installed Android system, starts intelligent terminal and enters the preset application of option of factory's menu, carries out the parsing of xml configuration file, according to resolving content, by eligible factory pre-set APK copy to application can execution route under;
Step 3: record this reproducting content to key application mapping table, restart intelligent terminal;
In step 4:Android system, system program receives the key value of intelligent terminal one key exhalation button, remove to resolve key application mapping table, according to analysis result, judge the factory pre-set APK number that this key is corresponding, if number is greater than 1, the corresponding list of breathing out, otherwise directly start corresponding factory pre-set APK.
Preferably, the Xml configuration file content in described step 1 comprises preset software vendor title, manufacturer's customization type designation, manufacturer's customization type asterisk wildcard, the external path of factory pre-set software application, a key exhalation list of application.
Preferably, in described step 2, xml configuration file parsing detailed process is:
Step 21: resolve xml configuration file, obtain two-level node, the number that described one-level node is root node, two-level node is the node of preset APK trade name;
Step 22: resolve one by one two-level node, according to preset APK trade name, external path and a key exhalation list of application of its corresponding manufacturer customization type designation, manufacturer's customization type asterisk wildcard, factory pre-set APK are stored in a structure.
Step 23: from this structure, read manufacturer customization type designation and mate with the current type of intelligent terminal, if mated, by preset APK copy to application can execution route under, otherwise do not do any action.
In described step 3, record this reproducting content to key application mapping table concrete steps:
Step 31: by factory pre-set APK copy to application can execution route after, the preset APK trade name that eligible preset APK is corresponding writes key application mapping table:
Step 32: the bag name of preset APK corresponding to preset APK manufacturer is write to key application mapping table:
Step 33: the bag name of preset application is write under the identification nodes that button key is corresponding:
Preferably, in described step 4, resolve key application mapping table concrete steps and comprise that, by the capable key application mapping table that reads, inquiry sign, if find to be designated the sign that button key is corresponding, go to read sign content below, count the number of corresponding factory pre-set APK.
Preferably, the external path of described factory pre-set APK refers to the store path of the corresponding factory pre-set APK of external hardware and xml configuration file.
Preferably, a described key exhalation button key value refers to button key value corresponding to manufacturer's customization key
.
in sum, owing to having adopted technique scheme, the invention has the beneficial effects as follows:
1) the present invention has been solved simply, easily and on Android platform, has been controlled the breathe out difficult problem of application of preset application and a key by a kind of breathe out method of application-specific of preset application and a key, effectively solve the compatibling problem of software version, reduced the branch of software code.Wholely control convenient, flexiblely, can significantly improve user and experience.Contribute to the fusion of application and Android system simultaneously.
2) the xml configuration file that factory pre-set APK is corresponding with APK is positioned in the factory pre-set file APP in intelligent terminal factory menu jointly; Intelligent terminal carries out the parsing of xml configuration file, according to resolving content, by eligible factory pre-set APK copy to application can execution route under; System resource is effectively utilized.
3) in Android system, system program receives the key value of intelligent terminal one key exhalation button, remove to resolve key application mapping table, according to analysis result, judge the factory pre-set APK number that this key is corresponding, if number is greater than 1, the corresponding list of breathing out, otherwise directly start corresponding factory pre-set APK, make different preset APK design different processing methods, effectively complete the prefabricated APK of manufacturer.In factory's menu, increase the entrance that preset application is installed, when user selects application is installed by this entrance, system can complete the file copy of preset application according to preset xml file, and completes the installation to preset application.Finally, increased the button of preset application on the remote controller of intelligent terminal, the only corresponding a kind of specific application of this button starts corresponding application after user pushes button.
Embodiment
Disclosed all features in this specification, or the step in disclosed all methods or process, except mutually exclusive feature and/or step, all can combine by any way.
Disclosed arbitrary feature in this specification (comprising any accessory claim, summary and accompanying drawing), unless narration especially all can be replaced by other equivalences or the alternative features with similar object.That is,, unless narration especially, each feature is an example in a series of equivalences or similar characteristics.
A kind of preset application processing method based on Android system comprises:
The xml configuration file that step 1: factory pre-set APK is corresponding with APK is positioned in the factory pre-set file APP in intelligent terminal factory menu jointly; Xml configuration file content comprises preset software vendor title, manufacturer's customization type designation, manufacturer's customization type asterisk wildcard, the external path of factory pre-set software application, a key exhalation list of application
Step 2: intelligent terminal is installed Android system, starts intelligent terminal and enters the preset application of option of factory's menu, carries out the parsing of xml configuration file, according to resolving content, by eligible factory pre-set APK copy to application can execution route under; Detailed process is:
Step 21: resolve xml configuration file, obtain two-level node, the number that described one-level node is root node, two-level node is the node of preset APK trade name;
Step 22: resolve one by one two-level node, according to preset APK trade name, external path and a key exhalation list of application of its corresponding manufacturer customization type designation, manufacturer's customization type asterisk wildcard, factory pre-set APK are stored in a structure.
Step 23: from this structure, read manufacturer customization type designation and mate with the current type of intelligent terminal, if mated, by preset APK copy to application can execution route under, otherwise do not do any action.
Step 3: record this reproducting content to key application mapping table, restart intelligent terminal;
In step 4:Android system, system program receives the key value of intelligent terminal one key exhalation button, remove to resolve key application mapping table, according to analysis result, judge the factory pre-set APK number that this key is corresponding, if number is greater than 1, the corresponding list of breathing out, otherwise directly start corresponding factory pre-set APK.
Wherein, in described step 3, record this reproducting content to key application mapping table concrete steps:
Step 31: by factory pre-set APK copy to application can execution route after, the preset APK trade name that eligible preset APK is corresponding writes key application mapping table:
Step 32: the bag name of preset APK corresponding to preset APK manufacturer is write to key application mapping table:
Step 33: the bag name of preset application is write under the identification nodes that button key is corresponding:
Preferably, in described step 4, resolve key application mapping table concrete steps and comprise that, by the capable key application mapping table that reads, inquiry sign, if find to be designated the sign that button key is corresponding, go to read sign content below, count the number of corresponding factory pre-set APK.
The external path of described factory pre-set APK refers to the store path of the corresponding factory pre-set APK of external hardware and xml configuration file.
A described key exhalation button key value refers to button key value corresponding to manufacturer's customization key.
The present invention is not limited to aforesaid embodiment.The present invention expands to any new feature or any new combination disclosing in this manual, and the arbitrary new method disclosing or step or any new combination of process.
Claims (7)
1. the preset application based on Android system and a key exhalation processing method, is characterized in that comprising:
The xml configuration file that step 1: factory pre-set APK is corresponding with APK is positioned in the factory pre-set file APP in intelligent terminal factory menu jointly;
Step 2: intelligent terminal is installed Android system, starts intelligent terminal and enters the preset APK option of factory's menu, carries out the parsing of xml configuration file, according to resolving content, by eligible factory pre-set APK copy to application can execution route under;
Step 3: record this reproducting content to key application mapping table, restart intelligent terminal;
In step 4:Android system, system program receives the key value of intelligent terminal one key exhalation button, remove to resolve key application mapping table, according to analysis result, judge the factory pre-set APK number that this key is corresponding, if number is greater than 1, the corresponding list of breathing out, otherwise directly start corresponding factory pre-set APK.
2. a kind of preset application and key exhalation processing method based on Android system according to claim 1, is characterized in that the Xml configuration file content in described step 1 comprises preset software vendor title, manufacturer's customization type designation, manufacturer's customization type asterisk wildcard, the external path of factory pre-set software application, a key exhalation list of application.
3. a kind of preset application and key exhalation processing method based on Android system according to claim 1, is characterized in that in described step 2 that xml configuration file is resolved detailed process and is:
Step 21: resolve xml configuration file, obtain two-level node, the number that described one-level node is root node, two-level node is the node of preset APK trade name;
Step 22: resolve one by one two-level node, according to preset APK trade name, external path and a key exhalation list of application of its corresponding manufacturer customization type designation, manufacturer's customization type asterisk wildcard, factory pre-set APK are stored in a structure;
Step 23: from this structure, read manufacturer customization type designation and mate with the current type of intelligent terminal, if mated, by preset APK copy to application can execution route under, otherwise do not do any action.
4. a kind of preset application and key exhalation processing method based on Android system according to claim 1, is characterized in that recording in described step 3 this reproducting content to key application mapping table concrete steps:
Step 31: by factory pre-set APK copy to application can execution route after, the preset APK trade name that eligible preset APK is corresponding writes key application mapping table:
Step 32: the bag name of preset application corresponding to preset APK manufacturer is write to key application mapping table:
Step 33: the bag name of preset APK is write under the identification nodes that button key is corresponding.
5. a kind of preset application and key exhalation processing method based on Android system according to claim 1, it is characterized in that in described step 4, resolving key application mapping table concrete steps comprises by the capable key application mapping table that reads, inquiry sign, if find to be designated the sign that button key is corresponding, go to read sign content below, count the number of corresponding factory pre-set APK.
6. a kind of preset application and key exhalation processing method based on Android system according to claim 1, is characterized in that the external path of described factory pre-set APK refers to the store path of the corresponding factory pre-set APK of external hardware and xml configuration file.
7. a kind of preset application and key exhalation processing method based on Android system according to claim 1, is characterized in that a described key exhalation button key value refers to button key value corresponding to manufacturer's customization key.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310696394.4A CN103716460B (en) | 2013-12-18 | 2013-12-18 | A kind of preset application based on Android system and a key exhalation processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310696394.4A CN103716460B (en) | 2013-12-18 | 2013-12-18 | A kind of preset application based on Android system and a key exhalation processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103716460A true CN103716460A (en) | 2014-04-09 |
CN103716460B CN103716460B (en) | 2015-12-30 |
Family
ID=50409018
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310696394.4A Active CN103716460B (en) | 2013-12-18 | 2013-12-18 | A kind of preset application based on Android system and a key exhalation processing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103716460B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107832092A (en) * | 2017-11-24 | 2018-03-23 | 四川长虹电器股份有限公司 | Suitable for the software platform and processing method of individual demand |
CN112929872A (en) * | 2021-01-21 | 2021-06-08 | 读书郎教育科技有限公司 | System and method for realizing Android terminal preinstallation application in factory based on WIFI |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102083239A (en) * | 2009-11-30 | 2011-06-01 | 中国移动通信集团云南有限公司 | Method and system for data processing |
CN102833399A (en) * | 2012-08-10 | 2012-12-19 | 广东欧珀移动通信有限公司 | Application program selection method and device |
-
2013
- 2013-12-18 CN CN201310696394.4A patent/CN103716460B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102083239A (en) * | 2009-11-30 | 2011-06-01 | 中国移动通信集团云南有限公司 | Method and system for data processing |
CN102833399A (en) * | 2012-08-10 | 2012-12-19 | 广东欧珀移动通信有限公司 | Application program selection method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107832092A (en) * | 2017-11-24 | 2018-03-23 | 四川长虹电器股份有限公司 | Suitable for the software platform and processing method of individual demand |
CN112929872A (en) * | 2021-01-21 | 2021-06-08 | 读书郎教育科技有限公司 | System and method for realizing Android terminal preinstallation application in factory based on WIFI |
CN112929872B (en) * | 2021-01-21 | 2022-11-25 | 读书郎教育科技有限公司 | System and method for realizing Android terminal preinstallation application in factory based on WIFI |
Also Published As
Publication number | Publication date |
---|---|
CN103716460B (en) | 2015-12-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108830720B (en) | Intelligent contract running method, device, system and computer readable storage medium | |
CN107925696B (en) | System and method for identifying, indexing and navigating to a depth state of a mobile application | |
WO2017185606A1 (en) | Overlay mechanism-based apk development method and system | |
WO2017016117A1 (en) | Playback system playback list switching control method and apparatus | |
CN104111855A (en) | Method for dynamic update of iOS (Iphone Operation System) client based on Lua | |
CN105335183A (en) | Software upgrade method and system | |
KR101427561B1 (en) | Method for adaptively executing an android application on tizen platform by automatically transforming the android application into tizen-installable package, and computer-readable recording medium for the same | |
US9063819B2 (en) | Extensible patch management | |
US9639321B2 (en) | Method and system for controlling the playback of multimedia content | |
JP2007207226A (en) | Extensible user interface extension method for componentized application environment, componentized application environment data processing system, and computer program | |
CN105975367B (en) | Test method and device for mobile equipment | |
WO2017016116A1 (en) | Playback system group playback control method and terminal | |
WO2020048498A1 (en) | Startup video playing method and system, and shutdown video playing method and system | |
CN103631590A (en) | Method for editing automated testing script | |
CN105700872B (en) | The control method and system of intelligent terminal application program updating | |
CN104536398A (en) | Frequency converter monitoring method and system | |
CN103716460A (en) | Preset application and one-key calling-out processing method based on android system | |
CN103997684A (en) | Method and device for updating operating system | |
CN103955384A (en) | Individual customization supporting method based on multi-tenant mode | |
WO2016082450A1 (en) | Method for upgrading user terminal, and user terminal | |
CN108132832B (en) | Application program starting method and device | |
CN110659020A (en) | Implementation method, operation method and device for dynamically constructing project architecture under multi-warehouse environment | |
KR20150124530A (en) | Application build system, control method thereof, and recording medium for recording program for executing the control method | |
CN103677845A (en) | Website application deployment method | |
CN103699404B (en) | A kind of method of the corresponding multiple prefabricated application programs of same movement different type of machines |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |