CN110413325A - A kind of method, device and equipment that any application interface is changed to system desktop - Google Patents

A kind of method, device and equipment that any application interface is changed to system desktop Download PDF

Info

Publication number
CN110413325A
CN110413325A CN201910607937.8A CN201910607937A CN110413325A CN 110413325 A CN110413325 A CN 110413325A CN 201910607937 A CN201910607937 A CN 201910607937A CN 110413325 A CN110413325 A CN 110413325A
Authority
CN
China
Prior art keywords
application interface
desktop
system desktop
changed
user
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
Application number
CN201910607937.8A
Other languages
Chinese (zh)
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.)
Xiamen Yealink Network Technology Co Ltd
Original Assignee
Xiamen Yealink Network Technology 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 Xiamen Yealink Network Technology Co Ltd filed Critical Xiamen Yealink Network Technology Co Ltd
Priority to CN201910607937.8A priority Critical patent/CN110413325A/en
Publication of CN110413325A publication Critical patent/CN110413325A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Abstract

The invention discloses a kind of methods that any application interface is changed to system desktop, comprising: obtains the instruction for the altering system desktop that user sends;The application interface that user selectes is parsed according to described instruction;The application interface is set system desktop by attribute codes by editing the application interface.The present invention can allow the system desktop of user's easily personalized customization oneself, save the cost of edit code while meeting the individual demand of user.

Description

