CN109521924A - A kind of method and apparatus of auxiliary user's selection target application - Google Patents

A kind of method and apparatus of auxiliary user's selection target application Download PDF

Info

Publication number
CN109521924A
CN109521924A CN201811423474.1A CN201811423474A CN109521924A CN 109521924 A CN109521924 A CN 109521924A CN 201811423474 A CN201811423474 A CN 201811423474A CN 109521924 A CN109521924 A CN 109521924A
Authority
CN
China
Prior art keywords
application
window
selection
selection window
controls
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
Application number
CN201811423474.1A
Other languages
Chinese (zh)
Other versions
CN109521924B (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.)
Kylin Seing Network Technology Ltd By Share Ltd
Original Assignee
Kylin Seing Network Technology Ltd By Share 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 Kylin Seing Network Technology Ltd By Share Ltd filed Critical Kylin Seing Network Technology Ltd By Share Ltd
Priority to CN201811423474.1A priority Critical patent/CN109521924B/en
Publication of CN109521924A publication Critical patent/CN109521924A/en
Application granted granted Critical
Publication of CN109521924B publication Critical patent/CN109521924B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Abstract

This specification embodiment discloses a kind of method and apparatus of auxiliary user's selection target application, to guide user quickly and accurately to select default application.The application specifically includes that creation and shows the interim application selection window for having identical topology and content with system application selection window, according to interim position of the application controls in display interface for determining target application in multiple applications using selection window, close temporarily application selection window, it is created in system application selection window according to the application controls of target application in the position of display interface and shows that the first kind marks, first kind label is for assisting user's selection target application from the corresponding multiple applications of system application selection window.Thus, it is possible to by way of being created in target application region and showing first kind label, assists and user is prompted to select application that the hollow suspended window marked as system default application.It is thus possible to guide user's quickly and accurately selection target application, user experience is promoted.

Description

