[go: up one dir, main page]

CN109521924B - Method and device for assisting user in selecting target application - Google Patents

Method and device for assisting user in selecting target application Download PDF

Info

Publication number
CN109521924B
CN109521924B CN201811423474.1A CN201811423474A CN109521924B CN 109521924 B CN109521924 B CN 109521924B CN 201811423474 A CN201811423474 A CN 201811423474A CN 109521924 B CN109521924 B CN 109521924B
Authority
CN
China
Prior art keywords
application
selection window
control
temporary
window
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811423474.1A
Other languages
Chinese (zh)
Other versions
CN109521924A (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.)
Qilin Hesheng Network Technology Inc
Original Assignee
Qilin Hesheng Network Technology Inc
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 Qilin Hesheng Network Technology Inc filed Critical Qilin Hesheng Network Technology Inc
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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the specification discloses a method and a device for assisting a user in selecting a target application, which are used for guiding the user to accurately and quickly select a default application. This application mainly includes: the method comprises the steps of creating and displaying a temporary application selection window with the same layout and content as those of a system application selection window, determining the position of an application control of a target application in a plurality of applications on a display interface according to the temporary application selection window, closing the temporary application selection window, creating and displaying a first type of mark in the system application selection window according to the position of the application control of the target application on the display interface, wherein the first type of mark is used for assisting a user in selecting the target application from the plurality of applications corresponding to the system application selection window. Therefore, the method can assist and prompt a user to select the application marked by the hollow floating window as the default application of the system by creating and displaying the first type mark in the area where the target application is located. Therefore, the user can be guided to accurately and quickly select the target application, and the user experience is improved.

Description