A kind of method, device and equipment that any application interface is changed to system desktop
Technical field
The present invention relates to electronic information technical fields, and any application interface is changed to system desktop more particularly, to a kind of Method, device and equipment.
Background technique
Currently, the system desktop of Android system be default, it is fixed, be not easy change, if android terminal user The desktop for wanting to set up a customization needs to be familiar with the operation rule of Android system and has the ability for writing program, but one As user do not have the knowledge and ability for writing program, and user is also displeased oneself takes a significant amount of time study Android system The professional knowledge of system simultaneously starts to write program;Simultaneously as change system desktop needs to carry out original software program code The desktop setting of editor and user individual customization is not applied for per a software, this can all increase cell phone software exploitation The development cost of quotient.
Summary of the invention
In view of the above technical problems, the present invention provides it is a kind of by any application interface be changed to system desktop method, Device and equipment, can allow the system desktop of user's easily personalized customization oneself, save the cost of edit code while full The individual demand of sufficient user.The technical solution is as follows:
In a first aspect, the embodiment of the invention provides a kind of method that any application interface is changed to system desktop, packet It includes:
Obtain the instruction for the altering system desktop that user sends;
The application interface that user selectes is parsed according to described instruction;
The application interface is set system desktop by attribute codes by editing the application interface.
In a first possible implementation of the first aspect of the invention, described to set system for the application interface Desktop, specifically:
Judge whether the application interface can be used, when the application interface is available, set the application interface to be System desktop.
In a second possible implementation of the first aspect of the invention, the altering system table for obtaining user and sending The instruction in face, further includes:
Described instruction is responded, the title for the application interface that user selectes is saved in desktop setting record sheet.
In the third possible implementation of first aspect present invention, the attribute generation of editor's application interface Code, specifically:
The desktop setting record sheet is inquired, when the application interface corresponds to the title that the desktop setting record sheet is recorded When, system desktop tag identification code is added to the application interface.
Second aspect, the embodiment of the invention provides a kind of device that any application interface is changed to system desktop, packets It includes:
Module is obtained, the instruction of the altering system desktop for obtaining user's transmission;
Parsing module, for parsing the application interface that user selectes according to described instruction;
Desktop setup module, set the application interface to for the attribute codes by editing the application interface be System desktop.
In a first possible implementation of the second aspect of the invention, the desktop setup module, further includes:
Judgment module, for judging whether the application interface can be used, when the application interface is available, by the application Interface is set as system desktop.
In second of possible implementation of second aspect of the present invention, the acquisition module, further includes:
The title for the application interface that user selectes is saved in desktop setting note for responding described instruction by memory module Record table.
In the third possible implementation of second aspect of the present invention, the desktop setup module, further includes:
Code Edit module is set for inquiring the desktop setting record sheet when the application interface corresponds to the desktop When setting the title of record sheet record, system desktop tag identification code is added to the application interface.
The third aspect, the embodiment of the invention provides a kind of equipment that any application interface is changed to system desktop, packets It includes processor, memory and storage in the memory and is configured as the computer program executed by the processor, The side that any application interface is changed to system desktop as described above is realized when the processor executes the computer program Method.
Compared with the prior art, the embodiment of the present invention has the following beneficial effects:
The present invention provides a kind of method that any application interface is changed to system desktop, and user need to only apply the side The selected application interface that will be arranged to system desktop of the terminal of method, the automatic acquisition instruction of system simultaneously will during system reboot System desktop is changed to the desktop of user individual customization.Since the method is suitable for all users and easy to operate, section The step of having saved editing procedure, and avoid editing procedure in the process since human error causes whole system to be unable to run, because This present invention embodies broad applicability, program operation stability and the simple characteristic of operating method;Meanwhile the reality of the method It applies process to be automatically performed by the backstage of terminal system, does not need the code data for obtaining each software application by connecting network, keep away Exempt from each software application quotient and issue the spent resource of new version again to modify the attribute codes, to save edit code Cost meet the individual demand of user simultaneously.
Detailed description of the invention
Fig. 1 is the flow chart for the method that any application interface is changed to system desktop by one of embodiment of the present invention;
Fig. 2 is the structure chart for the device that any application interface is changed to system desktop by one of embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Referring to Figure 1, it illustrates a kind of the changing any application interface of an illustrative embodiment of the invention offer For the method for system desktop, comprising:
S101, the instruction for obtaining the altering system desktop that user sends;
S102, the application interface that user selectes is parsed according to described instruction;
S103, system desktop is set by the application interface by editing the attribute codes of the application interface.
Wherein, the application interface is Android application interface, and an application may include multiple interfaces (Activity), Application interface can jump mutually;The system desktop is that the default desktop after Android system starting presses homepage (home) key meeting Default the interface jumped to;
In a kind of possible embodiment, user enters a system desktop set interface, and user clicks and has selected wechat, Program, which pops up a prompting frame, allows user to choose whether to be set as desktop, and user clicks "Yes", and then program selects user The Activity title of this application is saved in system, and then system starts to restart;
During startup, PackageManagerService service starts to carry out installation Packet analyzing, current when being resolved to Activity chosen with user and be saved in the Acitivty of system it is consistent when, edit attribute codes so that the application that user selectes Interface can be arranged to system desktop;
Wherein, the PackageManagerService service is Android system installation kit analysis service, and editor's generation When code, a statement file AndroidManifest of Android code is used;
After being parsed, continue activation system, system can call PackageManagerService to select to write from memory in the process Recognize desktop, and returns to ActivityManagerService and do and start in next step;
After the corresponding Activity in wechat interface is transmitted to ActivityManagerService as parameter, system will Start the Acitivty as desktop, finally, starting is completed in system desktop application;
Wherein, the ActivityManagerService is Android system interface management related service;
After the completion, certain user setting wechat interface be system desktop, if currently Alipay interface or any other Application interface, when user presses homepage key (home key), system can jump to wechat interface.
The embodiment of the present invention provides a kind of method that any application interface is changed to system desktop, and user need to only answer With the selected application interface that will be arranged to system desktop of the terminal of the method, the automatic acquisition instruction of system and in system reboot System desktop is changed to the desktop of user individual customization in the process.Since the method is suitable for all users and operation Simply, the step of saving editing procedure, and avoid editing procedure in the process since human error causes whole system can not Operation, therefore the present invention embodies broad applicability, program operation stability and the simple characteristic of operating method;Meanwhile it is described The implementation process of method is automatically performed by the backstage of terminal system, does not need the code that each software application is obtained by connecting network Data avoid each software application quotient from issuing the spent resource of new version again to modify the attribute codes, to save The cost of edit code meets the individual demand of user simultaneously.
It is preferably, described to set system desktop for the application interface, specifically:
Judge whether the application interface can be used, when the application interface is available, set the application interface to be System desktop.
In the present embodiment, when selecting default desktop, whether the Acitivty that judgement will be arranged to system desktop may be used With if Acitivty is available, using the Acitivty as system desktop.
A kind of preferred embodiment is, the application corresponding to the application interface that user selectes is deleted or other are former Because that the default desktop of system can be selected as system desktop when causing the application interface unavailable.
Another preferred embodiment is, the application corresponding to the application interface that user selectes is deleted or other When reason causes the application interface unavailable, the system desktop of last setting is continued to use as current system desktop.
The present embodiment is conducive to program caused by continuing to use when the application interface for avoiding user from selecting is unavailable and collapses It bursts, thus safeguards system normal program operation.
Preferably, the instruction for obtaining the altering system desktop that user sends, further includes:
Described instruction is responded, the title for the application interface that user selectes is saved in desktop setting record sheet.
In the present embodiment, when desktop setting record sheet is not present in system, record sheet, Huo Zheyi is arranged in creation desktop There are desktops, and record sheet is arranged, and the title for the application interface that user selectes is saved in the desktop setting record of xml document format Table.There are many store methods, can be saved in xml document, a system property file etc., be not listed one by one herein, it is preferable that Using the recording mode of desktop setting record sheet, be conducive to the memory space for saving mobile phone, while the text of desktop setting record sheet Part is easier to management, searches.
Preferably, the attribute codes of editor's application interface, specifically:
The desktop setting record sheet is inquired, title and the application interface pair when desktop setting record sheet record When answering consistent, system desktop tag identification code is added to the application interface.
In the present embodiment, the system desktop tag identification code are as follows:
“android.intent.category.LAUNCHER”
It is understood that the purpose that the system desktop tag identification code is added is that Android system is allowed to work as the Activity At a kind of desktop application.It, can be using the Activity as the alternate item of a system desktop when so as to system selection system desktop.
Specifically, the corresponding Activity in Alipay interface be joined into label:
“android.intent.category.LAUNCHER”
It is understood that Android system only allows in AndroidManifest with following label " android at present .intent.category.LAUNCHER Activity " just allows to be set as system desktop.If android terminal user wants One Activity without the label is set and is set as default desktop as desktop, such as Alipay app, then needs propping up It pays precious application interface and the label is added.
The application interface that multiple users want to set up into system desktop is saved in system by the present embodiment, using as system The alternate item of desktop is conducive to user and selects system desktop, while multiple alternative system desktops are conducive to prevention because of one of them System desktop caused system crash when malfunctioning.
Preferably, all application interfaces are called and generate application interface list so that user chooses application interface.
In the present embodiment, user enters a system desktop set interface, and the system desktop set interface can be by Cell phone manufacturer provides, and lists all app installed in current system, such as wechat, Alipay, Netease's news on interface.
The present embodiment is conducive to user and selects the application interface that can be used as system desktop, and in time to user feedback application Information avoids user still using the application interface for having deleted application including existing application.
Fig. 2 is referred to, it illustrates a kind of the changing any application interface of an illustrative embodiment of the invention offer For the device of system desktop, comprising:
Module 201 is obtained, the instruction of the altering system desktop for obtaining user's transmission;
Parsing module 202, for parsing the application interface that user selectes according to described instruction;
The application interface is arranged for the attribute codes by editing the application interface for desktop setup module 203 For system desktop.
Preferably, the desktop setup module, further includes:
Judgment module, for judging whether the application interface can be used, when the application interface is available, by the application Interface is set as system desktop.
Preferably, the acquisition module, further includes:
The title for the application interface that user selectes is saved in desktop setting note for responding described instruction by memory module Record table.
The desktop setup module, further includes:
Code Edit module is set for inquiring the desktop setting record sheet when the application interface corresponds to the desktop When setting the title of record sheet record, system desktop tag identification code is added to the application interface.
A kind of equipment that any application interface is changed to system desktop, including processor, memory and it is stored in institute The computer program executed by the processor is stated in memory and is configured as, the processor executes the computer program The method that any application interface is changed to system desktop as described above by Shi Shixian.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art For, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as Protection scope of the present invention.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..