A kind of method and apparatus of auxiliary user's selection target application
Technical field
This specification is related to computer software technical field more particularly to a kind of method of auxiliary user's selection target application And device.
Background technique
Currently, there are many applications for installation on intelligent terminal, to adapt to many-sided demand of user.In these applications, exist Many identical functions, for example, wechat and QQ are provided with chat feature.
By taking android system as an example, system can give function distribution important on mobile phone to different applications, so that user makes When with some function, application is directly opened, generally there are two types of modes for the application of setting system default, one is answering into system default With the setting page, default application is selected.The second is when using some function, if setting default application not yet, system The window that will pop up selection default application allows user to select.However, window (the i.e. system application choosing of existing selection default application Select window) often lack prompt and guidance, or prompt is not obvious enough, causes user that can not quick and precisely select default application.
How effectively assisting user's selection target to apply as a result, quickly and accurately selection target is applied and is become to guide user Technical problem urgently to be resolved.
Summary of the invention
The purpose of this specification embodiment is to provide a kind of method and apparatus of auxiliary user's selection target application, to draw Lead user's quickly and accurately selection target application.
In order to solve the above technical problems, this specification embodiment is achieved in that
In a first aspect, proposing a kind of method of auxiliary user's selection target application, comprising:
Create and show the interim application selection window that there is identical topology and content with system application selection window, In, it include multiple application controls in the interim application selection window, application controls are corresponding in the multiple application controls answers With having specified function;
Window is selected according to the interim application, determines the application controls of target application in the multiple application on display circle The position in face;
Close the interim application selection window;
According to the application controls of the target application in the position of display interface, created in system application selection window It builds and shows that the first kind marks, wherein the first kind label is for assisting user corresponding from system application selection window Multiple applications in selection target application.
Second aspect proposes a kind of device of auxiliary user's selection target application, comprising:
First creation module has the interim of identical topology and content with system application selection window for creating and showing Using selection window, wherein include multiple application controls in the interim application selection window, answered in the multiple application controls Has specified function with the corresponding application of control;
Determining module selects window according to the interim application, determines the application control of target application in the multiple application Part is in the position of display interface;
Closedown module closes the interim application and selects window;
Second creation module, for the application controls according to the target application in the position of display interface, in the system It is created in system application selection window and shows that the first kind marks, wherein the first kind label is for assisting user from the system Selection target application in the corresponding multiple applications of system application selection window.
The third aspect proposes a kind of electronic equipment, comprising:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed It manages device and executes following operation:
Create and show the interim application selection window that there is identical topology and content with system application selection window, In, it include multiple application controls in the interim application selection window, application controls are corresponding in the multiple application controls answers With having specified function;
Window is selected according to the interim application, determines the application controls of target application in the multiple application on display circle The position in face;
Close the interim application selection window;
According to the application controls of the target application in the position of display interface, created in system application selection window It builds and shows that the first kind marks, wherein the first kind label is for assisting user corresponding from system application selection window Multiple applications in selection target application.
Fourth aspect proposes a kind of computer readable storage medium, the computer-readable recording medium storage one Or multiple programs, one or more of programs are when the electronic equipment for being included multiple application programs executes, so that the electricity Sub- equipment executes following operation:
Create and show the interim application selection window that there is identical topology and content with system application selection window, In, it include multiple application controls in the interim application selection window, application controls are corresponding in the multiple application controls answers With having specified function;
Window is selected according to the interim application, determines the application controls of target application in the multiple application on display circle The position in face;
Close the interim application selection window;
According to the application controls of the target application in the position of display interface, created in system application selection window It builds and shows that the first kind marks, wherein the first kind label is for assisting user corresponding from system application selection window Multiple applications in selection target application.
It, can be by being created in target application region and showing first kind label by this specification technical solution Mode assists and user is prompted to select application that the hollow suspended window marked as system default application.It is thus possible to guide User quickly and accurately selects default application, promotes user experience.
Detailed description of the invention
In order to illustrate more clearly of this specification embodiment or technical solution in the prior art, below will to embodiment or Attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only The some embodiments recorded in this specification, for those of ordinary skill in the art, in not making the creative labor property Under the premise of, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the method and step schematic diagram for auxiliary user's selection target application that one embodiment of this specification provides.
Fig. 2 is step 102 in the method for auxiliary user's selection target application that one embodiment of this specification provides Step schematic diagram.
Fig. 3 a is the grid layout structural schematic diagram that one embodiment of this specification provides.
Fig. 3 b is the tabular layout structural schematic diagram that one embodiment of this specification provides.
Fig. 4 is step 104 in the method for auxiliary user's selection target application that one embodiment of this specification provides Step schematic diagram.
Fig. 5 a- Fig. 5 f is respectively the label created when auxiliary user's selection target application of the embodiment offer of this specification Interface schematic diagram.
Fig. 6 a- Fig. 6 b is respectively interface signal when user's selection target being assisted to apply that the embodiment of this specification provides Figure.
Fig. 7 is the structural representation of the device for auxiliary user's selection target application that one embodiment of this specification provides Figure.
Fig. 8 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification, below in conjunction with this explanation Attached drawing in book embodiment is clearly and completely described the technical solution in this specification embodiment, it is clear that described Embodiment be only this specification a part of the embodiment, instead of all the embodiments.The embodiment of base in this manual, Every other embodiment obtained by those of ordinary skill in the art without making creative efforts, all should belong to The range of this specification protection.
It should be understood that the application mainly by taking the terminal of android system as an example, is readily applicable to the end of other systems in fact End, the application are defined not to this.
Embodiment one
It is the method and step schematic diagram of auxiliary user's selection target application provided by the embodiments of the present application shown in referring to Fig.1, This method is applicable in terminal system, this Terminal Type may include: the mobile phone for being equipped with application program (alternatively referred to as applying), Computer, wearable device etc..The method may include following steps:
Step 102: creating and showing with system application selection window there is the interim application of identical topology and content to select Window.It wherein, include multiple application controls, application controls pair in the multiple application controls in the interim application selection window The application answered has specified function.
In view of inside terminal system operational order and code etc. be typically all it is packaged by developer, therefore, The operational order of these encapsulation and code etc. can not directly be handled.When certain operations of triggering terminal system, example Such as, system application selection window is triggered in the embodiment of the present application carrys out selection target in application, can create and system application selection Window has the interim application selection window of identical topology and content, and shows.
It should be understood that the position that system application selection window occurs can be completely covered in the interim position shown using selection window It sets, i.e., interim application selection window covering system application selection window.Since the time of displaying is very of short duration, user is possibly can not By the interim application selection window for visually capturing displaying.
Wherein, the specified function refers to some co-owned function of the multiple applications installed in terminal system, and And the specified function is the function that user is desirable for.For example, " APUS " application, " TouchWiz homepage " application and The simple homepage of TouchWiz " application etc. all has desktop function;" wechat " application, " QQ " application and " nail nail " application etc. have There is chat feature.
Optionally, in the embodiment of the present application, referring to shown in Fig. 2, step 102 is being created and is being shown and system application selection When window has the interim application selection window of identical topology and content, can specifically it execute are as follows:
Step 202: according to the version of current system, determining the layout of temporarily application selection window, wherein the layout packet Include grid layout or tabular layout.
It should be understood that in this application, the layout is other than including the layout structures such as grid layout or tabular layout, also It should include placement position, i.e., interim application selection window is in the position of display interface.
In this way, can determine temporarily to be selection grid using the layout structure of selection window according to the version of current system Layout or selective listing layout, and further determine that interim application selection window in the placement position of display interface.
Step 204: searching the application for having the specified function in current system.
All applications for supporting the specified function of using desired by user are searched from current system.It should be understood that looking into The application found is identical as applying shown in system application selection window.
Step 206: based on particular sorted rule by it is described using corresponding application controls according to the determining layout, wound Build interim application selection window.
Wherein, the particular sorted rule can be based on using the set-up time, Apply Names initial, application size, The sortord that one of application type application attribute is implemented, alternatively, being also possible to based on using set-up time, application name Claim initial, application size, one of application type or multiple combinations and the sortord implemented of the application parameter that generates.
It should be understood that the particular sorted rule can be to be determined based on system application selection window in application scheme , in other words, based on the particular sorted rule applied in system application selection window, by the application found according to step 202 layout structures and placement position determined, creation with system application selection window there is the interim application of identical topology to select Select window.
It should be understood that in creation temporarily application selection window procedure, according to layout structure and the application found, in institute The inside for stating interim application selection window creates multiple application controls, the number of the multiple application controls and the application found Number can be identical, exposition application controls, remaining application controls can only can also hide.
Step 208: being that the interim application selects corresponding application controls wash with watercolours in window according to the application found Dye content is simultaneously shown, wherein the rendering content includes: rendering application icon and/or Apply Names.
After creation temporarily application selection window, it is also necessary to select multiple application controls wash with watercolours in window for the interim application Content is contaminated, can specifically be rendered in application controls: application icon and/or Apply Names, and show, by the interim application Selection window improves into the same with system application selection window.To guarantee that temporarily application selection window and system application select Window is selected with identical topology and content.
-- grid layout
It is interim to be created using selection window with grid layout referring to shown in Fig. 3 a, wherein interim application selection window Middle application controls are laid out in a grid formation, can render application icon and Apply Names in each application controls simultaneously, and answer It is rendered the top in application controls with icon, Apply Names are rendered the lower section in application controls;In fact, it can also will apply Icon rendering lower section in application controls, Apply Names rendering top in application controls;Alternatively, application icon rendering is being answered With left in control, Apply Names rendering right in application controls;Alternatively, application icon rendering is right in application controls Side, Apply Names rendering left in application controls.The application is not to the tool of application icon and Apply Names in grid layout Body position is defined.
-- tabular layout
It is interim to be created using selection window with tabular layout referring to shown in Fig. 3 b, wherein interim application selection window Middle application controls are laid out with tabular form, can render application icon and Apply Names in each application controls simultaneously, and answer It is rendered the left in application controls with icon, Apply Names are rendered the right in application controls;In fact, it can also will apply Icon rendering right in application controls, Apply Names rendering left in application controls;Alternatively, application icon rendering is being answered With top in control, Apply Names rendering lower section in application controls;Alternatively, under application icon is rendered in application controls Side, Apply Names rendering top in application controls.The application is not to the tool of application icon in tabular layout and Apply Names Body position is defined.
It should be understood that in the embodiment of the present application, the interim application selection window of creation is referred to shown in Fig. 3 a, this is interim Using including multiple application controls in selection window, the corresponding application of each application controls has finger in the multiple application controls Determine function.And system application selection window is also referred to shown in Fig. 3 a, the layout of the two is identical with content, in this way, just In the subsequent interim application selection window based on creation, corresponding parameter information is obtained, such as the application controls of target application exist The position of display interface.
Step 104: window being selected according to the interim application, determines the application controls of target application in the multiple application In the position of display interface.
The interim application selection window created according to above scheme, can determine the application controls of target application aobvious Show the position at interface.Wherein, the target application refers to that developer recommends selection when user is desirable for the specified function Using.For example, it may be being proposed as the application of default application in system application selection window.
Optionally, in the embodiment of the present application scheme, referring to shown in Fig. 4, step 104 is selected according to the interim application Window determines that the application controls of target application in the multiple application at the position of display interface, can be executed specifically are as follows:
Step 402: obtaining the interim application selection window in the position of display interface.
It should be understood that android system layout can be used when obtaining position of the temporarily application selection window in display interface Measurement interface obtains.For example, Views tree viewer ViewTree can be used in the height of display interface in interim application selection window This function interface of Observer.addOnGlobalLayoutListener obtains.In fact, it can also be connect by other functions Mouth obtains corresponding position parameter from the interim application selection window of creation, and this will not be repeated here.
Step 404: obtaining position of the application controls of the target application in the interim application selection window.
Optionally, the step 404 is in the application controls for obtaining the target application in the interim application selection window Position when, can specifically execute are as follows:
The first step determines the mark of the target application.
Second step determines target application pair described in the interim application selection window according to the mark of the target application The application controls answered, and obtain position of the application controls in the interim application selection window.
When specific implementation, the mark of target application can be determined by resource file interface, then pass through the described of determination The mark of target application obtains the corresponding application controls of target application, in turn, passes through layout measurement interface and obtains the target Position of the application controls of application in interim application selection window.It is, for example, possible to use resource files Resources.getIdentifier function interface (can wherein be related to " such as APUS Launcher ", " id ", " The inquiry operation of the attributes such as android ") Apply Names of target application are got, and the Apply Names according to target application are true Set the goal the application controls ID of application, and the view of the application controls is obtained by the application controls ID of target application, that is, obtains and answer With position of the control in the interim application selection window.
Step 406: according to the interim application selection window in the position of display interface and answering for the target application With position of the control in the interim application selection window, position of the application controls in display interface of the target application is determined It sets.
The mesh determined based on the interim application selection window that step 402 determines in the position of display interface and step 406 Position of the application controls of application in the interim application selection window is marked, determines the application controls of target application on display circle The position in face.It is, for example, possible to use the application controls that View.getLocationOnScreen function interface obtains the target application Position of the part in display interface (can be considered screen), and the position is recorded.
Step 106: closing the interim application and select window.
In view of the interim application selection window of creation is shown on the surface of system application selection window, in this way, can be right System application selection window with substantive selection operation meaning causes to block.It therefore, can be in the application for getting target application Control closes the interim application and selects window behind the position of display interface, in order to which subsequent user is selected in system application Corresponding selection operation is carried out on window.
Step 108: according to the application controls of the target application in the position of display interface, being selected in system application It is created in window and shows that the first kind marks.Wherein, the first kind label is for assisting user to select from system application Selection target application in the corresponding multiple applications of window.
In the embodiment of the present application, it can be marked according to the first kind and/or the different realizations respectively of the second class label are following Create executive mode.
-- creation first kind label, and first kind label includes hollow suspended window
Specifically, step 108 in the application controls according to the target application in the position of display interface, in the system When using being created in selection window and show first kind label, can specifically it execute are as follows:
According to the application controls of the target application in the position of display interface, the institute in system application selection window The application controls region for stating target application creates and shows hollow suspended window.
For example, referring to shown in Fig. 5 a, include " APUS " control, " the simple homepage of TouchWiz " in system application selection window Control and " TouchWiz homepage " control;Wherein, the corresponding application of " APUS " control is target application, therefore, can be at this " APUS " control region creates and shows hollow suspended window, which specifically can be identical as the control size Framework, wherein the color of framework is unlimited, and the line width of framework is unlimited.Thus, it is possible to by the hollow suspended window, aid prompting User's fast and accurately selection target application.In turn, the efficiency of setting default application is promoted.
-- creation first kind label, and first kind label includes translucent suspended window
Specifically, step 108 in the application controls according to the target application in the position of display interface, in the system When using being created in selection window and show first kind label, can specifically it execute are as follows:
According to the application controls of the target application in the position of display interface, the institute in system application selection window The application controls region for stating target application creates and shows for showing that still image and/or the translucent of dynamic image hang Floating window;
Wherein, the translucent suspended window can transmit application of the user to target application in system application selection window The selection operation that control is implemented.
For example, referring to shown in Fig. 5 b, include " APUS " control, " the simple homepage of TouchWiz " in system application selection window Control and " TouchWiz homepage " control;Wherein, the corresponding application of " APUS " control is target application, therefore, can be at this " APUS " control region creates and shows translucent suspended window, which can show still image and/or move State image.The translucent suspended window specifically can be identical as the control size, wherein the color of translucent suspended window is unlimited, exhibition The image frame shown is unlimited.Thus, it is possible to by the translucent suspended window, especially image frame of its display, aid prompting User's fast and accurately selection target application;In turn, the efficiency of setting default application is promoted.
-- creation first kind label and the second class label, and the second class label includes hollow suspended window or translucent suspended window
Also comprising selection control in the interim application selection window, wherein the selection control may include: " only one It is secondary ", " always ", " just once ", the options such as " always ";Before step 106 closes the interim application selection window, Further include:
Window is selected according to the interim application, determines the selection control in the position of display interface;
And
Based on step 108, the creation first kind marks and after displaying preset duration in system application selection window, also Include:
According to the selection control in the position of display interface, in system application selection window where selection control Region creates and shows that the second class marks;
Wherein, the second class label includes hollow suspended window or translucent suspended window.
For example, referring to shown in Fig. 5 c, include " APUS " control, " the simple homepage of TouchWiz " in system application selection window Control and " TouchWiz homepage " control;Wherein, the corresponding application of " APUS " control is target application, therefore, can be at this " APUS " control region creates and shows hollow suspended window, gives when in " APUS " the control region hollow suspended window of displaying User closes after N seconds, and " always " this selection control region creates and in continuous presentation in system application selection window Hovering floating window or translucent suspended window.Wherein, translucent suspended window can show still image and/or dynamic image.Thus, it is possible to The first kind label and the second class label shown by animation, aid prompting user fast and accurately selection target application;In turn, Promote the efficiency of setting default application.
For example, referring to shown in Fig. 5 d;It include " APUS " control, " the simple homepage of TouchWiz " in system application selection window Control and " TouchWiz homepage " control;Wherein, the corresponding application of " APUS " control is target application, therefore, can be at this " APUS " control region creates and shows translucent suspended window, when in the translucent suspension of " APUS " control region displaying Window after user N seconds to closing, and " always " this selection control region creates and continues to open up in system application selection window Show hollow suspended window or translucent suspended window.Wherein, translucent suspended window can show still image and/or dynamic image.As a result, First kind label and the second class label that animation is shown, aid prompting user fast and accurately selection target application can be passed through; In turn, the efficiency of setting default application is promoted.
It should be understood that in the embodiment of the present application, the second class label of creation, which can be, selects control location at " always " Domain can assist user that be able to will not reselect every time new target application commonly using target application in this way.Its It is real, the second class label, the application can also be created in other selection control regions other than " always " selects control It is defined not to this.
In addition, first kind label and the second class label based on creation, can also control first kind label with it is described Second class label is periodically alternately shown.
For example, referring to shown in Fig. 5 e, " QQ " control, " wechat " control and " nail nail " control are included in system application selection window Part;Wherein, the corresponding application of " wechat " control is target application, therefore, can be created simultaneously in " wechat " the control region First kind label, such as hollow suspended window are shown, after showing hollow suspended window to user 1 second in " wechat " control region It closes, " always " this selection control region creates and shows that the second class marks in system application selection window, such as Translucent suspended window.Then, it shows that the second class label is closed after 1 second, and shows hollow suspension in " wechat " control region Window 1 second, " always " this selection control region showed translucent suspended window 1 in system application selection window after closing Second, and so on, alternately show that first kind label and the second class are marked according to such 1 second period.Thus, it is possible to by dynamic Draw the first kind label and the second class label of display, aid prompting user fast and accurately selection target application;In turn, promotion is set Set the efficiency of default application.
-- the application controls of the target application are removed in creation first kind label and/or the second class label and display interface The suspended window in the region other than region
First kind label and/or the second class label based on creation, further includes:
Region creation and flex suspension in display interface in addition to the application controls region of the target application Window;
Wherein, the push content of auxiliary user's selection target application is shown in the suspended window, the push content is extremely It less include one of text, still image, dynamic image, audio or multiple combinations.
For example, referring to shown in Fig. 5 f, " QQ " control, " wechat " control and " nail nail " control are included in system application selection window Part;Wherein, the corresponding application of " wechat " control is target application, therefore, can be created simultaneously in " wechat " the control region First kind label, such as hollow suspended window are shown, after showing hollow suspended window to user N seconds in " wechat " control region It closes, " always " this selection control region creates and shows that the second class marks in system application selection window, such as Translucent suspended window.Meanwhile the region creation in display interface in addition to the application controls region of the target application And flex suspension window, the push content of auxiliary user's selection target application is shown in the suspended window, such as " recommend selection wechat As default application ".Thus, it is possible to the first kind label shown by animation and the second class mark, and combine push content, it is auxiliary Help prompt user's fast and accurately selection target application;In turn, the efficiency of setting default application is promoted.
It is described in detail below by the method that specific example applies above-mentioned auxiliary user selection target.
To select mesh to above-mentioned auxiliary user for setting default Launcher in Android6.0 system on M model mobile phone The scheme of mark application is illustrated.
When on M model mobile phone installation have Launcher function in application, the default Launcher of system can quilt automatically System is removed.Embody are as follows: when user opens some application, want to be switched fast back desktop, by sub-screen Home key when, and The application will not be left at once and is switched to default desktop (because the default desktop of system has been cleared by this time, does not default Desktop), but selection window (the i.e. system application choosing for being arranged and selecting system default desktop is popped up at the interface of current application Select window), as shown in Figure 6 a, system default desktop at this time selects the layout structure of window for list, therefore creation with When the identical view window of the selection window of system default desktop, the also layout structure of selective listing specifically can be by assuring Manage device PackageManager.getResourcesForActivity (new ComponentName (" android ", " com. Android.internal.app.ResolverActivity ")) function interface, obtain all moneys for having Launcher function Source file, for example, " APUS ", " Trebuchet " and " Google Now Launcher " etc..Then, pass through Resources.getIdentifier (" resolver_list ", " layout ", " android ") function interface obtains this these The Apply Names of resource file (applying), and the view ID of application controls is further obtained, then use The creation of getLayoutInflater () .inflate (res.getLayout (id), null) functional based method and system default table The view window (i.e. interim application selection window) of the selection window identical topology in face.
Then, using findViewById (res.getIdentifier (and " resolver_list ", " id ", " Android ")) function interface, the application controls view of each application in list is obtained, PackageManager.q is then passed through UeryIntentActivities () obtains the contents of each application controls in corresponding list, for example, Apply Names, answering With icon etc..
Finally, the table data for the default application that will acquire is assigned to adapter Adapter, filler is responsible for by system According to simultaneously rendering content.In the process by calling Views tree viewer ViewTreeObserver.addOnGlobalLayou TListener registers layout monitor, logical in order to after the completion of the layout content of creation is rendered by system, receive system Know, the interim application selection window created before closing.
It should be understood that before closing, findViewById () function interface can be used and find display " APUS " The control of Launcher (application at this time is considered as recommending the target application that user is preferentially selected), and display The control of " Always ".After finding the position of " APUS " control and " Always " control, it can be used View.getLocationOnScreen () function interface obtains display " APUS " control respectively and display " Always " control exists Position in display interface is then shut off the interim application selection window of creation, using WindowManager and combines acquisition Position creates and is shown on " APUS " control region hollow suspended window, and creates in " Always " control region It builds and shows hollow suspended window, specifically can refer to shown in Fig. 6 b.
Thus, it is possible to assist and prompt by way of being created in target application region and showing hollow suspended window The application that user selects the hollow suspended window to be marked is as system default application.It is thus possible to quickly and accurately guide user Default application is selected, user experience is promoted.
Embodiment two
Fig. 7 is that the structure of the device 700 for auxiliary user's selection target application that one embodiment of this specification provides is shown It is intended to.Referring to FIG. 7, in a kind of Software Implementation, the device 700 of auxiliary user's selection target application can include:
First creation module 702 has identical topology and content with system application selection window for creating and showing Interim application selection window, wherein include multiple application controls, the multiple application controls in the interim application selection window The corresponding application of middle application controls has specified function;
Determining module 704 selects window according to the interim application, determines the application of target application in the multiple application Control is in the position of display interface;
Closedown module 706 closes the interim application and selects window;
Second creation module 708, for the application controls according to the target application in the position of display interface, described It is created in system application selection window and shows that the first kind marks, wherein first kind label is for assisting user from described Selection target application in the corresponding multiple applications of system application selection window.
Optionally, as one embodiment, first creation module 702 is being created and is being shown and system application selection window When mouth has the interim application selection window of identical topology and content, it is specifically used for:
According to the version of current system, the layout of temporarily application selection window is determined, wherein the layout includes grid cloth Office or tabular layout;
Search the application for having the specified function in current system;
Based on particular sorted rule by it is described using corresponding application controls according to the determining layout, creation is temporarily answered With selection window;
It is that the interim application selects in window corresponding application controls rendering content simultaneously according to the application found It shows, wherein the rendering content includes: rendering application icon and/or Apply Names.
Optionally, as one embodiment, the determining module 704 is selecting window according to the interim application, is determining The application controls of target application are specifically used at the position of display interface in the multiple application:
The interim application selection window is obtained in the position of display interface;And
Obtain position of the application controls of the target application in the interim application selection window;
Existed according to the interim application selection window in the position of display interface and the application controls of the target application Position in the interim application selection window, determines position of the application controls in display interface of the target application.
Optionally, as one embodiment, the determining module 704 is obtaining the application controls of the target application in institute When stating the position in interim application selection window, it is specifically used for:
Determine the mark of the target application;
It determines described in the interim application selection window that target application is corresponding according to the mark of the target application to answer With control, and obtain position of the application controls in the interim application selection window.
Optionally, as one embodiment, the first kind label includes hollow suspended window;
Second creation module 708 in the application controls according to the target application in the position of display interface, in institute When stating system using creating in selection window and showing first kind label, it is specifically used for:
According to the application controls of the target application in the position of display interface, the institute in system application selection window The application controls region for stating target application creates and shows hollow suspended window.
Optionally, as one embodiment, the first kind label includes translucent suspended window;
Second creation module 708 in the application controls according to the target application in the position of display interface, in institute When stating system using creating in selection window and showing first kind label, it is specifically used for:
According to the application controls of the target application in the position of display interface, the institute in system application selection window The application controls region for stating target application creates and shows for showing that still image and/or the translucent of dynamic image hang Floating window;
Wherein, the translucent suspended window can transmit application of the user to target application in system application selection window The selection operation that control is implemented.
Optionally, as one embodiment, the interim application is selected in window also comprising selection control;
Before closing the interim application selection window, the determining module 704 is also used to:
Window is selected according to the interim application, determines the selection control in the position of display interface;And
When second creation module 708 creation first kind in system application selection window marks and displaying is default After length, it is also used to:
According to the selection control in the position of display interface, in system application selection window where selection control Region creates and shows that the second class marks;
Wherein, the second class label includes hollow suspended window or translucent suspended window.
Optionally, as one embodiment, described device further include:
Control module periodically replaces displaying with second class label for controlling the first kind label.
Optionally, as one embodiment, second creation module 708 is also used to:
Region creation and flex suspension in display interface in addition to the application controls region of the target application Window;
Wherein, the push content of auxiliary user's selection target application is shown in the suspended window, the push content is extremely It less include one of text, still image, dynamic image, audio or multiple combinations.
It, can be by being created in target application region and showing first kind label by this specification technical solution Mode assists and user is prompted to select application that the hollow suspended window marked as system default application.It is thus possible to accurate Quickly guidance user selects default application, promotes user experience.
It should be understood that the device that auxiliary user's selection target of this specification embodiment is applied can also carry out in Fig. 1,2,4 Method, and realize the function of assisting user's selection target application apparatus (or equipment) in the illustrated embodiment of Fig. 1,2,4, herein no longer It repeats.
Embodiment three
The embodiment of the present application also provides a kind of electronic equipment, which specifically can be auxiliary user's selection target The electronic equipment of application;Fig. 8 is the structural schematic diagram of electronic equipment provided by the embodiments of the present application.As shown in figure 8, electronic equipment Bigger difference can be generated because configuration or performance are different, may include one or more processor 802 and storage Device 804 can store one or more storage application programs or data in memory 804.Wherein, memory 804 can To be of short duration storage or persistent storage.The application program for being stored in memory 804 may include one or more module (figures Show and be not shown), each module may include to the series of computation machine executable instruction in electronic equipment.Further, locate Reason device 802 can be set to communicate with memory 804, and the series of computation machine executed in memory 804 on an electronic device can It executes instruction.Electronic equipment can also include one or more power supplys 806, one or more wired or wireless networks Interface 808, one or more input/output interfaces 810, one or more keyboards 812 etc..
In a specific embodiment, electronic equipment includes memory, processor and is stored on the memory simultaneously The computer executable instructions that can be run on the processor, when the computer executable instructions are executed by the processor Realize following below scheme:
Create and show the interim application selection window that there is identical topology and content with system application selection window, In, it include multiple application controls in the interim application selection window, application controls are corresponding in the multiple application controls answers With having specified function;
Window is selected according to the interim application, determines the application controls of target application in the multiple application on display circle The position in face;
Close the interim application selection window;
According to the application controls of the target application in the position of display interface, created in system application selection window It builds and shows that the first kind marks, wherein the first kind label is for assisting user corresponding from system application selection window Multiple applications in selection target application.
Optionally, it when the computer executable instructions are executed by the processor, according to the version of current system, determines The layout of interim application selection window, wherein the layout includes grid layout or tabular layout;It searches and has in current system The application of the standby specified function;Based on particular sorted rule by it is described using corresponding application controls according to the determining cloth Office creates temporarily application selection window;It is that the interim application selects to answer accordingly in window according to the application found It with control rendering content and shows, wherein the rendering content includes: rendering application icon and/or Apply Names.
Optionally, it when the computer executable instructions are executed by the processor, obtains the interim application and selects window Mouth is in the position of display interface;And the application controls of the target application are obtained in the interim application selection window Position;According to the interim application selection window in the position of display interface and the application controls of the target application in institute The position in interim application selection window is stated, determines position of the application controls in display interface of the target application.
Optionally, when the computer executable instructions are executed by the processor, the mark of the target application is determined; The corresponding application controls of target application described in the interim application selection window are determined according to the mark of the target application, and Obtain position of the application controls in the interim application selection window.
Optionally, when the computer executable instructions are executed by the processor, according to the application of the target application Control is created in the position of display interface, the application controls region of the target application described in system application selection window It builds and shows hollow suspended window.
Optionally, when the computer executable instructions are executed by the processor, according to the application of the target application Control is created in the position of display interface, the application controls region of the target application described in system application selection window It builds and shows the translucent suspended window for showing still image and/or dynamic image;Wherein, the translucent suspended window can pass Pass the selection operation that user implements the application controls of target application in system application selection window.
Optionally, when the computer executable instructions are executed by the processor, window is selected according to the interim application Mouthful, determine the selection control in the position of display interface;And the first category is created in system application selection window After note and displaying preset duration, according to the selection control in the position of display interface, in system application selection window Selection control region creates and shows that the second class marks;Wherein, the second class label includes hollow suspended window or semi-transparent Bright suspended window.
Optionally, when the computer executable instructions are executed by the processor, further includes: control first category Note periodically replaces displaying with second class label.
Optionally, when the computer executable instructions are executed by the processor, further includes: remove institute in display interface State region creation and the flex suspension window other than the application controls region of target application;Wherein, it is shown in the suspended window Have auxiliary user's selection target application push content, the push content including at least text, still image, dynamic image, One of audio or multiple combinations.
It, can be by being created in target application region and showing first kind label by this specification technical solution Mode assists and user is prompted to select application that the hollow suspended window marked as system default application.It is thus possible to accurate Quickly guidance user selects default application, promotes user experience.
Example IV
Further, described computer-readable to deposit the embodiment of the present application also provides a kind of computer readable storage medium Storage media is realized for storing computer executable instructions, when the computer executable instructions are executed by processor to flow down Journey:
Create and show the interim application selection window that there is identical topology and content with system application selection window, In, it include multiple application controls in the interim application selection window, application controls are corresponding in the multiple application controls answers With having specified function;
Window is selected according to the interim application, determines the application controls of target application in the multiple application on display circle The position in face;
Close the interim application selection window;
According to the application controls of the target application in the position of display interface, created in system application selection window It builds and shows that the first kind marks, wherein the first kind label is for assisting user corresponding from system application selection window Multiple applications in selection target application.
Optionally, it when the computer executable instructions are executed by processor, according to the version of current system, determines interim Using the layout of selection window, wherein the layout includes grid layout or tabular layout;It searches in current system and has institute State the application of specified function;Based on particular sorted rule by it is described using corresponding application controls according to the determining layout, Creation temporarily application selection window;It is that the interim application selects application control accordingly in window according to the application found Part rendering content is simultaneously shown, wherein the rendering content includes: rendering application icon and/or Apply Names.
Optionally, it when the computer executable instructions are executed by the processor, obtains the interim application and selects window Mouth is in the position of display interface;And the application controls of the target application are obtained in the interim application selection window Position;According to the interim application selection window in the position of display interface and the application controls of the target application in institute The position in interim application selection window is stated, determines position of the application controls in display interface of the target application.
Optionally, when the computer executable instructions are executed by the processor, the mark of the target application is determined; The corresponding application controls of target application described in the interim application selection window are determined according to the mark of the target application, and Obtain position of the application controls in the interim application selection window.
Optionally, when the computer executable instructions are executed by the processor, according to the application of the target application Control is created in the position of display interface, the application controls region of the target application described in system application selection window It builds and shows hollow suspended window.
Optionally, when the computer executable instructions are executed by the processor, according to the application of the target application Control is created in the position of display interface, the application controls region of the target application described in system application selection window It builds and shows the translucent suspended window for showing still image and/or dynamic image;Wherein, the translucent suspended window can pass Pass the selection operation that user implements the application controls of target application in system application selection window.
Optionally, when the computer executable instructions are executed by the processor, window is selected according to the interim application Mouthful, determine the selection control in the position of display interface;And the first category is created in system application selection window After note and displaying preset duration, according to the selection control in the position of display interface, in system application selection window Selection control region creates and shows that the second class marks;Wherein, the second class label includes hollow suspended window or semi-transparent Bright suspended window.
Optionally, when the computer executable instructions are executed by the processor, further includes: control first category Note periodically replaces displaying with second class label.
Optionally, when the computer executable instructions are executed by the processor, further includes: remove institute in display interface State region creation and the flex suspension window other than the application controls region of target application;Wherein, it is shown in the suspended window Have auxiliary user's selection target application push content, the push content including at least text, still image, dynamic image, One of audio or multiple combinations.
It, can be by being created in target application region and showing first kind label by this specification technical solution Mode assists and user is prompted to select application that the hollow suspended window marked as system default application.It is thus possible to accurate Quickly guidance user selects default application, promotes user experience.
Wherein, the computer readable storage medium includes read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal Replacement, improvement etc., should be included within the scope of the claims of this application.