Method and device for assisting user in selecting target application
Technical Field
The present disclosure relates to the field of computer software technologies, and in particular, to a method and an apparatus for assisting a user in selecting a target application.
Background
At present, various applications are installed on an intelligent terminal to meet various requirements of users. These applications have many of the same functions, for example, both WeChat and QQ have chat functions.
Taking an Android system as an example, the system allocates important functions on a mobile phone to different applications, so that when a user uses a certain function, the application is directly opened, and there are two general ways for setting the default application of the system, one of which is to enter a default application setting page of the system and select the default application. And secondly, when a certain function is used, if the default application is not set, the system pops up a window for selecting the default application to be selected by the user. However, existing windows for selecting default applications (i.e., system application selection windows) often lack prompts and guidance or prompts are not obvious enough, so that users cannot quickly and accurately select the default applications.
Therefore, how to effectively assist the user in selecting the target application to guide the user to accurately and quickly select the target application becomes a technical problem to be solved urgently.
Disclosure of Invention
An object of the embodiments of the present disclosure is to provide a method and an apparatus for assisting a user in selecting a target application, so as to guide the user to accurately and quickly select the target application.
In order to solve the above technical problem, the embodiments of the present specification are implemented as follows:
in a first aspect, a method for assisting a user in selecting a target application is provided, including:
creating and displaying a temporary application selection window with the same layout and content as the system application selection window, wherein the temporary application selection window comprises a plurality of application controls, and the application corresponding to the application controls in the plurality of application controls has a specified function;
determining the position of an application control of a target application in the plurality of applications on a display interface according to the temporary application selection window;
closing the temporary application selection window;
and creating and displaying a first type mark in the system application selection window according to the position of the application control of the target application on the display interface, wherein the first type mark is used for assisting a user in selecting the target application from a plurality of applications corresponding to the system application selection window.
In a second aspect, an apparatus for assisting a user in selecting a target application is provided, including:
the system comprises a first creating module, a second creating module and a display module, wherein the first creating module is used for creating and displaying a temporary application selection window which has the same layout and content as a system application selection window, the temporary application selection window comprises a plurality of application controls, and the applications corresponding to the application controls in the application controls have designated functions;
the determining module is used for determining the position of an application control of a target application in the plurality of applications on a display interface according to the temporary application selection window;
a closing module for closing the temporary application selection window;
and the second creating module is used for creating and displaying a first type of mark in the system application selection window according to the position of the application control of the target application on the display interface, wherein the first type of mark is used for assisting a user to select the target application from a plurality of applications corresponding to the system application selection window.
In a third aspect, an electronic device is provided, including:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
creating and displaying a temporary application selection window with the same layout and content as the system application selection window, wherein the temporary application selection window comprises a plurality of application controls, and the application corresponding to the application controls in the plurality of application controls has a specified function;
determining the position of an application control of a target application in the plurality of applications on a display interface according to the temporary application selection window;
closing the temporary application selection window;
and creating and displaying a first type mark in the system application selection window according to the position of the application control of the target application on the display interface, wherein the first type mark is used for assisting a user in selecting the target application from a plurality of applications corresponding to the system application selection window.
In a fourth aspect, a computer-readable storage medium is presented, the computer-readable storage medium storing one or more programs that, when executed by an electronic device that includes a plurality of application programs, cause the electronic device to:
creating and displaying a temporary application selection window with the same layout and content as the system application selection window, wherein the temporary application selection window comprises a plurality of application controls, and the application corresponding to the application controls in the plurality of application controls has a specified function;
determining the position of an application control of a target application in the plurality of applications on a display interface according to the temporary application selection window;
closing the temporary application selection window;
and creating and displaying a first type mark in the system application selection window according to the position of the application control of the target application on the display interface, wherein the first type mark is used for assisting a user in selecting the target application from a plurality of applications corresponding to the system application selection window.
Through the technical scheme of the specification, the mode of creating and displaying the first type of mark in the area where the target application is located can be used for assisting and prompting a user to select the application marked by the hollow floating window as the default application of the system. Therefore, the user can be guided to accurately and quickly select the default application, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present specification, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
FIG. 1 is a diagram illustrating steps of a method for assisting a user in selecting a target application according to an embodiment of the present disclosure.
Fig. 2 is a schematic diagram illustrating a step 102 in a method for assisting a user in selecting a target application according to an embodiment of the present disclosure.
Fig. 3a is a schematic diagram of a grid layout structure provided in an embodiment of the present specification.
Fig. 3b is a diagram illustrating a list layout structure provided in an embodiment of the present specification.
Fig. 4 is a schematic diagram illustrating a step 104 in a method for assisting a user in selecting a target application according to an embodiment of the present disclosure.
Fig. 5a to 5f are schematic interface diagrams of a mark created when assisting a user in selecting a target application according to an embodiment of the present specification, respectively.
Fig. 6a to fig. 6b are schematic diagrams of interfaces provided by an embodiment of the present specification to assist a user in selecting a target application.
Fig. 7 is a schematic structural diagram of an apparatus for assisting a user in selecting a target application according to an embodiment of the present disclosure.
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all of the embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments in the present specification without any inventive step should fall within the scope of protection of the present specification.
It should be understood that the present application mainly uses a terminal of an Android system as an example, and the present application may also be applied to terminals of other systems, which is not limited in the present application.
Example one
Referring to fig. 1, a schematic step diagram of a method for assisting a user in selecting a target application according to an embodiment of the present application is provided, where the method is applicable to a terminal system, and the terminal may include: mobile phones, computers, wearable devices, etc. with application programs (also referred to as applications) installed. The method may comprise the steps of:
step 102: a temporary application selection window having the same layout and content as the system application selection window is created and presented. The temporary application selection window comprises a plurality of application controls, and the application corresponding to the application controls in the application controls has a specified function.
Since the operation commands, codes, and the like in the terminal system are generally packaged by the developer, the packaged operation commands, codes, and the like cannot be directly processed. When some operations of the terminal system are triggered, for example, when the system application selection window is triggered to select a target application in the embodiment of the present application, a temporary application selection window having the same layout and content as the system application selection window may be created and presented.
It should be understood that the location at which the temporary application selection window is exposed may completely cover the location at which the system application selection window appears, i.e., the temporary application selection window covers the system application selection window. Since the time of presentation is very short, the user may not be able to capture the temporary application selection window of the presentation by the naked eye.
The specified function is a function that is commonly owned by a plurality of applications installed in the terminal system, and the specified function is a function that the user desires to use. For example, the "APUS" application, the "TouchWiz Home" application, and the "TouchWiz simple Home" application, etc. all have desktop functions; the WeChat application, the QQ application, the nail application and the like have the chat function.
Optionally, in this embodiment of the present application, as shown in fig. 2, when creating and presenting a temporary application selection window having the same layout and content as the system application selection window, step 102 may specifically be performed as:
step 202: determining a layout of the temporary application selection window according to a version of a current system, wherein the layout comprises a grid layout or a list layout.
It should be understood that, in the present application, the layout should include a layout position, i.e., a position of the temporary application selection window on the display interface, in addition to a layout structure such as a grid layout or a list layout.
In this way, it can be determined whether the layout structure of the temporary application selection window selects a grid layout or a list layout according to the version of the current system, and further determine the layout position of the temporary application selection window on the display interface.
Step 204: and searching the application with the specified function in the current system.
All applications that support the specified functionality that the user wishes to use are looked up from the current system. It should be understood that the found application is the same as the application shown in the system application selection window.
Step 206: and based on a specific sorting rule, creating a temporary application selection window according to the determined layout of the application control corresponding to the application.
The specific sorting rule may be a sorting mode implemented based on one application attribute of application installation time, application initials, application size and application type, or may also be a sorting mode implemented based on application parameters generated based on one or more combinations of application installation time, application initials, application size and application type.
It should be understood that, in this application scheme, the specific sorting rule may be determined based on the system application selection window, in other words, based on the specific sorting rule applied in the system application selection window, the temporary application selection window having the same layout as the system application selection window is created by using the searched applications according to the layout structure and the layout position determined in step 202.
It should be understood that, in the process of creating the temporary application selection window, according to the layout structure and the found application, a plurality of application controls are created inside the temporary application selection window, the number of the plurality of application controls may be the same as the number of the found applications, or only a part of the application controls may be displayed, and the other application controls may be hidden.
Step 208: rendering and displaying content for the corresponding application control in the temporary application selection window according to the searched application, wherein the rendering content comprises: rendering the application icon and/or the application name.
After the temporary application selection window is created, content needs to be rendered for a plurality of application controls in the temporary application selection window, and specifically, the content can be rendered in the application controls: an application icon and/or an application name, and is exposed to refine the temporary application selection window to be identical to the system application selection window. Thereby ensuring that the temporary application selection window has the same layout and content as the system application selection window.
-grid layout
Referring to fig. 3a, a temporary application selection window is created in a grid layout, where application controls in the temporary application selection window are laid out in a grid form, an application icon and an application name can be rendered in each application control at the same time, the application icon is rendered above the inside of the application control, and the application name is rendered below the inside of the application control; in fact, the application icon can be rendered below the application control, and the application name can be rendered above the application control; or rendering the application icon on the left side in the application control, and rendering the application name on the right side in the application control; or, rendering the application icon to the right in the application control, and rendering the application name to the left in the application control. The application does not limit the specific locations of the application icons and application names in the grid layout.
- -List layout
Referring to fig. 3b, a temporary application selection window is created in a list layout, where application controls in the temporary application selection window are laid out in a list form, an application icon and an application name can be rendered in each application control at the same time, the application icon is rendered on the left side in the application control, and the application name is rendered on the right side in the application control; in fact, the application icon can be rendered on the right side in the application control, and the application name can be rendered on the left side in the application control; or rendering the application icon above the application control and rendering the application name below the application control; or, rendering the application icon below the application control and rendering the application name above the application control. The specific positions of the application icons and the application names in the list layout are not limited in the present application.
It should be understood that, in the embodiment of the present application, a temporary application selection window may be created as shown in fig. 3a, where the temporary application selection window includes a plurality of application controls, and an application corresponding to each application control in the plurality of application controls has a specified function. The system application selection window may also be as shown in fig. 3a, and the layout and the content of the two are completely the same, so that it is convenient to subsequently obtain corresponding parameter information based on the created temporary application selection window, for example, the position of the application control of the target application on the display interface.
Step 104: and determining the position of an application control of a target application in the plurality of applications on a display interface according to the temporary application selection window.
According to the temporary application selection window created by the scheme, the position of the application control of the target application on the display interface can be determined. Wherein, the target application refers to an application recommended to be selected by a developer when a user wants to use the specified function. For example, it may be an application recommended as a default application in the system application selection window.
Optionally, in an embodiment of the present application, referring to fig. 4, when determining, according to the temporary application selection window, a position of an application control of a target application in the multiple applications in a display interface in step 104, specifically execute:
step 402: and acquiring the position of the temporary application selection window on a display interface.
It should be understood that the Android system layout measurement interface may be used to obtain the location of the temporary application selection window on the display interface. For example, the height of the temporary application selection window on the display interface can be obtained by using a function interface of a view tree viewer, viewtree observer. In fact, the corresponding position parameter may also be obtained from the created temporary application selection window through other function interfaces, which is not described herein.
Step 404: and acquiring the position of the application control of the target application in the temporary application selection window.
Optionally, this step 404 may specifically be executed, when obtaining the position of the application control of the target application in the temporary application selection window, to:
first, an identification of the target application is determined.
And secondly, determining an application control corresponding to the target application in the temporary application selection window according to the identification of the target application, and acquiring the position of the application control in the temporary application selection window.
During specific implementation, an identifier of a target application can be determined through a resource file interface, then an application control corresponding to the target application is obtained through the determined identifier of the target application, and further, the position of the application control of the target application in a temporary application selection window is obtained through a layout measurement interface. For example, an application name of the target application may be obtained using a resource file resources.getidentifier function interface (where a query operation of attributes such as "apps Launcher", "ID", "android", and the like may be involved), an application control ID of the target application may be determined according to the application name of the target application, and a view of the application control may be obtained through the application control ID of the target application, that is, a position of the application control in the temporary application selection window may be obtained.
Step 406: and determining the position of the application control of the target application on the display interface according to the position of the temporary application selection window on the display interface and the position of the application control of the target application in the temporary application selection window.
And determining the position of the application control of the target application on the display interface based on the position of the temporary application selection window determined in the step 402 and the position of the application control of the target application in the temporary application selection window determined in the step 406. Getlocationonscreen function interface can be used to obtain the position of the application control of the target application in the display interface (visible as a screen), and record the position.
Step 106: and closing the temporary application selection window.
The temporary application selection window created is considered to be exposed on the surface of the system application selection window, thus causing an occlusion of the system application selection window having a substantial selection operational significance. Therefore, after the position of the application control of the target application on the display interface is acquired, the temporary application selection window can be closed, so that a subsequent user can conveniently perform corresponding selection operation on the system application selection window.
Step 108: and creating and displaying a first type mark in the system application selection window according to the position of the application control of the target application on the display interface. The first type mark is used for assisting a user in selecting a target application from a plurality of applications corresponding to the system application selection window.
In the embodiment of the present application, the following creation execution manners may be respectively implemented according to the difference between the first type mark and/or the second type mark.
-creating a first type of mark, and the first type of mark comprises a hollow floating window
Specifically, when the first type mark is created and displayed in the system application selection window according to the position of the application control of the target application on the display interface, step 108 may be specifically executed to:
and according to the position of the application control of the target application on a display interface, creating and displaying a hollow floating window in the area where the application control of the target application is located in the system application selection window.
For example, referring to FIG. 5a, the system application selection window includes an "APUS" control, a "TouchWiz simple Home" control, and a "TouchWiz Home" control; the application corresponding to the "APUS" control is a target application, and therefore, a hollow floating window is created and displayed in an area where the "APUS" control is located, the hollow floating window can be specifically a frame body with the same size as the control, wherein the color of the frame body is not limited, and the line width of the frame body is not limited. Therefore, the hollow floating window can assist in prompting a user to quickly and accurately select a target application. Further, efficiency of setting the default application is improved.
-creating a first type of mark, and the first type of mark comprises a translucent floating window
Specifically, when the first type mark is created and displayed in the system application selection window according to the position of the application control of the target application on the display interface, step 108 may be specifically executed to:
according to the position of the application control of the target application on a display interface, creating and displaying a semitransparent floating window for displaying a static image and/or a dynamic image in the area where the application control of the target application is located in the system application selection window;
the semi-transparent floating window can transmit selection operation of a user on an application control of a target application in the system application selection window.
For example, referring to FIG. 5b, the system application selection window includes an "APUS" control, a "TouchWiz simple Home" control, and a "TouchWiz Home" control; the application corresponding to the "APUS" control is a target application, so a semi-transparent floating window is created and displayed in the area where the "APUS" control is located, and the semi-transparent floating window can display a static image and/or a dynamic image. The size of the semi-transparent floating window can be the same as that of the control, wherein the color of the semi-transparent floating window is not limited, and the displayed image is not limited. Therefore, the user can be assisted to be prompted to quickly and accurately select the target application through the semitransparent floating window, particularly the image picture displayed by the semitransparent floating window; further, efficiency of setting the default application is improved.
-creating a first type of mark and a second type of mark, and the second type of mark comprises a hollow floating window or a translucent floating window
The temporary application selection window further includes a selection control, where the selection control may include: options such as "once only", "always", "just once", "always", and "always"; before closing the temporary application selection window in step 106, further comprising:
determining the position of the selection control on a display interface according to the temporary application selection window;
and the number of the first and second groups,
after creating the first type mark in the system application selection window based on step 108 and displaying the preset duration, the method further includes:
according to the position of the selection control on the display interface, creating and displaying a second type of mark in the area where the selection control is located in the system application selection window;
wherein the second type of indicia comprises a hollow suspended window or a translucent suspended window.
For example, referring to FIG. 5c, the system application selection window includes an "APUS" control, a "TouchWiz simple Home" control, and a "TouchWiz Home" control; the application corresponding to the APUS control is a target application, so that a hollow floating window is created and displayed in the area where the APUS control is located, the hollow floating window is closed after the hollow floating window is displayed in the area where the APUS control is located for N seconds, and the hollow floating window or the semi-transparent floating window is created and continuously displayed in the area where the selection control is located in the system application selection window. Wherein the translucent floating window may display a static image and/or a dynamic image. Therefore, the user can be assisted to be prompted to quickly and accurately select the target application through the first type mark and the second type mark which are displayed in an animation mode; further, efficiency of setting the default application is improved.
For example, as shown with reference to FIG. 5 d; the system application selection window comprises an APUS control, a TouchWiz simple homepage control and a TouchWiz homepage control; the application corresponding to the APUS control is a target application, so that a semi-transparent floating window is created and displayed in the area where the APUS control is located, when the semi-transparent floating window is displayed in the area where the APUS control is located and is closed for N seconds, the hollow floating window or the semi-transparent floating window is created and continuously displayed in the area where the selection control is located in the system application selection window. Wherein the translucent floating window may display a static image and/or a dynamic image. Therefore, the user can be assisted to be prompted to quickly and accurately select the target application through the first type mark and the second type mark which are displayed in an animation mode; further, efficiency of setting the default application is improved.
It should be appreciated that in the embodiment of the present application, the second type mark may be created in the area where the "always" selection control is located, which may assist the user in using the target application frequently without re-selecting a new target application every time. In fact, the second type mark may also be created in the area where the selection control is located, except for the "always" selection control, which is not limited in this application.
And in addition, based on the created first-type marks and second-type marks, the first-type marks and the second-type marks can be controlled to be periodically and alternately displayed.
For example, referring to FIG. 5e, the system application selection window includes a "QQ" control, a "WeChat" control, and a "nail" control; the application corresponding to the 'WeChat' control is the target application, so that a first type of mark, such as a hollow floating window, can be created and displayed in the area where the 'WeChat' control is located, when the hollow floating window is displayed in the area where the 'WeChat' control is located and is closed for 1 second, a second type of mark, such as a semi-transparent floating window, is created and displayed in the area where the selection control is located in the system application selection window. And then, closing the second type of mark after 1 second, displaying the hollow floating window in the area where the WeChat control is located for 1 second, displaying the semi-transparent floating window in the area where the selection control is located in the system application selection window for 1 second after closing, and so on, and alternately displaying the first type of mark and the second type of mark according to the 1 second period. Therefore, the user can be assisted to be prompted to quickly and accurately select the target application through the first type mark and the second type mark which are displayed in an animation mode; further, efficiency of setting the default application is improved.
-creating a first type of mark and/or a second type of mark and a floating window in the area of the display interface other than the area where the application control of the target application is located
Based on the created first class mark and/or the second class mark, the method further comprises the following steps:
creating and displaying a floating window in a display interface except for the area where the application control of the target application is located;
the floating window is provided with push content for assisting a user in selecting a target application, and the push content at least comprises one or more combinations of characters, static images, dynamic images and audios.
For example, referring to FIG. 5f, the system application selection window includes a "QQ" control, a "WeChat" control, and a "nail" control; the application corresponding to the 'WeChat' control is the target application, so that a first type of mark, such as a hollow floating window, can be created and displayed in the area where the 'WeChat' control is located, and when the hollow floating window is displayed in the area where the 'WeChat' control is located and is closed for N seconds, a second type of mark, such as a semi-transparent floating window, is created and displayed in the area where the selection control is located in the system application selection window. Meanwhile, a floating window is created and displayed in a display interface except for the area where the application control of the target application is located, and push content for assisting a user in selecting the target application is displayed in the floating window, for example, "select WeChat is recommended as default application". Therefore, the user can be assisted to be prompted to quickly and accurately select the target application through the first type mark and the second type mark which are displayed in an animation mode and in combination with the push content; further, efficiency of setting the default application is improved.
The above method for assisting the user in selecting the target application is described in detail below by using a specific example.
The scheme for assisting the user in selecting the target application is described by taking an example of setting a default Launcher on an android6.0 system on an M-model mobile phone.
When an application with Launcher function is installed on the M-type mobile phone, the default Launcher of the system is automatically cleared by the system. The concrete embodiment is as follows: when a user opens an application and wants to quickly switch back to a desktop, and presses the Home key of the screen, the user does not leave the application and switch to the default desktop immediately (because the default desktop of the system is cleared at this time, there is no default desktop), but pops up and selects the selection window of the default desktop of the system (i.e. the system application selection window) on the interface of the current application, as shown in fig. 6a, the layout structure of the selection window of the default desktop of the system at this time is a list, so when creating the same view window as the selection window of the default desktop of the system, the layout structure of the list is also selected, and specifically, all resource files with the Launcher function, such as "APUS", "tree", and "Google non Launcher", can be obtained through the package manager. Then, the application names of these resource files (i.e., applications) are obtained through the resources.
Then, an application control view of each application in the list is obtained using a findViewById (res. getidentifier ("resolver _ list", "id", "android")) function interface, and then the content of each application control in the corresponding list, for example, an application name, an application icon, and the like, is obtained through a packagemanager.
And finally, assigning the acquired list data of the default application to an Adapter, and enabling the system to fill in the data and render the content. In the process, a view tree viewer, namely ViewTreeObserver. addOnGlobalLayoutLister, is called to register a layout listener, so that after the created layout content is rendered by a system, the system notification is received, and the previously created temporary application selection window is closed.
It should be appreciated that prior to shutdown, a findViewById () function interface may be used to find a control that displays "APUS" Launcher (the application is now considered the target application recommended to the user for preference), and a control that displays "Always". After the positions of the "APUS" control and the "Always" control are found, the view getlocationonscreen () function interface may be used to respectively obtain the positions of the display "APUS" control and the display "Always" control in the display interface, then close the created temporary application selection window, create and display a hollow floating window on the area where the "APUS" control is located by using WindowManager in combination with the obtained positions, and create and display a hollow floating window on the area where the "Always" control is located, which may be specifically shown with reference to fig. 6 b.
Therefore, the hollow floating window can be created and displayed in the area where the target application is located, and the user is assisted and prompted to select the application marked by the hollow floating window as the default application of the system. Therefore, the user can be guided to select the default application accurately and quickly, and the user experience is improved.
Example two
Fig. 7 is a schematic structural diagram of an apparatus 700 for assisting a user in selecting a target application according to an embodiment of the present disclosure. Referring to fig. 7, in a software implementation, an apparatus 700 for assisting a user in selecting a target application may include:
a first creating module 702, configured to create and display a temporary application selection window having the same layout and content as a system application selection window, where the temporary application selection window includes multiple application controls, and an application corresponding to an application control in the multiple application controls has a specified function;
a determining module 704, configured to determine, according to the temporary application selection window, a position of an application control of a target application in the multiple applications in a display interface;
a closing module 706 that closes the temporary application selection window;
a second creating module 708, configured to create and display a first type of mark in the system application selection window according to a position of the application control of the target application on the display interface, where the first type of mark is used to assist a user in selecting the target application from the multiple applications corresponding to the system application selection window.
Optionally, as an embodiment, when creating and displaying the temporary application selection window having the same layout and content as the system application selection window, the first creating module 702 is specifically configured to:
determining the layout of a temporary application selection window according to the version of the current system, wherein the layout comprises a grid layout or a list layout;
searching the application with the specified function in the current system;
based on a specific sorting rule, creating a temporary application selection window for the application control corresponding to the application according to the determined layout;
rendering and displaying content for the corresponding application control in the temporary application selection window according to the searched application, wherein the rendering content comprises: rendering the application icon and/or the application name.
Optionally, as an embodiment, when determining, according to the temporary application selection window, a position of an application control of a target application in the multiple applications in a display interface, the determining module 704 is specifically configured to:
acquiring the position of the temporary application selection window on a display interface; and the number of the first and second groups,
acquiring the position of the application control of the target application in the temporary application selection window;
and determining the position of the application control of the target application on the display interface according to the position of the temporary application selection window on the display interface and the position of the application control of the target application in the temporary application selection window.
Optionally, as an embodiment, when obtaining the position of the application control of the target application in the temporary application selection window, the determining module 704 is specifically configured to:
determining an identity of the target application;
and determining an application control corresponding to the target application in the temporary application selection window according to the identifier of the target application, and acquiring the position of the application control in the temporary application selection window.
Optionally, as an embodiment, the first type of mark comprises a hollow floating window;
the second creating module 708 is specifically configured to, when creating and displaying the first type mark in the system application selection window according to the position of the application control of the target application on the display interface,:
and according to the position of the application control of the target application on a display interface, creating and displaying a hollow floating window in the area where the application control of the target application is located in the system application selection window.
Optionally, as an embodiment, the first type of indicia comprises a translucent floating window;
the second creating module 708 is specifically configured to, when creating and displaying the first type mark in the system application selection window according to the position of the application control of the target application on the display interface,:
according to the position of the application control of the target application on a display interface, creating and displaying a semitransparent floating window for displaying a static image and/or a dynamic image in the area where the application control of the target application is located in the system application selection window;
the semi-transparent floating window can transmit selection operation of a user on an application control of a target application in the system application selection window.
Optionally, as an embodiment, the temporary application selection window further includes a selection control;
prior to closing the temporary application selection window, the determining module 704 is further configured to:
determining the position of the selection control on a display interface according to the temporary application selection window; and the number of the first and second groups,
the second creating module 708, after creating the first type mark in the system application selection window and displaying the preset duration, is further configured to:
according to the position of the selection control on the display interface, creating and displaying a second type of mark in the area where the selection control is located in the system application selection window;
wherein the second type of indicia comprises a hollow suspended window or a translucent suspended window.
Optionally, as an embodiment, the apparatus further includes:
and the control module is used for controlling the first type of mark and the second type of mark to be displayed alternately at a periodic time.
Optionally, as an embodiment, the second creating module 708 is further configured to:
creating and displaying a floating window in a display interface except for the area where the application control of the target application is located;
the floating window is provided with push content for assisting a user in selecting a target application, and the push content at least comprises one or more combinations of characters, static images, dynamic images and audios.
Through the technical scheme of the specification, the mode of creating and displaying the first type of mark in the area where the target application is located can be used for assisting and prompting a user to select the application marked by the hollow floating window as the default application of the system. Therefore, the user can be guided to select the default application accurately and quickly, and the user experience is improved.
It should be understood that the apparatus for assisting a user in selecting a target application in this specification may also perform the methods in fig. 1, 2, and 4, and implement the functions of the apparatus (or device) for assisting a user in selecting a target application in the embodiments shown in fig. 1, 2, and 4, which are not described herein again.
EXAMPLE III
The embodiment of the application also provides electronic equipment, which can be specifically electronic equipment for assisting a user in selecting a target application; fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 8, the electronic devices may have a relatively large difference due to different configurations or performances, and may include one or more processors 802 and a memory 804, where one or more stored applications or data may be stored in the memory 804. The memory 804 may be, for example, a transient or persistent storage. The application program stored in memory 804 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for the electronic device. Still further, the processor 802 may be disposed in communication with the memory 804, executing a series of computer-executable instructions in the memory 804 on the electronic device. The electronic device may also include one or more power supplies 806, one or more wired or wireless network interfaces 808, one or more input-output interfaces 810, one or more keyboards 812, etc.
In a particular embodiment, an electronic device includes a memory, a processor, and computer-executable instructions stored on the memory and executable on the processor, which when executed by the processor implement the following:
creating and displaying a temporary application selection window with the same layout and content as the system application selection window, wherein the temporary application selection window comprises a plurality of application controls, and the application corresponding to the application controls in the plurality of application controls has a specified function;
determining the position of an application control of a target application in the plurality of applications on a display interface according to the temporary application selection window;
closing the temporary application selection window;
and creating and displaying a first type mark in the system application selection window according to the position of the application control of the target application on the display interface, wherein the first type mark is used for assisting a user in selecting the target application from a plurality of applications corresponding to the system application selection window.
Optionally, the computer executable instructions, when executed by the processor, determine a layout of the temporary application selection window according to a version of a current system, wherein the layout comprises a grid layout or a list layout; searching the application with the specified function in the current system; based on a specific sorting rule, creating a temporary application selection window for the application control corresponding to the application according to the determined layout; rendering and displaying content for the corresponding application control in the temporary application selection window according to the searched application, wherein the rendering content comprises: rendering the application icon and/or the application name.
Optionally, the computer executable instructions, when executed by the processor, obtain a position of the temporary application selection window on a display interface; acquiring the position of the application control of the target application in the temporary application selection window; and determining the position of the application control of the target application on the display interface according to the position of the temporary application selection window on the display interface and the position of the application control of the target application in the temporary application selection window.
Optionally, the computer executable instructions, when executed by the processor, determine an identity of the target application; and determining an application control corresponding to the target application in the temporary application selection window according to the identifier of the target application, and acquiring the position of the application control in the temporary application selection window.
Optionally, when executed by the processor, the computer-executable instructions create and display a hollow floating window in the system application selection window in the area where the application control of the target application is located according to the position of the application control of the target application in the display interface.
Optionally, when the computer-executable instructions are executed by the processor, according to the position of the application control of the target application on the display interface, creating and displaying a semi-transparent floating window for displaying a static image and/or a dynamic image in an area where the application control of the target application is located in the system application selection window; the semi-transparent floating window can transmit selection operation of a user on an application control of a target application in the system application selection window.
Optionally, when executed by the processor, the computer-executable instructions determine a position of the selection control on the display interface according to the temporary application selection window; after the first type marks are created in the system application selection window and preset duration is displayed, second type marks are created and displayed in the area where the selection control is located in the system application selection window according to the position of the selection control on the display interface; wherein the second type of indicia comprises a hollow suspended window or a translucent suspended window.
Optionally, the computer executable instructions, when executed by the processor, further comprise: and controlling the first type marks and the second type marks to be periodically and alternately displayed.
Optionally, the computer executable instructions, when executed by the processor, further comprise: creating and displaying a floating window in a display interface except for the area where the application control of the target application is located; the floating window is provided with push content for assisting a user in selecting a target application, and the push content at least comprises one or more combinations of characters, static images, dynamic images and audios.
Through the technical scheme of the specification, the mode of creating and displaying the first type of mark in the area where the target application is located can be used for assisting and prompting a user to select the application marked by the hollow floating window as the default application of the system. Therefore, the user can be guided to select the default application accurately and quickly, and the user experience is improved.
Example four
Further, an embodiment of the present application also provides a computer-readable storage medium for storing computer-executable instructions, which when executed by a processor implement the following process:
creating and displaying a temporary application selection window with the same layout and content as the system application selection window, wherein the temporary application selection window comprises a plurality of application controls, and the application corresponding to the application controls in the plurality of application controls has a specified function;
determining the position of an application control of a target application in the plurality of applications on a display interface according to the temporary application selection window;
closing the temporary application selection window;
and creating and displaying a first type mark in the system application selection window according to the position of the application control of the target application on the display interface, wherein the first type mark is used for assisting a user in selecting the target application from a plurality of applications corresponding to the system application selection window.
Optionally, the computer executable instructions, when executed by the processor, determine a layout of the temporary application selection window according to a version of a current system, wherein the layout comprises a grid layout or a list layout; searching the application with the specified function in the current system; based on a specific sorting rule, creating a temporary application selection window for the application control corresponding to the application according to the determined layout; rendering and displaying content for the corresponding application control in the temporary application selection window according to the searched application, wherein the rendering content comprises: rendering the application icon and/or the application name.
Optionally, the computer executable instructions, when executed by the processor, obtain a position of the temporary application selection window on a display interface; acquiring the position of the application control of the target application in the temporary application selection window; and determining the position of the application control of the target application on the display interface according to the position of the temporary application selection window on the display interface and the position of the application control of the target application in the temporary application selection window.
Optionally, the computer executable instructions, when executed by the processor, determine an identity of the target application; and determining an application control corresponding to the target application in the temporary application selection window according to the identifier of the target application, and acquiring the position of the application control in the temporary application selection window.
Optionally, when executed by the processor, the computer-executable instructions create and display a hollow floating window in the system application selection window in the area where the application control of the target application is located according to the position of the application control of the target application in the display interface.
Optionally, when the computer-executable instructions are executed by the processor, according to the position of the application control of the target application on the display interface, creating and displaying a semi-transparent floating window for displaying a static image and/or a dynamic image in an area where the application control of the target application is located in the system application selection window; the semi-transparent floating window can transmit selection operation of a user on an application control of a target application in the system application selection window.
Optionally, when executed by the processor, the computer-executable instructions determine a position of the selection control on the display interface according to the temporary application selection window; after the first type marks are created in the system application selection window and preset duration is displayed, second type marks are created and displayed in the area where the selection control is located in the system application selection window according to the position of the selection control on the display interface; wherein the second type of indicia comprises a hollow suspended window or a translucent suspended window.
Optionally, the computer executable instructions, when executed by the processor, further comprise: and controlling the first type marks and the second type marks to be periodically and alternately displayed.
Optionally, the computer executable instructions, when executed by the processor, further comprise: creating and displaying a floating window in a display interface except for the area where the application control of the target application is located; the floating window is provided with push content for assisting a user in selecting a target application, and the push content at least comprises one or more combinations of characters, static images, dynamic images and audios.
Through the technical scheme of the specification, the mode of creating and displaying the first type of mark in the area where the target application is located can be used for assisting and prompting a user to select the application marked by the hollow floating window as the default application of the system. Therefore, the user can be guided to select the default application accurately and quickly, and the user experience is improved.
The computer-readable storage medium includes a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method of assisting a user in selecting a target application, comprising:
creating and displaying a temporary application selection window with the same layout and content as the system application selection window, wherein the temporary application selection window comprises a plurality of application controls, and the application corresponding to the application controls in the plurality of application controls has a specified function;
determining the position of the application control of the target application on a display interface through a function interface according to the position of the temporary application selection window and the position of the application control of the target application in the temporary application selection window;
closing the temporary application selection window;
and creating and displaying a first type of mark in the system application selection window according to the position of the application control of the target application in the display interface in the system application selection window, wherein the first type of mark is used for assisting a user to select the target application from a plurality of applications corresponding to the system application selection window.
2. The method of claim 1, wherein creating and presenting a temporary application selection window having the same layout and content as the system application selection window comprises:
determining the layout of a temporary application selection window according to the version of the current system, wherein the layout comprises a grid layout or a list layout;
searching the application with the specified function in the current system;
based on a specific sorting rule, creating a temporary application selection window for the application control corresponding to the application according to the determined layout;
rendering and displaying content for the corresponding application control in the temporary application selection window according to the searched application, wherein the rendering content comprises: rendering the application icon and/or the application name.
3. The method of claim 1, wherein determining the position of the application control of the target application on the display interface through a functional interface according to the position of the temporary application selection window and the position of the application control of the target application in the temporary application selection window comprises:
acquiring the position of the temporary application selection window on a display interface; and the number of the first and second groups,
acquiring the position of the application control of the target application in the temporary application selection window;
and determining the position of the application control of the target application on the display interface according to the position of the temporary application selection window on the display interface and the position of the application control of the target application in the temporary application selection window.
4. The method of claim 3, wherein obtaining a position of an application control of the target application in the temporary application selection window comprises:
determining an identity of the target application;
and determining an application control corresponding to the target application in the temporary application selection window according to the identifier of the target application, and acquiring the position of the application control in the temporary application selection window.
5. The method of claim 1, wherein the first type of indicia comprises a hollow floating window;
creating and displaying a first type of mark in the system application selection window according to the position of the application control of the target application in the display interface in the system application selection window, wherein the method comprises the following steps:
and according to the position of the application control of the target application in the system application selection window on a display interface, creating and displaying a hollow floating window in the area of the application control of the target application in the system application selection window.
6. The method of claim 1, wherein the first type of indicia comprises a translucent floating window;
creating and displaying a first type of mark in the system application selection window according to the position of the application control of the target application in the display interface in the system application selection window, wherein the method comprises the following steps:
according to the position of the application control of the target application in the system application selection window on a display interface, creating and displaying a semitransparent floating window for displaying a static image and/or a dynamic image in the area where the application control of the target application is located in the system application selection window;
the semi-transparent floating window can transmit selection operation of a user on an application control of a target application in the system application selection window.
7. The method of claim 5 or 6, wherein the temporary application selection window further comprises a selection control;
prior to closing the temporary application selection window, the method further comprises:
determining the position of the selection control on a display interface according to the temporary application selection window; and the number of the first and second groups,
after creating the first type mark in the system application selection window and displaying a preset time length, the method further comprises:
according to the position of the selection control on the display interface, creating and displaying a second type of mark in the area where the selection control is located in the system application selection window;
wherein the second type of indicia comprises a hollow suspended window or a translucent suspended window.
8. The method of claim 7, wherein the method further comprises:
and controlling the first type marks and the second type marks to be periodically and alternately displayed.
9. The method of any one of claims 5, 6, and 8, further comprising:
creating and displaying a floating window in a display interface except for the area where the application control of the target application is located;
the floating window is provided with push content for assisting a user in selecting a target application, and the push content at least comprises one or more combinations of characters, static images, dynamic images and audios.
10. An apparatus for assisting a user in selecting a target application, comprising:
the system comprises a first creating module, a second creating module and a display module, wherein the first creating module is used for creating and displaying a temporary application selection window which has the same layout and content as a system application selection window, the temporary application selection window comprises a plurality of application controls, and the applications corresponding to the application controls in the application controls have designated functions;
the determining module is used for determining the position of the application control of the target application on a display interface through a function interface according to the position of the temporary application selection window and the position of the application control of the target application in the temporary application selection window;
a closing module for closing the temporary application selection window;
and the second creating module is used for creating and displaying a first type of mark in the system application selection window according to the position of the application control of the target application in the display interface in the system application selection window, wherein the first type of mark is used for assisting a user in selecting the target application from a plurality of applications corresponding to the system application 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 CN109521924A (en) 2019-03-26
CN109521924B true 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)