Claims (9)

1. a kind of method that any application interface is changed to system desktop characterized by comprising
Obtain the instruction for the altering system desktop that user sends;
The application interface that user selectes is parsed according to described instruction;
The application interface is set system desktop by attribute codes by editing the application interface.
2. the method that any application interface is changed to system desktop as described in claim 1, which is characterized in that described by institute It states application interface and is set as system desktop, specifically:
Judge whether the application interface can be used, when the application interface is available, sets system table for the application interface Face.
3. the method that any application interface is changed to system desktop as claimed in claim 1 or 2, which is characterized in that described Obtain the instruction for the altering system desktop that user sends, further includes:
Described instruction is responded, the title for the application interface that user selectes is saved in desktop setting record sheet.
4. the method that any application interface is changed to system desktop as claimed in claim 3, which is characterized in that the editor The attribute codes of the application interface, specifically:
The desktop setting record sheet is inquired, when the application interface corresponds to the title that the desktop setting record sheet is recorded, System desktop tag identification code is added to the application interface.
5. a kind of device that any application interface is changed to system desktop characterized by comprising
Module is obtained, the instruction of the altering system desktop for obtaining user's transmission;
Parsing module, for parsing the application interface that user selectes according to described instruction;
Desktop setup module sets system table for the application interface for the attribute codes by editing the application interface Face.
6. any application interface to be changed to the device of system desktop as claimed in claim 5, which is characterized in that the desktop Setup module, further includes:
Judgment module, for judging whether the application interface can be used, when the application interface is available, by the application interface It is set as system desktop.
7. any application interface to be changed to the device of system desktop as claimed in claim 5, which is characterized in that the acquisition Module, further includes:
The title for the application interface that user selectes is saved in desktop setting record sheet for responding described instruction by memory module.
8. any application interface to be changed to the device of system desktop as claimed in claim 7, which is characterized in that the desktop Setup module, further includes:
Code Edit module, for inquiring the desktop setting record sheet, when the application interface corresponds to the desktop setting note When recording the title that table is recorded, system desktop tag identification code is added to the application interface.
9. a kind of equipment that any application interface is changed to system desktop, which is characterized in that including processor, memory and The computer program executed by the processor is stored in the memory and is configured as, the processor executes the meter Such as Claims 1-4 described in any item methods that any application interface is changed to system desktop are realized when calculation machine program.
CN201910607937.8A 2019-07-05 2019-07-05 A kind of method, device and equipment that any application interface is changed to system desktop Pending CN110413325A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910607937.8A CN110413325A (en) 2019-07-05 2019-07-05 A kind of method, device and equipment that any application interface is changed to system desktop

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910607937.8A CN110413325A (en) 2019-07-05 2019-07-05 A kind of method, device and equipment that any application interface is changed to system desktop