Claims (10)

1. a kind of method of auxiliary user's selection target application, comprising:
It creates and shows the interim application selection window that there is identical topology and content with system application selection window, wherein institute Stating in interim application selection window includes multiple application controls, and the corresponding application of application controls has in the multiple application controls Specified function;
Window is selected according to the interim application, determines the application controls of target application in the multiple application in display interface Position;
Close the interim application selection window;
According to the application controls of the target application in the position of display interface, created simultaneously in system application selection window Show first kind label, wherein the first kind label is for assisting user corresponding more from system application selection window Selection target application in a application.
2. the method as described in claim 1, which is characterized in that creating and showing has identical cloth with system application selection window The interim application selection window of office and content, comprising:
According to the version of current system, determine the layout of temporarily application selection window, wherein the layout include grid layout or Person's tabular layout;
Search the application for having the specified function in current system;
Based on particular sorted rule by it is described using corresponding application controls according to the determining layout, create temporarily application choosing Select window;
Corresponding application controls rendering content in window is selected for the interim application according to the application found and is shown, Wherein, the rendering content includes: rendering application icon and/or Apply Names.
3. the method as described in claim 1, which is characterized in that select window according to the interim application, determine the multiple The application controls of target application are in the position of display interface in, comprising:
The interim application selection window is obtained in the position of display interface;And
Obtain position of the application controls of the target application in the interim application selection window;
According to the interim application selection window in the position of display interface and the application controls of the target application described Position in interim application selection window, determines position of the application controls in display interface of the target application.
4. method as claimed in claim 3, which is characterized in that the application controls for obtaining the target application are temporarily answered described With the position in selection window, comprising:
Determine the mark of the target application;
The corresponding application control of target application described in the interim application selection window is determined according to the mark of the target application Part, and obtain position of the application controls in the interim application selection window.
5. the method as described in claim 1, which is characterized in that the first kind label includes hollow suspended window;
According to the application controls of the target application in the position of display interface, created simultaneously in system application selection window Show first kind label, comprising:
According to the application controls of the target application in the position of display interface, the mesh described in system application selection window The application controls region of mark application creates and shows hollow suspended window.
6. the method as described in claim 1, which is characterized in that the first kind label includes translucent suspended window;
According to the application controls of the target application in the position of display interface, created simultaneously in system application selection window Show first kind label, comprising:
According to the application controls of the target application in the position of display interface, the mesh described in system application selection window The application controls region of mark application creates and shows the translucent suspension for showing still image and/or dynamic image Window;
Wherein, the translucent suspended window can transmit user to the application controls of target application in system application selection window The selection operation of implementation.
7. such as method described in claim 5 or 6, which is characterized in that also comprising selection control in the interim application selection window Part;
Before closing the interim application selection window, the method also includes:
Window is selected according to the interim application, determines the selection control in the position of display interface;And
After the creation first kind marks and shows preset duration in system application selection window, the method also includes:
According to the selection control in the position of display interface, control region is selected in system application selection window It creates and shows that the second class marks;
Wherein, the second class label includes hollow suspended window or translucent suspended window.
8. the method for claim 7, which is characterized in that the method also includes:
It controls the first kind label and periodically replaces displaying with second class label.
9. such as the described in any item methods of claim 5,6,8, which is characterized in that further include:
Region creation and flex suspension window in display interface in addition to the application controls region of the target application;
Wherein, the push content of auxiliary user's selection target application is shown in the suspended window, the push content is at least wrapped Include one of text, still image, dynamic image, audio or multiple combinations.
10. a kind of device of auxiliary user's selection target application characterized by comprising
First creation module, for creating and showing the interim application that there is identical topology and content with system application selection window Select window, wherein include multiple application controls in the interim application selection window, apply control in the multiple application controls The corresponding application of part has specified function;
Determining module selects window according to the interim application, determines that the application controls of target application in the multiple application exist The position of display interface;
Closedown module closes the interim application and selects window;
Second creation module is answered for the application controls according to the target application in the position of display interface in the system With being created in selection window and show that the first kind marks, wherein first kind label is for assisting user to answer from the system With selection target application in the corresponding multiple applications of selection window.
CN201811423474.1A 2018-11-27 2018-11-27 Method and device for assisting user in selecting target application Active CN109521924B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811423474.1A CN109521924B (en) 2018-11-27 2018-11-27 Method and device for assisting user in selecting target application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811423474.1A CN109521924B (en) 2018-11-27 2018-11-27 Method and device for assisting user in selecting target application