Families Citing this family (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, device and terminal device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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 深圳市金立通信设备有限公司 Method for managing default applications, terminal devices and computer-readable media

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521032B (en) * 2011-12-13 2014-03-26 北京风灵创景科技有限公司 Setting method for optimal application programs and mobile terminal
CN106469066A (en) * 2015-08-14 2017-03-01 腾讯科技(深圳)有限公司 The method for pushing of program information and device
CN106096425A (en) * 2016-06-06 2016-11-09 北京金山安全软件有限公司 System permission starting method, device and equipment
CN106293359B (en) * 2016-08-09 2019-10-22 深圳市金立通信设备有限公司 A kind of method and terminal of caller
CN108594983A (en) * 2018-04-11 2018-09-28 麒麟合盛网络技术股份有限公司 A kind of method and device for saving mobile terminal electricity

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
KR20170088031A (en) * 2016-01-22 2017-08-01 홍교식 Auto outputing control apparatus for pop-ups and method of the same
CN106095561A (en) * 2016-06-24 2016-11-09 宇龙计算机通信科技(深圳)有限公司 Freeze the management method of application, the managing device freezing application and terminal
CN108256047A (en) * 2018-01-11 2018-07-06 深圳市金立通信设备有限公司 Method for managing default applications, terminal devices and computer-readable media

Also Published As

Publication number Publication date
CN109521924A (en) 2019-03-26

Similar Documents

Publication Publication Date Title
JP7146927B2 (en) Application program processing method, apparatus, storage medium and computer device
EP3451641B1 (en) Mobile communication device with separate display areas and rearrangemet of icons in the edges areas.
US20140053109A1 (en) Method and apparatus for providing an interactive user interface
CN110737490B (en) Method and device for displaying guide information
EP2557490A1 (en) Icon adding method and device in interface of android system and mobile terminal
CN105335041A (en) Method and apparatus for providing application icon
EP2775416A2 (en) Apparatus and method for configuring password and for releasing lock
EP2990939A1 (en) Wireless communications device and method of adding widget thereof
EP2763131A1 (en) Method and electronic device for configuring screen
EP2871560B1 (en) Image processing method and apparatus
RU2706951C2 (en) Method and device for providing a graphical user interface
CN105144058B (en) Prompt is placed in delay
US10481752B2 (en) Method and device for a guided application to enhance a user interface
CN104423820A (en) Screen locking wallpaper replacing method and device
US20190220170A1 (en) Method and apparatus for creating group
CN105094508A (en) Method and apparatus for performing window control on application program of mobile terminal
CN112774192B (en) Game scene jumping method and device, electronic equipment and storage medium
US10928992B2 (en) HTML editing operations
CN107357501B (en) Desktop wallpaper updating method and device and terminal
CN106598410B (en) Display methods, device and the terminal device of e-book
US20160216929A1 (en) Processing application interface
WO2015184736A1 (en) Method and terminal for transforming background picture of touchscreen device
CN111142756A (en) Page display method, equipment and computer readable storage medium
CN106020645A (en) Application starting method and apparatus
US20120185794A1 (en) Method and Apparatus for Managing Buttons on Taskbar

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