Publications (1)

Publication Number Publication Date
CN110413325A true CN110413325A (en) 2019-11-05

Family

ID=68360443

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910607937.8A Pending CN110413325A (en) 2019-07-05 2019-07-05 A kind of method, device and equipment that any application interface is changed to system desktop

Country Status (1)

Country Link
CN (1) CN110413325A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
US20120023425A1 (en) * 2009-11-13 2012-01-26 Google Inc. Live Wallpaper
CN103019766A (en) * 2012-11-15 2013-04-03 广东欧珀移动通信有限公司 Android equipment-based dynamic wallpaper arrangement method, android equipment-based dynamic wallpaper arrangement device and terminal
CN103294329A (en) * 2012-02-23 2013-09-11 宇龙计算机通信科技(深圳)有限公司 Method and system for realizing dynamic desktop wallpaper of mobile terminal and mobile terminal
WO2015028697A1 (en) * 2013-08-29 2015-03-05 Crambo Sa Portable electronic device comprising an interactive background and method for controlling same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120023425A1 (en) * 2009-11-13 2012-01-26 Google Inc. Live Wallpaper
CN103294329A (en) * 2012-02-23 2013-09-11 宇龙计算机通信科技(深圳)有限公司 Method and system for realizing dynamic desktop wallpaper of mobile terminal and mobile terminal
CN103019766A (en) * 2012-11-15 2013-04-03 广东欧珀移动通信有限公司 Android equipment-based dynamic wallpaper arrangement method, android equipment-based dynamic wallpaper arrangement device and terminal
WO2015028697A1 (en) * 2013-08-29 2015-03-05 Crambo Sa Portable electronic device comprising an interactive background and method for controlling same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113625913A (en) * 2021-08-18 2021-11-09 湖南快乐阳光互动娱乐传媒有限公司 Desktop control method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
KR100953846B1 (en) Methods and apparatus for providing on-demand assistance for a wireless device
EP2570917B1 (en) Method and device for adding menu items in android menu
US20110238498A1 (en) Service stage for subscription management
US8250196B2 (en) Script based computer health management system
JP2001043086A (en) System and method for constituting personal system
WO2013009683A1 (en) Portable computing device and method of operation of same
JP2000311080A (en) Computer system and its operation environment switching method
US9529578B2 (en) Automated service version upgrading
CN102902580A (en) Program callback method and device
US20030135643A1 (en) Data transmission scheduling system and method
CN110413325A (en) A kind of method, device and equipment that any application interface is changed to system desktop
CN111414168B (en) Web application development method and device based on mind map and electronic equipment
CN106503062A (en) A kind of social dynamic dissemination method and device, user terminal
CN111131440B (en) Resource scheduling method and device and server
CN101923463B (en) Information processing apparatus and method
US10085128B2 (en) File download method for mobile device, server and mobile device thereof, and computer-readable medium
CN104572661A (en) Terminal equipment and information processing method
CN112533064A (en) Screen protection display method and device, storage medium and smart television
CN102547630B (en) Mobile terminal service multimedia displaying method, terminal and system
JP2010515151A (en) Method and apparatus for launching a program application
CN111459663A (en) Cloud host quota management and organization method based on cloud host types
CN112434249A (en) Browser webpage refreshing method, system and related device
EP2178279B1 (en) Generation method and mobile terminal for optimizing mobile terminal operation sequence
JP5471198B2 (en) Integrated management apparatus, integrated management system, integrated management method, integrated management program, and recording medium recording the program
CN113253988B (en) Page processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191105

RJ01 Rejection of invention patent application after publication