Publications (2)

Publication Number Publication Date
CN109521924A true CN109521924A (en) 2019-03-26
CN109521924B CN109521924B (en) 2020-06-30

Family

ID=65779471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811423474.1A Active CN109521924B (en) 2018-11-27 2018-11-27 Method and device for assisting user in selecting target application

Country Status (1)

Country Link
CN (1) CN109521924B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111736806A (en) * 2020-05-14 2020-10-02 广州三七网络科技有限公司 Control injection method and device and terminal equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521032A (en) * 2011-12-13 2012-06-27 北京风灵创景科技有限公司 Setting method for optimal application programs and mobile terminal
CN102932532A (en) * 2012-09-27 2013-02-13 东莞宇龙通信科技有限公司 Application management method and mobile terminal thereof
CN103514035A (en) * 2013-10-18 2014-01-15 北京奇虎科技有限公司 Method and device for having control over default application program of Android operating system
CN104461261A (en) * 2014-12-05 2015-03-25 上海斐讯数据通信技术有限公司 System and method for managing defaulted applications of mobile terminal
CN106095561A (en) * 2016-06-24 2016-11-09 宇龙计算机通信科技(深圳)有限公司 Freeze the management method of application, the managing device freezing application and terminal
CN106096425A (en) * 2016-06-06 2016-11-09 北京金山安全软件有限公司 System permission starting method, device and equipment
CN106293359A (en) * 2016-08-09 2017-01-04 深圳市金立通信设备有限公司 A kind of method of caller and terminal
CN106469066A (en) * 2015-08-14 2017-03-01 腾讯科技(深圳)有限公司 The method for pushing of program information and device
KR20170088031A (en) * 2016-01-22 2017-08-01 홍교식 Auto outputing control apparatus for pop-ups and method of the same
CN108256047A (en) * 2018-01-11 2018-07-06 深圳市金立通信设备有限公司 Manage method, terminal device and the computer-readable medium of default application
CN108594983A (en) * 2018-04-11 2018-09-28 麒麟合盛网络技术股份有限公司 A kind of method and device for saving mobile terminal electricity

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521032A (en) * 2011-12-13 2012-06-27 北京风灵创景科技有限公司 Setting method for optimal application programs and mobile terminal
CN102932532A (en) * 2012-09-27 2013-02-13 东莞宇龙通信科技有限公司 Application management method and mobile terminal thereof
CN103514035A (en) * 2013-10-18 2014-01-15 北京奇虎科技有限公司 Method and device for having control over default application program of Android operating system
CN104461261A (en) * 2014-12-05 2015-03-25 上海斐讯数据通信技术有限公司 System and method for managing defaulted applications of mobile terminal
CN106469066A (en) * 2015-08-14 2017-03-01 腾讯科技(深圳)有限公司 The method for pushing of program information and device
KR20170088031A (en) * 2016-01-22 2017-08-01 홍교식 Auto outputing control apparatus for pop-ups and method of the same
KR101824791B1 (en) * 2016-01-22 2018-03-14 홍교식 Auto outputing control apparatus for pop-ups and method of the same
CN106096425A (en) * 2016-06-06 2016-11-09 北京金山安全软件有限公司 System permission starting method, device and equipment
CN106095561A (en) * 2016-06-24 2016-11-09 宇龙计算机通信科技(深圳)有限公司 Freeze the management method of application, the managing device freezing application and terminal
CN106293359A (en) * 2016-08-09 2017-01-04 深圳市金立通信设备有限公司 A kind of method of caller and terminal
CN108256047A (en) * 2018-01-11 2018-07-06 深圳市金立通信设备有限公司 Manage method, terminal device and the computer-readable medium of default application
CN108594983A (en) * 2018-04-11 2018-09-28 麒麟合盛网络技术股份有限公司 A kind of method and device for saving mobile terminal electricity

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111736806A (en) * 2020-05-14 2020-10-02 广州三七网络科技有限公司 Control injection method and device and terminal equipment

