CN103914317A - Rapid application recovery method - Google Patents
Rapid application recovery method Download PDFInfo
- Publication number
- CN103914317A CN103914317A CN201210594263.0A CN201210594263A CN103914317A CN 103914317 A CN103914317 A CN 103914317A CN 201210594263 A CN201210594263 A CN 201210594263A CN 103914317 A CN103914317 A CN 103914317A
- Authority
- CN
- China
- Prior art keywords
- installation kit
- mobile terminal
- application
- application installation
- icon
- 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
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000011084 recovery Methods 0.000 title claims abstract description 31
- 238000009434 installation Methods 0.000 claims abstract description 116
- 230000006870 function Effects 0.000 description 39
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000010926 purge Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Landscapes
- Stored Programmes (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a rapid application recovery method which includes the steps: S1, searching a plurality of application installation packages from a mobile terminal; S2, respectively acquiring storage paths of the application installation packages in the mobile terminal; S3, displaying an icon on a touch screen of the mobile terminal and adding a clicking event processing function for the icon; S4, detecting whether a clicking event exists or not by the clicking event processing function, entering the step S5 if the clicking event exists, and repeating the step S4 if the clicking event does not exist; S5, transmitting a broadcast message by the clicking event processing function to a system of the mobile terminal; S6, calling an installation package management function by the system according to the broadcast message; S7, installing the application installation packages by the installation package management function according to the storage paths of the application installation packages in the mobile terminal. By the aid of preset application installation packages, the application installation packages are selectively reinstalled, so that uninstalled preset applications are rapidly recovered.
Description
Technical field
The present invention relates to a kind of application quick recovery method, particularly relate to the quick recovery method of application program in a kind of mobile terminal.
Background technology
Telecom operators often need to buy some application software from third party software company is preloaded onto mobile terminal, such as mobile phone etc.To these pre-installed applications, user often can run into following situation:
1, after the system version by the renewals such as system software update or FOTA upgrading (Firmware Over The Air, aerial firmware upgrade) or update mobile terminal, certain or some pre-installed applications can not normally be opened or use;
2, mobile phone users is had a mind to or is not intended to uninstall after certain pre-installed applications, needs again to have used this pre-installed applications after a period of time.
For similar above-mentioned situation, mobile phone users or again download and install, or the application that recovers to preset by modes such as factory resets.
Install but again download application program, except needs spended time, energy and surfing flow, new download can be as the application program of prepackage on mobile terminal normally use be all unknown number.
Although the mode of factory reset does not need to emit those risks above in addition, but this operation itself needs one long period just can complete, in addition, can make mobile terminal carry out once " great purge ", even if the individual character setting of mobile phone users and types of applications of downloading and installing separately etc. have all come to naught, be drawback the more.
Summary of the invention
The technical problem to be solved in the present invention is in order to overcome after the default application program unloading of mobile terminal in prior art, reinstall the defect of complicated trouble, a kind of application quick recovery method is provided, utilize the installation kit of default application program, optionally reinstall, thus the fast quick-recovery of the default application program of realization unloading.
The present invention solves above-mentioned technical matters by following technical proposals:
The invention provides a kind of application quick recovery method, be characterized in, described application quick recovery method comprises the following steps:
S
1, from a mobile terminal, search multiple application installation kits;
S
2, obtain the store path of described application installation kit in described mobile terminal respectively;
S
3, at touch screen display one icon of described mobile terminal and be that described icon adds a click event handling function;
S
4, described click event is processed function check whether click event, if so, enters step S
5, otherwise repeating step S
4;
S
5, described click event processes function and sends the system of a broadcast message to described mobile terminal;
S
6, described system calls an installation kit management function based on described broadcast message;
S
7, described installation kit management function is successively according to the store path of each application installation kit in described mobile terminal, and each application installation kit is installed.
Wherein the mobile terminal in the present invention must have the touch-screen of demonstration and touch function, in addition described mobile terminal can be any mobile terminal equipment, and for example described mobile terminal can be handheld device, portable set, the plate equipment with touch-screen.And the present invention utilizes the Presentation Function of touch-screen to show and points out user, inform its manipulable scope, point out user's current mobile terminal the ready operation that can process.
Described application installation kit is the installation file of existing application program in mobile terminal, so the present invention does not limit kind and the character of described application installation kit, described application installation kit can be the installation kit of existing any application program.
Under this external existing memory module, the position of storing in mobile terminal based on each file, will inevitably produce corresponding store path and identify the memory location of described file in mobile terminal.
And click event described in the present invention is processed function and installation kit management function is the function performance that in mobile terminal, existing system has, in the present invention, mainly utilize these two functions to realize the monitoring of user's operation and the installation of application installation kit, process function and installation kit management function so repeat no more described click event herein.
Preferably, described step S
2in further comprising the steps of:
Obtain respectively title and the icon of each application installation kit from described application installation kit.
In the present invention, directly utilize and in application installation kit, described in white marker, apply the title of installation kit and icon as displaying contents, thereby reduced system self and generate the process of described displaying contents, simplified procedure for displaying.
Preferably, described step S
3in further comprising the steps of:
List is installed in the application being made up of title and the icon of each application installation kit in the touch screen display of described mobile terminal.
Be in the present invention, not only to point out user manipulable scope, also point out the particular content operating described in user, give user clearer and more definite indication.
Preferably, the system of described mobile terminal is Android system.
Preferably, described application installation kit is all stored under the same storage directory of described mobile terminal.
, described in the present invention, apply in the store path of installation kit and include identical part.Now be convenient to system and user administering and maintaining described application installation kit.
The present invention also provides a kind of application quick recovery method, is characterized in, described application quick recovery method comprises the following steps:
S
11, from a mobile terminal, search multiple application installation kits;
S
12, obtain the store path of described application installation kit in described mobile terminal respectively, and obtain title and the icon of each application installation kit from described application installation kit;
S
13, the title of each application installation kit and icon are generated to a display icon, and be presented on the touch-screen of described mobile terminal;
S
14, in each interpolation display icon, add click event and process function;
S
15, described click event is processed function check whether click event, if so, enters step S
16, otherwise repeating step S
15;
S
16, each described click event that click event detected processes function and sends the system of a broadcast message to described mobile terminal;
S
17, described system calls an installation kit management function based on described broadcast message;
S
18, described installation kit management function obtains and comprises the click event that sends described broadcast message and process the corresponding application installation kit of display icon of the function store path in described mobile terminal;
S
19, the store path of described installation kit management function based on described application installation kit install described application installation kit.
In the present invention, each application installation kit being generated to one on touch-screen Shows Picture and adds and correspondingly click event handling function, so now user's one of Fast Installation or excessively individual application program separately, thereby avoid repeating to install the application program of having installed in mobile terminal.
Preferably, the system of described mobile terminal is Android system.
Preferably, described application installation kit is all stored under the same storage directory of described mobile terminal.
Meeting on the basis of this area general knowledge, above-mentioned each optimum condition, can combination in any, obtains the preferred embodiments of the invention.
Positive progressive effect of the present invention is:
Application quick recovery method of the present invention, utilizes the installation kit of default application program, optionally reinstalls, thereby realizes the fast quick-recovery of the default application program of unloading.
So installation kit in the default application program that needs user to download individually to have unloaded not in the present invention, user no longer needs outside spended time, energy and surfing flow, and utilize between the installation kit of default application program and the version of system, must mate compatible, there will not be use can not situation.
In addition the present invention has avoided user to reply devastatingly default application program by the mode of factory reset, has avoided burying in oblivion of application program that user installed.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the application quick recovery method of the first embodiment of the present invention.
Fig. 2 is the process flow diagram of the application quick recovery method of the second embodiment of the present invention.
Embodiment
Mode below by embodiment further illustrates the present invention, but does not therefore limit the present invention among described scope of embodiments.
The first embodiment:
In the application quick recovery method of the present embodiment, user is triggered the application installation kit being stored in mobile terminal is installed by the icon of the touch-screen of touch mobile terminal, thereby realizes the fast quick-recovery installation of default application installation kit.
Wherein as shown in Figure 1, in the present embodiment, applying quick recovery method comprises the following steps:
Step 11 is searched multiple application installation kits from a mobile terminal.Wherein said application installation kit is all stored under the same storage directory of described mobile terminal, in the same storage directory of described default application installation kit in mobile terminal.
Step 12, obtains respectively the store path of described application installation kit in described mobile terminal, and also obtains respectively title and the icon of each application installation kit from described application installation kit.Although each application installation kit is in same storage directory in the present embodiment, each application installation kit has respectively store path separately.
Step 13, list is installed in the application forming at touch screen display one icon of described mobile terminal with by title and the icon of each application installation kit, and is that described icon adds a click event handling function.Be that the present embodiment is touching the exercisable icon of screen display, user can know the recovery operation that how to trigger application program, and directly utilizes title and the icon of each application installation kit to point out user content of operation as displaying contents.
Step 14, whether described click event is processed function check click event, if so, enters step 15, otherwise repeating step 14.
Step 15, described click event is processed function and is sent the system of a broadcast message to described mobile terminal.The system of wherein said mobile terminal is Android system, and user can also be according to the operating system that need to adopt other of mobile terminal in addition, for example, and the operating system that Saipan or Windows Mobile(Microsoft develop for mobile device) etc.
Step 16, described system is called an installation kit management function based on described broadcast message.
Step 17, described installation kit management function according to the store path of each application installation kit in described mobile terminal, is installed each application installation kit successively.
The second embodiment:
In the present embodiment, on the basis of the first embodiment, increase user and selected to need to recover the application installation kit of installing, thereby while having avoided needing to recover in the first embodiment, situation that all default application installation kits are all reinstalled.Thereby user has and selects higher degree of freedom.So improved user's experience.
Wherein as shown in Figure 2, the application quick recovery method of the present embodiment comprises the following steps:
Step 21 is searched multiple application installation kits from a mobile terminal, and wherein said application installation kit is all stored under the same storage directory of described mobile terminal.
Step 22, obtains respectively the store path of described application installation kit in described mobile terminal, and obtains title and the icon of each application installation kit from described application installation kit.
Step 23, generates a display icon by the title of each application installation kit and icon, and is presented on the touch-screen of described mobile terminal.In the present embodiment, the title of each application installation kit and icon are generated to a display icon, so there is multiple Showing Picture in the present embodiment on touch-screen, and each display icon all enables touch function by increasing click event processing function in step 24.So now user touches different icons, only can trigger the fitting operation of the application installation kit corresponding with described icon.
Step 24 is added a click event and is processed function in each interpolation display icon.
Step 25, whether described click event is processed function check click event, if so, enters step 26, otherwise repeating step 25.
Step 26, each described click event processing function that click event detected sends the system of a broadcast message to described mobile terminal.The system of the present embodiment is similarly Android system.
Step 27, described system is called an installation kit management function based on described broadcast message.
Step 28, described installation kit management function obtains the store path of the corresponding application installation kit of display icon that comprises the click event processing function that sends described broadcast message in described mobile terminal.
Step 29, the store path of described installation kit management function based on described application installation kit installed described application installation kit.
The application quick recovery method of the present embodiment concrete methods of realizing in described Android system is as follows:
Adopt the List View object ListView that a vertical direction is rolled, horizontal direction is filled to show all application installation kits under the pre-installed applications catalogue being positioned in mobile terminal internal storage medium, each in ListView all includes application icon and the Apply Names of corresponding application installation kit, very directly perceived.User can select any one in ListView to recover to install corresponding pre-installed applications, very simple, fast and efficient.
Specific implementation process is divided following 3 parts:
<1>, each topology file apk_item.xml of definition ListView, realize with the LinearLayout of linear placement, picture view ImageView is wherein for the application icon of display application installation kit, and text view TextView is wherein for the Apply Names of display application installation kit.The code of described topology file apk_item.xml is as follows:
<2>, definition recover the main file apk_list.xml of interface layout of application installation kit, a List View object ListView is mainly contained at described interface, ListView has wherein quoted the topology file apk_item.xml in part <1>, for presenting all parts under the pre-installed applications catalogue being positioned in mobile terminal internal storage medium.The code of the described main file apk_list.xml of interface layout is as follows:
What <3>, definition recovered application installation kit realizes class PresetApk.java, its entrance is placed under the catalogue at the same level of " setting "-> " right of privacy "-> " factory reset ", and states that this realizes class in the AndroidManifest.xml file of whole " setting " application.
Realize class PresetApk.java inside and divide again following 5 parts to realize at this:
[1], obtain collective data: realize a function getData (), obtain the absolute path information of the installation kit file of the apk form of all application installation kits under the pre-installed applications catalogue being positioned in mobile terminal internal storage medium, code is as follows:
[2], an inner classes ApkInfo of definition, it can go out application icon and Apply Names wherein according to the absolute path acquisition of information of file of application installation kit.
In the present embodiment, adopt application program installation kit analytical tool class PackageParse to resolve pre-installed applications installation kit file, therefrom obtain the resources-type Resource of its whole application message ApplicationInfo and its application context.
And then according to the icon(application icon id in ApplicationInfo) and labelRes(Apply Names id) from its Resource resource, obtain out and return to current application program context.Code is as follows:
[3], realize a content adapter collective data getting is tied to each list of entries Item of ListView above: create an inner classes ListAdapter and inherit from class BaseAdapter, described inner classes ListAdapter receives getData() collective data that function passes is come, then obtains application icon and the Apply Names of each pre-installed applications and is set on each list of entries Item of inner classes according to the inner classes ApkInfo in part [2].Code is as follows:
[4], realizing list shows: middle part [3] content adapter is set to view object list ListView upper, thereby realizes the demonstration of list.
[5], realize list of entries click event: process function for click event in view object list ListView interpolation, described event handling function can send an event Intent who contains absolute path information.The installation kit carrying in Android system is installed unloading management application program packageInstall can process above-mentioned Intent event, the installation kit file of corresponding apk form is installed according to absolute path information wherein, thus mobile phone users just can recover to install by the needs of selecting in ListView that reinstalled.Code is as follows:
Although more than described the specific embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, protection scope of the present invention is limited by appended claims.Those skilled in the art is not deviating under the prerequisite of principle of the present invention and essence, can make various changes or modifications to these embodiments, but these changes and modification all fall into protection scope of the present invention.
Claims (8)
1. an application quick recovery method, is characterized in that, described application quick recovery method comprises the following steps:
S
1, from a mobile terminal, search multiple application installation kits;
S
2, obtain the store path of described application installation kit in described mobile terminal respectively;
S
3, at touch screen display one icon of described mobile terminal and be that described icon adds a click event handling function;
S
4, described click event is processed function check whether click event, if so, enters step S
5, otherwise repeating step S
4;
S
5, described click event processes function and sends the system of a broadcast message to described mobile terminal;
S
6, described system calls an installation kit management function based on described broadcast message;
S
7, described installation kit management function is successively according to the store path of each application installation kit in described mobile terminal, and each application installation kit is installed.
2. application quick recovery method as claimed in claim 1, is characterized in that, described step S
2in further comprising the steps of:
Obtain respectively title and the icon of each application installation kit from described application installation kit.
3. application quick recovery method as claimed in claim 2, is characterized in that, described step S
3in further comprising the steps of:
List is installed in the application being made up of title and the icon of each application installation kit in the touch screen display of described mobile terminal.
4. application quick recovery method as claimed in claim 1, is characterized in that, the system of described mobile terminal is Android system.
5. application quick recovery method as claimed in claim 1, is characterized in that, described application installation kit is all stored under the same storage directory of described mobile terminal.
6. an application quick recovery method, is characterized in that, described application quick recovery method comprises the following steps:
S
11, from a mobile terminal, search multiple application installation kits;
S
12, obtain the store path of described application installation kit in described mobile terminal respectively, and obtain title and the icon of each application installation kit from described application installation kit;
S
13, the title of each application installation kit and icon are generated to a display icon, and be presented on the touch-screen of described mobile terminal;
S
14, in each interpolation display icon, add click event and process function;
S
15, described click event is processed function check whether click event, if so, enters step S
16, otherwise repeating step S
15;
S
16, each described click event that click event detected processes function and sends the system of a broadcast message to described mobile terminal;
S
17, described system calls an installation kit management function based on described broadcast message;
S
18, described installation kit management function obtains and comprises the click event that sends described broadcast message and process the corresponding application installation kit of display icon of the function store path in described mobile terminal;
S
19, the store path of described installation kit management function based on described application installation kit install described application installation kit.
7. application quick recovery method as claimed in claim 6, is characterized in that, the system of described mobile terminal is Android system.
8. application quick recovery method as claimed in claim 6, is characterized in that, described application installation kit is all stored under the same storage directory of described mobile terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210594263.0A CN103914317B (en) | 2012-12-31 | 2012-12-31 | Using quick recovery method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210594263.0A CN103914317B (en) | 2012-12-31 | 2012-12-31 | Using quick recovery method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103914317A true CN103914317A (en) | 2014-07-09 |
CN103914317B CN103914317B (en) | 2018-07-20 |
Family
ID=51040022
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210594263.0A Expired - Fee Related CN103914317B (en) | 2012-12-31 | 2012-12-31 | Using quick recovery method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103914317B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104346206A (en) * | 2014-10-30 | 2015-02-11 | 北京奇虎科技有限公司 | Method and system for recovering installation of unloaded software |
CN105653324A (en) * | 2015-12-25 | 2016-06-08 | 珠海全志科技股份有限公司 | Method for automatically updating Android system application program list |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070083354A1 (en) * | 2005-10-12 | 2007-04-12 | Storage Appliance Corporation | Emulation component for data backup applications |
CN101853296A (en) * | 2010-05-28 | 2010-10-06 | 华为终端有限公司 | Method and device for managing application program |
CN102110031A (en) * | 2011-02-23 | 2011-06-29 | 宇龙计算机通信科技(深圳)有限公司 | Android system-based application program backup and recovery method |
CN102346697A (en) * | 2011-09-27 | 2012-02-08 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for backing up and recovering Android package (APK) and mobile terminal |
CN102375750A (en) * | 2010-08-25 | 2012-03-14 | 西门子公司 | Software recovery device and method |
-
2012
- 2012-12-31 CN CN201210594263.0A patent/CN103914317B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070083354A1 (en) * | 2005-10-12 | 2007-04-12 | Storage Appliance Corporation | Emulation component for data backup applications |
CN101853296A (en) * | 2010-05-28 | 2010-10-06 | 华为终端有限公司 | Method and device for managing application program |
CN102375750A (en) * | 2010-08-25 | 2012-03-14 | 西门子公司 | Software recovery device and method |
CN102110031A (en) * | 2011-02-23 | 2011-06-29 | 宇龙计算机通信科技(深圳)有限公司 | Android system-based application program backup and recovery method |
CN102346697A (en) * | 2011-09-27 | 2012-02-08 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for backing up and recovering Android package (APK) and mobile terminal |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104346206A (en) * | 2014-10-30 | 2015-02-11 | 北京奇虎科技有限公司 | Method and system for recovering installation of unloaded software |
CN104346206B (en) * | 2014-10-30 | 2018-06-01 | 北京奇虎科技有限公司 | A kind of method and system of unloaded software rejuvenation installation |
CN105653324A (en) * | 2015-12-25 | 2016-06-08 | 珠海全志科技股份有限公司 | Method for automatically updating Android system application program list |
Also Published As
Publication number | Publication date |
---|---|
CN103914317B (en) | 2018-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10467025B2 (en) | Managing delivery of code and dependent data using application containers | |
US9817648B2 (en) | Application containers with dynamic sub-package loading | |
US9495071B2 (en) | Wireless communication apparatus and method of adding a widget therefor | |
JP6461173B2 (en) | Message withdrawal method and apparatus | |
CN103544033B (en) | Method, device and associated equipment for rolling back application program | |
CN106502703B (en) | Function calling method and device | |
EP2684383A1 (en) | Systems and methods for testing content of mobile communication devices | |
CN102801755A (en) | Application management method and application platform | |
EP2866158A1 (en) | Method for reader to provide service, reader, terminal and computer storage medium | |
CN102893271B (en) | Use the data uploading method of shortcut | |
US9654607B2 (en) | Method and apparatus for generating application icon | |
CN103034546B (en) | The method and device of inter-application communication in iOS system | |
EP3884375B1 (en) | Accelerating application and sub-package installations | |
CN105630932A (en) | Method and device for managing files of intelligent terminals | |
CN106953898B (en) | Method and device for acquiring software package | |
WO2011095108A1 (en) | Dynamic display method for application program interface and device thereof | |
CN112286586B (en) | Plug-in configuration method and related equipment | |
CN105426192A (en) | Information modification method and terminal | |
US8972533B1 (en) | Activating touch-sensitive keys utilizing configuration settings | |
CN103914317A (en) | Rapid application recovery method | |
CN106708501B (en) | Activity monitoring method and device | |
KR101369275B1 (en) | Method and apparatus for integrating java software into mobile terminal, and mobile terminal | |
CN106445594B (en) | System application installation method and device and terminal equipment | |
CN105653143B (en) | Processing method of application program operation interface and mobile terminal for realizing method | |
CN111367963B (en) | Method, device, equipment and computer storage medium for determining source channel |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180720 |