CN104166559B - Delete the method and device of default desktop - Google Patents

Delete the method and device of default desktop Download PDF

Info

Publication number
CN104166559B
CN104166559B CN201310185972.8A CN201310185972A CN104166559B CN 104166559 B CN104166559 B CN 104166559B CN 201310185972 A CN201310185972 A CN 201310185972A CN 104166559 B CN104166559 B CN 104166559B
Authority
CN
China
Prior art keywords
desktop
default
application
module
information
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.)
Active
Application number
CN201310185972.8A
Other languages
Chinese (zh)
Other versions
CN104166559A (en
Inventor
颜泰国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310185972.8A priority Critical patent/CN104166559B/en
Publication of CN104166559A publication Critical patent/CN104166559A/en
Application granted granted Critical
Publication of CN104166559B publication Critical patent/CN104166559B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention proposes a kind of method and device for deleting default desktop, and method includes:Receive the instruction for deleting desktop;Preset virtual desktop application is installed;Start the virtual desktop application, to remove current desktop default value;Delete the virtual desktop application;Obtain the information of all desktop applications to prestore;Show the information of the desktop application.Pass through the present processes, when user wants to replace desktop, it only needs to input the instruction for deleting desktop, can a key remove current default desktop, the selective listing of desktop is replaced so as to be directly entered selection, the complicated processes for removing current default desktop manually are eliminated relative to the prior art, the operation for replacing desktop is simplified, saves the time.

Description

Delete the method and device of default desktop
Technical field
The present invention relates to field of computer technology, more particularly to a kind of method and device for deleting default desktop.
Background technology
With the development of mobile terminal, user is higher and higher to the individual demand of system operatio, and script user can only lead to It crosses brush machine, even buy some mobile phone desktop products that corresponding brand mobile phone could use, then more actively reduce uses door now Sill are proposed corresponding application product, these products are commonly referred to as mobile phone desktop application(Home App).After this kind of software is installed The primary interface of system can not be used, and enters some personalized homepages.
At present, mobile phone desktop in the market is mainly matched colors in desktop, has been done very in terms of desktop theme and desktop screen sliding effect Big improvement makes user be greatly improved mobile phone desktop experience.But since desktop application type in the market is various, And with their own characteristics so that switching of the user between multiple desktops becomes more frequently.
Therefore user wants the demand reselected just more and more strongly after a default desktop has been used, but for Some operating systems, such as 2.2 system of Android(Android is half open source operating system based on Linux), user When wanting to replace other desktop applications after there is provided default desktop, the installation into application program and delete list, root are needed The desktop application being currently installed on is found out according to the application name of default desktop, and unloads the desktop application.Then entering back into storage will be more The position for the desktop application changed starts the installation procedure of desktop application to be installed, completes the replacement of desktop application.It is as it can be seen that existing This replacement desktop application mode of operation it is very cumbersome, need to expend the more time.
Invention content
The object of the present invention is to provide a kind of method and devices for deleting default desktop, are grasped with solving some existing mobile phones Make the problem of system conversion desktop is cumbersome.
The present invention proposes a kind of method for deleting default desktop, including:
Receive the instruction for deleting desktop;
Preset virtual desktop application is installed;
Start the virtual desktop application, to remove current desktop default value;
Delete the virtual desktop application;
Obtain the information of all desktop applications to prestore;
Show the information of the desktop application.
The present invention also proposes a kind of device for deleting default desktop, including:
Command reception module, for receiving the instruction for deleting desktop;
Module is installed, after the instruction for deleting desktop is received in described instruction receiving module, is installed preset virtual Desktop application;
Starting module, for after the installation module is mounted with the virtual desktop application, starting the virtual desktop Using to remove current desktop default value;
Removing module, for after the starting module starts the virtual desktop application, deleting the virtual desktop should With;
Data extraction module, for obtaining the information of all desktop applications to prestore;
Display module, for the information of all desktop applications that the data extraction module obtains to be shown.
Relative to the prior art, the beneficial effects of the invention are as follows:By the present processes and device, user wants to replace During desktop, it is only necessary to which the instruction of desktop is deleted in input, it is possible to which a key removes current default desktop, so as to be directly entered Selection will replace the selective listing of desktop, and the complicated processes for removing current default desktop manually are eliminated relative to the prior art, The operation for replacing desktop is simplified, saves the time.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow the above and other objects, features and advantages of the present invention can It is clearer and more comprehensible, special below to lift preferred embodiment, and coordinate attached drawing, detailed description are as follows.
Description of the drawings
Fig. 1 is a kind of flow chart of the method for deletion default desktop of the embodiment of the present invention;
Fig. 2 is the flow chart of another method for deleting default desktop of the embodiment of the present invention;
Fig. 3 is a kind of structure chart of the device of deletion default desktop of the embodiment of the present invention;
Fig. 4 is the structure chart of another device for deleting default desktop of the embodiment of the present invention;
Fig. 5 is a kind of displaying interface schematic diagram of desktop application of the embodiment of the present invention.
Specific embodiment
Further to illustrate that the present invention reaches technological means and effect that predetermined goal of the invention is taken, below in conjunction with attached Figure and preferred embodiment, to propose according to the present invention method and device its specific embodiment of deletion default desktop, method, Step and effect are described in detail as after.
For the present invention aforementioned and other technology contents, feature and effect, in following cooperation with reference to the preferable reality of schema Applying during example is described in detail clearly to be presented.By the explanation of specific embodiment, when can be to the present invention to reach predetermined mesh The technological means taken and effect be able to more deeply and it is specific understand, however institute's accompanying drawings are only to provide with reference to saying It is bright to be used, it is not intended to limit the present invention.
In an embodiment of the present invention, restarting the mobile phone desktop newly installed after new mobile phone desktop application is installed should With system automatically will remove the default value of mobile phone desktop, and pop up selective listing.The application is exactly to simulate this process to reach To the effect for removing mobile phone desktop default value.
Desktop default value described in the embodiment of the present invention refers to currently used default desktop application name, when this table of setting In the case of the default value of face, desktop is revert to from any entrance, system will all start the default desktop application.
Fig. 1 is referred to, is a kind of flow chart of the method for deletion default desktop of the embodiment of the present invention, including following Step:
S11 receives the instruction for deleting desktop.User's input can be guided to delete by showing interactive interface on the client Except the instruction of desktop.
S12 installs preset virtual desktop application.
The virtual desktop application is an empty application(Acitivity), can be in Manifest.xml by this void Intend desktop application and be set as desktop entrance, and by using the setComponentEnabledSetting of PackageManager The enable values that virtual desktop is applied are set as true by functional based method, and the simulation that the virtual desktop is applied is installed to realize.
S13 starts the virtual desktop application, to remove current desktop default value.Start virtual desktop in application, system Current desktop default value can be removed automatically.
S14 deletes the virtual desktop application.
It can be incited somebody to action by using the setComponentEnabledSetting functional based methods of PackageManager virtual The enable values of desktop application are set as false, and the simulation that the virtual desktop is applied is deleted to realize.
S15 obtains the information of all desktop applications to prestore.
The desktop application to prestore in system is the desktop application that user can select installation, can be passed through The List that the queryIntentActivities functional based methods of PackageManager return<ResolveInfo>Acquisition system In all desktop application information, the information of desktop application stored in system is included wherein in ResolveInfo parameters.It is described The information of desktop application can include title, icon, label of desktop application etc..
S16 shows the information of the desktop application.
The information of the desktop application to prestore in system can be showed into user by way of list, incorporated by reference to referring to figure 5, it is a kind of displaying interface schematic diagram of desktop application of the embodiment of the present invention, wherein the button icon of " removing default desktop " It can be used for receiving the instruction input by user for deleting desktop.When user clicks the removing default desktop " button after, you can with The deletion of default desktop application is completed, and pop up each table to prestore as shown in Figure 5 by built-in virtual desktop application Face application message, for selection by the user.After user selects a desktop application in lists, system can write this desktop application name Enter in system configuration file(As desktop default value), started pair according to this desktop default value when to be switched to desktop again The desktop application answered.
Method through this embodiment, when user wants to replace desktop, it is only necessary to which the instruction of desktop is deleted in input, it is possible to One key removes current default desktop, to replace the selective listing of desktop so as to be directly entered selection, simplify replacement table The operation in face.
Refer to Fig. 2, be the flow chart of another method for deleting default desktop of the embodiment of the present invention, including with Lower step:
S21 obtains default desktop information and is shown.Default desktop information can be obtained automatically when program starts, And user is showed, user to be allowed to be confirmed whether to delete the current default desktop.Or it can also be connect by interactive interface The instruction input by user for obtaining default desktop information is received, and is obtaining the displaying of current default DESKTOP INFORMATION rear line.It can be with The List obtained by the getPreferredActivities functional based methods of PackageManager<IntentFilter>, so Search afterwards in IntentFilter parameters Intent.ACTION_MAIN, Intent.CATEGORY_HOME for including simultaneously and The item of Intent.CATEGORY_DEFAULT is the information of default desktop.
S22 receives the instruction for deleting desktop.User's input can be guided to delete by showing interactive interface on the client Except the instruction of desktop.
S23 installs preset virtual desktop application.
The virtual desktop application is an empty application(Acitivity), can be in Manifest.xml by this void Intend desktop application and be set as desktop entrance, and by using the setComponentEnabledSetting of PackageManager The enable values that virtual desktop is applied are set as true by functional based method, and the simulation that the virtual desktop is applied is installed to realize.
S24 starts the virtual desktop application, to remove current desktop default value.
The virtual desktop is set in application, finish can directly be set in onCreate functions, so as to virtual at this Desktop application just directly exits when starting, and it is virtual would not to occur this in the desktop application list subsequently shown to user in this way Desktop application, avoid the virtual desktop application be easily selected by a user caused by invalid operation.
S25 deletes the virtual desktop application.
It can be incited somebody to action by using the setComponentEnabledSetting functional based methods of PackageManager virtual The enable values of desktop application are set as false, and the simulation that the virtual desktop is applied is deleted to realize.
S26 obtains the information of all desktop applications to prestore.
The desktop application to prestore in system is the desktop application that user can select installation, can be passed through The List that the queryIntentActivities functional based methods of PackageManager return<ResolveInfo>Acquisition system In all desktop application information, the information of desktop application stored in system is included wherein in ResolveInfo parameters.It is described The information of desktop application can include title, icon, label of desktop application etc..
S27 shows the information of the desktop application.For selection by the user.
The application also proposes a kind of device for deleting default desktop, may be mounted on mobile terminal, in user When needing replacing desktop, current default desktop is rapidly deleted.Fig. 3 is referred to, a kind of deletion for the embodiment of the present invention is write from memory Recognize the structure chart of the device of desktop, which includes command reception module 31, installation module 33, starting module 34, removing module 35th, data extraction module 37 and display module 38.Installation module 33 be connected respectively with command reception module 31, starting module 34 and Module 33 is installed to be connected, removing module 35 is connected with starting module 34, and data extraction module 37 is connected with removing module 35, displaying Module 38 is connected with data extraction module 37.
Command reception module 31 deletes the instruction of desktop for receiving, and an interactive interface can be shown to user, and The instruction input by user for deleting desktop is received by the button icon on interactive interface.Fig. 5 depicts the embodiment of the present invention A kind of interactive interface schematic diagram, the button icon that user clicks " remove default desktop " can send out the finger for deleting desktop It enables, which is also used for showing the list of desktop application information selected for user.In addition to this, on the interactive interface It can also be arranged as required to the button icon of other functions, such as button, the current default of display systems desktop application list Button of button, deletion and setting desktop that desktop is reminded etc..
Installation module 33 is used for the instruction of deletion desktop received according to command reception module 31, installs the virtual table It applies in face.The virtual desktop application is an empty application(Acitivity), can be virtual by this in Manifest.xml Desktop application is set as desktop entrance.Installing module 33 can be by using PackageManager's The enable values that virtual desktop is applied are set as true by setComponentEnabledSetting functional based methods, to realize pair The simulation installation of virtual desktop application.
Starting module 34 is used for after the installation module 33 is mounted with the virtual desktop application, starts the virtual table Face is applied, so as to which system can remove current desktop default value automatically.In configuration virtual desktop in application, can be in onCreate letters Finish in number is directly set, so as to just directly be exited when virtual desktop application starts, is subsequently being shown in this way to user Desktop application list in the virtual desktop application would not occur, avoid caused by the virtual desktop application is easily selected by a user Invalid operation.
Removing module 35 is used for after the starting module starts the virtual desktop application, i.e. the default value of desktop application After being eliminated, the virtual desktop application is deleted.It, just can be again in this way when user needs to remove desktop application default value next time The virtual desktop application is installed in secondary simulation.Removing module 35 can be by using PackageManager's The enable values that virtual desktop is applied are set as false by setComponentEnabledSetting functional based methods, to realize The simulation of virtual desktop application is deleted.
Data extraction module 37 is used for after the default value for removing system desktop application, and what is prestored in acquisition system is all The information of desktop application.The desktop application to prestore in system is the desktop application that user can select installation.Data extract mould The List that block 37 can be returned by the queryIntentActivities functional based methods of PackageManager< ResolveInfo>All desktop application information in acquisition system is included wherein in ResolveInfo parameters and is stored in system Desktop application information.The information of the desktop application can include title, icon, label of desktop application etc..
Display module 38 is used to the information of all desktop applications that the data extraction module 37 obtains being shown.
Fig. 4, is the structure chart of another device for deleting default desktop of the embodiment of the present invention, which includes instruction Receiving module 31, installation module 33, starting module 34, removing module 35, default desktop data obtaining module 36, data extraction mould Block 37 and display module 38.Installation module 33 is connected with command reception module 31, and starting module 34 is connected with installation module 33, deletes Except module 35 is connected with starting module 34, default desktop data obtaining module 36 is connected with display module 38, data extraction module 37 are connected with command reception module 31.
Compared with the embodiment of Fig. 3, the device of the present embodiment further includes default desktop data obtaining module 36.Default desktop Data obtaining module 36 is for obtaining default desktop information, and the display module 38 is supplied to be shown, to make user true Whether recognize will delete the current default desktop.Default desktop data obtaining module 36 can pass through PackageManager's The List that getPreferredActivities functional based methods obtain<IntentFilter>, then search IntentFilter ginsengs Intent.ACTION_MAIN, Intent.CATEGORY_HOME and the Intent.CATEGORY_ included simultaneously in number The item of DEFAULT is the information of default desktop.
Device through the embodiment of the present invention, when user wants to replace desktop, it is only necessary to which the instruction of desktop is deleted in input, just Current default desktop can be removed with a key, the selective listing of desktop is replaced so as to be directly entered selection, relative to existing There is technology to eliminate the complicated processes for removing current default desktop manually, simplify the operation for replacing desktop.
Through the above description of the embodiments, those skilled in the art can be understood that the embodiment of the present invention The mode of necessary general hardware platform can also be added to realize by software by hardware realization.Based on such reason Solution, the technical solution of the embodiment of the present invention can be embodied in the form of software product, which can be stored in one A non-volatile memory medium(Can be CD-ROM, USB flash disk, mobile hard disk etc.)In, it is used including some instructions so that a meter Calculate machine equipment(Can be personal computer, server or the network equipment etc.)Perform each implement scene institute of the embodiment of the present invention The method stated.
The above described is only a preferred embodiment of the present invention, not make limitation in any form to the present invention, though So the present invention is disclosed above with preferred embodiment, however is not limited to the present invention, any technology people for being familiar with this profession Member, without departing from the scope of the present invention, when the technology contents using the disclosure above make a little change or modification For the equivalent embodiment of equivalent variations, as long as being without departing from technical solution of the present invention content, technical spirit pair according to the present invention Any simple modification, equivalent change and modification that above example is made, in the range of still falling within technical solution of the present invention.

Claims (8)

  1. A kind of 1. method for deleting default desktop, which is characterized in that including:
    Receive the instruction for deleting desktop;
    Preset virtual desktop application is installed;
    Start the virtual desktop application, to remove current desktop default value;
    Delete the virtual desktop application;
    Obtain the information of all desktop applications to prestore;
    Show the information of the desktop application.
  2. 2. the method for default desktop is deleted as described in claim 1, which is characterized in that the virtual desktop application is arranged to open It is directly exited after dynamic.
  3. 3. the method for default desktop is deleted as described in claim 1, which is characterized in that all desktops to prestore that obtain are answered In the step of information, the information of the desktop application includes at least one of the title of desktop application, icon, label.
  4. 4. the method for default desktop is deleted as described in claim 1, which is characterized in that the instruction for receiving deletion desktop It is further included before step:It obtains default desktop information and is shown.
  5. 5. a kind of device for deleting default desktop, which is characterized in that including:
    Command reception module, for receiving the instruction for deleting desktop;
    Module is installed, after the instruction for deleting desktop is received in described instruction receiving module, preset virtual desktop is installed Using;
    Starting module, for after the installation module is mounted with the virtual desktop application, starting the virtual desktop application, To remove current desktop default value;
    Removing module, for after the starting module starts the virtual desktop application, deleting the virtual desktop application;
    Data extraction module, for obtaining the information of all desktop applications to prestore;
    Display module, for the information of all desktop applications that the data extraction module obtains to be shown.
  6. 6. the device of default desktop is deleted as claimed in claim 5, which is characterized in that the preset virtual desktop application is set It is directly exited after being set to startup.
  7. 7. the device of default desktop is deleted as claimed in claim 5, which is characterized in that the institute that the data extraction module obtains The information for stating desktop application includes at least one of the title of desktop application, icon, label.
  8. 8. the device of default desktop is deleted as claimed in claim 5, which is characterized in that the device for deleting default desktop is also Including:
    Default desktop data obtaining module for obtaining default desktop information, and is supplied to client modules to be shown.
CN201310185972.8A 2013-05-20 2013-05-20 Delete the method and device of default desktop Active CN104166559B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310185972.8A CN104166559B (en) 2013-05-20 2013-05-20 Delete the method and device of default desktop

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310185972.8A CN104166559B (en) 2013-05-20 2013-05-20 Delete the method and device of default desktop

Publications (2)

Publication Number Publication Date
CN104166559A CN104166559A (en) 2014-11-26
CN104166559B true CN104166559B (en) 2018-06-22

Family

ID=51910393

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310185972.8A Active CN104166559B (en) 2013-05-20 2013-05-20 Delete the method and device of default desktop

Country Status (1)

Country Link
CN (1) CN104166559B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095448B (en) * 2016-06-13 2020-03-17 青岛海信移动通信技术股份有限公司 Desktop layout method and device for mobile equipment
CN107066270B (en) * 2017-03-30 2020-07-17 成都海瑞恩网络科技有限公司 Information acquisition method and terminal
CN117707388A (en) * 2018-09-05 2024-03-15 中兴通讯股份有限公司 Method, equipment and storage medium for managing application icon desktop
CN111158788B (en) * 2019-12-31 2023-05-30 科大讯飞股份有限公司 Desktop starter control method and device and storage medium
CN113625913A (en) * 2021-08-18 2021-11-09 湖南快乐阳光互动娱乐传媒有限公司 Desktop control method and device, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645004A (en) * 2008-08-04 2010-02-10 优诺威讯国际有限公司 Method for window display
CN101770399A (en) * 2009-01-05 2010-07-07 联想(北京)有限公司 Electronic equipment, method and device for switching operating system desktop
CN102937913A (en) * 2012-10-12 2013-02-20 广东欧珀移动通信有限公司 Method and device for managing default application program
CN103049289A (en) * 2012-12-10 2013-04-17 广东欧珀移动通信有限公司 Method and device for achieving virtual multisystem based on Android system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645004A (en) * 2008-08-04 2010-02-10 优诺威讯国际有限公司 Method for window display
CN101770399A (en) * 2009-01-05 2010-07-07 联想(北京)有限公司 Electronic equipment, method and device for switching operating system desktop
CN102937913A (en) * 2012-10-12 2013-02-20 广东欧珀移动通信有限公司 Method and device for managing default application program
CN103049289A (en) * 2012-12-10 2013-04-17 广东欧珀移动通信有限公司 Method and device for achieving virtual multisystem based on Android system

Also Published As

Publication number Publication date
CN104166559A (en) 2014-11-26

Similar Documents

Publication Publication Date Title
US10554599B2 (en) Conversion of detected URL in text message
US10852912B2 (en) Image creation app in messaging app
EP3213174B1 (en) Terminal device and method of controlling same
TWI656471B (en) Task management method, device and terminal device for multitasking interface
CN104166559B (en) Delete the method and device of default desktop
CN103051965B (en) A kind of smart television desktop theme customizing method and system
WO2015106514A1 (en) Hover display method and device
CN103744810B (en) Terminal, electronic equipment, synchronous display system and method
CN102821150B (en) Based on application management method and the Cloud Server of cloud service
CN104850373A (en) Method and device for processing split screen
CN104427404A (en) Video segment extraction and play methods and devices
US10637804B2 (en) User terminal apparatus, communication system, and method of controlling user terminal apparatus which support a messenger service with additional functionality
US20210019106A1 (en) Desktop Sharing Method and Mobile Terminal
CN106201219A (en) The quick call method of function of application and system
CN105843681B (en) Mobile terminal and operating system switching method thereof
CN104185039A (en) Method and device for audio and video synchronous playing
CN106921892B (en) Online video playing method and device
CN104571877A (en) Display processing method and device for pages
CN109063149A (en) A kind of method of personalized push screen protection picture
CN103186394A (en) Method and device for installing software
CN103279540A (en) Method and device for pushing application
CN102681828A (en) Terminal device and application icon generation method
CN109358791A (en) A kind of screenshot method, device, storage medium and mobile terminal
CN110839171A (en) Method and device for applying television screen saver and computer storage medium
CN103176705A (en) Mobile terminal and preview method thereof

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