Also Published As

Publication number Publication date
CN109521924B (en) 2020-06-30

Similar Documents

Publication Publication Date Title
CN106484224B (en) A kind of operating method and terminal
CN103530127B (en) icon display method and device
US20050015730A1 (en) Systems, methods and computer program products for identifying tab order sequence of graphically represented elements
US10628133B1 (en) Console and method for developing a virtual agent
CN111190598A (en) Gas turbine monitoring software picture configuration method based on control library drag-type development
CN106155488A (en) The display packing of application icon and device
US20160004515A1 (en) Method for providing application development environment and device
CN105718159A (en) Icon display method and device
CN103513969A (en) Establishment method, device and terminal of application program entry
CN104598133B (en) The specification generation method and device of object
CN105786846A (en) Website platform component capable of generating modules in user-defined manner
CN108132742B (en) Terminal equipment and display method of associated window thereof
CN107423411A (en) Journal displaying method and apparatus
CN105573593B (en) A kind of display methods and device of shortcut menu
CN109521924A (en) A kind of method and apparatus of auxiliary user's selection target application
CN107544723A (en) A kind of exchange method of application program, apparatus and system
CN106066874B (en) Object processing method and terminal
CN106354356A (en) Method and terminal for managing application icon
US20170242713A1 (en) Device navigational maps for connected devices
CN105159534A (en) Processing method and apparatus for graphic button
CN111930375B (en) Data visualization application development method and device
CN114579118A (en) Programming method and system, equipment, storage medium
US9841868B2 (en) User configurable user interface
KR101648783B1 (en) Mobile electronic-display application
CN111431729A (en) Resource management interaction method based on topological graph

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
GR01 Patent grant
GR01 Patent grant