Embodiment
Fig. 1 is more application widget display methods schematic flow sheets in a kind of Android system provided by the invention.Such as Fig. 1 institutes
Show, this method includes:
10, the request for opening application is received, the request includes the mark of the application.
In the present embodiment, the request for opening application is triggered by user, for example user is touched by clicking on the icon of application
The request of hair opening application, or user open asking for application being triggered by way of the mark of application is selected in list of application
Ask.This method embodiment is performed by counter management apparatus in Android system provided in an embodiment of the present invention, and counter management apparatus can
Think window management server Window Manager Service, be generally arranged in mobile terminal.
The mark of application can be the Apply Names symbol that the provider of application provides, such as, with QQ, Fetion, Wechat
The mark applied respectively as QQ applications, Fetion application, wechat, can also successively, or respectively it be answered according to the set-up time of each application
Size with space used etc. is that each application distributes different application identities, for example is applied with mark token1 marks QQ, with mark
Remember token2 mark Fetion applications, with mark token5 identifier calculators application etc., the present embodiment is not limited this.
11, according to the mark of the application, determine layer corresponding to the application.
Specifically, the mark according to the application, layer corresponding to the application is determined, including:
Application identities and the mapping table of layer are inquired about, determine layer corresponding to the application.
Application identities and the mapping table of layer are stored with counter management apparatus, an application corresponds to unique layer,
I.e. same application is only capable of showing on unique layer, and a layer can correspond to multiple applications.Counter management apparatus receive beat
After the request for opening application, by inquiring about the mapping table of application identities and layer, layer corresponding to the mark of the application is determined, i.e., should
Using corresponding layer.
12, if layer corresponding to the application is wicket layer, the application is included described in the form of wicket
On wicket layer, the numerical value of the wicket layer is higher than application layer.
Counter management apparatus is the different numerical value of different Layer assignments, and the bigger display priority for representing this layer of numerical value is more
It is high.For example to be 2 using the numerical value of Layer assignment, then the numerical value distributed for the wicket of definition is at least 3 or more than 3 certain number
Value, so as to when user open simultaneously applied corresponding to wicket layer and application layer corresponding to apply when, should corresponding to wicket layer
The display interface of application is superimposed upon application layer pair corresponding to the upper end applied with that can be shown in corresponding to application layer, i.e. wicket layer
The display interface last layer for the application answered.For example, if user is opened after being applied corresponding to a wicket layer, window pipe
Reason device is applied according to corresponding to asking to open a certain application layer again, and application will corresponding to front opening wicket layer now
It is shown in the upper end of application corresponding to the application layer newly opened.
Under some scenes, when applying corresponding to user has opened application layer, due to applied corresponding to application layer with
Full frame mode is shown on screen, is applied if user wishes to open again corresponding to wicket layer, is needed first to close application layer
Corresponding application, it could open and be applied corresponding to wicket layer.Therefore, a physical button can be set to make on mobile terminals
For wicket utility key, with facilitate user open applied corresponding to application layer when, the application layer opened can not closed
In the case of corresponding application, open and applied corresponding to wicket layer.
Correspondingly, the request for receiving opening application, including:
When wicket utility key is triggered, list of application corresponding to wicket layer is shown in wicket layer;
Receive the request applied corresponding to the opening wicket layer that user is sent based on the list of application.
For example, calculator application is to be applied corresponding to wicket layer, if the application currently shown on terminal screen is
Shopping application corresponding with application layer, whether user is desired to determine Payment Amount before payment accurate, then can be with triggering terminal
Wicket utility key, then select the mark of calculator application to open in list of application corresponding to the wicket layer in opening
Calculator application, because the numerical value of wicket layer corresponding to calculator application is higher than the numerical value of application layer corresponding to shopping application,
So calculator application can be shown in the upper end of shopping application, so that user can use calculator application corresponding to wicket layer
To adjust the Payment Amount shown corresponding to application layer in shopping application.
Specifically, it is described to include the application on the wicket layer in the form of wicket, including:
Whether the quantity for the application for judging to show on the wicket layer has reached default threshold value, and the threshold value is institute
State the maximum of the quantity for the application that wicket layer can be shown;
If not up to, the application is included on the wicket layer in the form of wicket.
Generally, consider the needs that use of user and completely clearly needed using display, can be with counter management apparatus
The maximum of the quantity for the application that can be shown on a wicket layer is preset, for example presets the application that can be shown on wicket layer
Quantity is up to 5, then after counter management apparatus receives the request for opening application, if judging the number of application shown on wicket layer
Measure as 4, also not up to 5, then the application opened request is included on wicket layer in the form of wicket.
Correspondingly, the quantity of application for judging to show on the wicket layer whether reached default threshold value it
Afterwards, in addition to:
If reaching, the application shown earliest in the wicket layer is closed, and by the application with the shape of wicket
Formula is shown on the wicket layer.
Specifically, counter management apparatus can be by the mark of the application shown on wicket layer according to opening time elder generation
Sort successively afterwards, if the quantity of application of the counter management apparatus by judging to find to show on wicket layer has reached small for 5
The maximum of the quantity for the application that Window layer can be shown, then counter management apparatus is according to the sequencing of the application of opening, closing
The wicket of application corresponding to the application identities opened earliest, then the application for asking to open is included in the form of wicket
On wicket layer.
Preferably, counter management apparatus, can before application is closed according to the opening time of the application shown on wicket layer
To ask the user whether to close the application shown earliest, closed after the application shown earliest and turned off earliest by user's confirmation
The application of display, if the application shown earliest is not closed in user's selection, ask whether to close the secondary application early shown, if with
Family still selects not close, then continues to inquire, is answered after user selects to close a certain application shown, then by ask to open
It is shown in the form of wicket on wicket layer, if having traveled through all applications shown, user does not select still to close
The a certain application shown is closed, then may remind the user that when front opening has reached maximum using wicket quantity, it is impossible to again
Open new application.
Further, it is described by it is described application in the form of wicket include on the wicket layer before, in addition to:
If have the application shown in the wicket layer, the focus of the application shown described in cancellation;
It is described by it is described application in the form of wicket include on the wicket layer after, in addition to:
Focus is arranged in the application.
Generally, the application finally shown on wicket layer, which is in, obtains focus condition, so that user can be to the application
Operated, if now user asks to open another wicket application, counter management apparatus is showing the small of request opening
Before window application, first cancel the focus of the application shown, after then the application for asking to open is shown in the form of wicket
Focus is arranged on this using upper, so that user can operate to the application.
Preferably, it is described to include the application on the wicket layer in the form of wicket, including:
Determine the display size applied on the corresponding wicket layer;
Described apply is included on the wicket layer according to the display size in the form of wicket.
Generally, the operation that user can be carried out to different application is different, the application can be operated according to user
Complexity, different display sizes is set for the application.For example, come for calculator application and music player application
Say, consider that user needs to select in the application different digital key to be calculated in calculator application, and music player application
User only needs selection to play(Stop)/ previous first/latter head, so the display size of calculator application should than music player
Display size is big.
More application widget display methods in the Android system that the present embodiment provides, counter management apparatus are opened according to request
Application identities determine layer corresponding to application, if layer corresponding to application is wicket layer, application is shown in the form of wicket
On wicket layer, and because the numerical value of wicket layer is higher than application layer so that application is shown in always corresponding to wicket layer
Upper end is applied corresponding to application layer, realizes in Android system while shows multiple applications, be convenient for users to operate, improve
Consumer's Experience, the difference that can be operated according further to user to application, sets the display size applied corresponding to wicket layer,
Operation of the user to application is also ensure that while the application of user's windows display is met.
Fig. 2 is the structural representation of more application widget managing devices in a kind of Android system provided by the invention.Such as Fig. 2 institutes
Show, the counter management apparatus includes:Receiving module 20, determining module 21, processing module 22, wherein, receiving module, for receiving
The request of application is opened, the request includes the mark of the application;Determining module, for the mark according to the application,
Determine layer corresponding to the application;Processing module, if being wicket layer for layer corresponding to the application, by it is described application with
The form of wicket is shown on the wicket layer, and the numerical value of the wicket layer is higher than application layer.
Specifically, the receiving module, is specifically used for:
When wicket utility key is triggered, list of application corresponding to wicket layer is shown in wicket layer;
Receive the request applied corresponding to the opening wicket layer that user is sent based on the list of application.
Specifically, the determining module, is specifically used for:Application identities and the mapping table of layer are inquired about, it is determined that described should
With corresponding layer.
Further, the processing module, is specifically used for:
Whether the quantity for the application for judging to show on the wicket layer has reached default threshold value, and the threshold value is institute
State the maximum of the quantity for the application that wicket layer can be shown;
If not up to, the application is included on the wicket layer in the form of wicket.
Correspondingly, the processing module also particularly useful for:In the application for judging to show on the wicket layer
After whether quantity has reached default threshold value, if reaching, the application shown earliest in the wicket layer is closed, and will
The application is shown in the form of wicket on the wicket layer.
Especially, the processing module is additionally operable to:It is described to include the application in the small window in the form of wicket
Before on mouth layer, if having the application shown in the wicket layer, the focus of the application shown described in cancellation;
After including on the wicket layer in the form of wicket by the application, focus is arranged on described answer
Use.
Preferably, the processing module, is specifically used for:Determine the display applied on the corresponding wicket layer
Size;
Described apply is included on the wicket layer according to the display size in the form of wicket.
The function of counter management apparatus and handling process can refer to implementation of the present invention in the Android system that the present embodiment provides
The embodiment of more application widget display methods in the Android system that example provides, here is omitted.
Counter management apparatus in the Android system that the present embodiment provides, the application identities opened according to request determine application pair
The layer answered, if layer corresponding to application is wicket layer, application is included on wicket layer in the form of wicket, and due to
The numerical value of wicket layer is higher than application layer so that it is upper that application corresponding to wicket layer is shown in application corresponding to application layer always
End, realizes in Android system while shows multiple applications, be convenient for users to operate, improve Consumer's Experience, according further to
The difference that user can be operated to application, sets the display size of application corresponding to wicket layer, is meeting user's multiwindow
Operation of the user to application is also ensure that while display application.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to
The related hardware of programmed instruction is crossed to complete.Foregoing program can be stored in a computer read/write memory medium.The journey
Sequence upon execution, execution the step of including above-mentioned each method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or
Person's CD etc. is various can be with the medium of store program codes.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent
The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to
The technical scheme described in foregoing embodiments can so be modified, either which part or all technical characteristic are entered
Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology
The scope of scheme.