CN106527937B - A kind of adding method and mobile terminal of mobile terminal widget - Google Patents
A kind of adding method and mobile terminal of mobile terminal widget Download PDFInfo
- Publication number
- CN106527937B CN106527937B CN201610946551.6A CN201610946551A CN106527937B CN 106527937 B CN106527937 B CN 106527937B CN 201610946551 A CN201610946551 A CN 201610946551A CN 106527937 B CN106527937 B CN 106527937B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- widget
- desktop
- application program
- added
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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 present invention provides the adding method and mobile terminal of a kind of mobile terminal widget, this method can include: touch control operation of the detection mobile terminal user in the first Application Program Interface of destination application;When detecting touch control operation, judge the predeterminated position of first Application Program Interface with the presence or absence of default mark;If there is default mark in first Application Program Interface, according to the touch control operation, default associated first widget of mark is added in mobile terminal desktop;Wherein, the default mark is added to the widget of mobile terminal desktop for the destination application in the presence of support.Widget can be directly added in mobile terminal desktop in Application Program Interface by user in this way, it needs to add on mobile terminal desktop compared with prior art or adds widget in desktop setting application program, the embodiment of the present invention simplifies addition operation, saves the operating time of user.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of adding methods and mobile terminal of mobile terminal widget.
Background technique
As the function of mobile terminal is become stronger day by day, people are also more and more using the scene of mobile terminal.For convenience
People use mobile terminal, and mobile terminal is often supported to add widget on the table.Wherein, widget is that can directly show on the table
Show the component of application elements, user can be allowed directly to view on the table by addition widget on the table in this way and answered
Use program element.Such as: weather widget is added on the table, just shows Weather information on such desktop;Or on the table
Calendar widget is added, just shows calendar information on such desktop;Or search box widget is added on the table, it thus can be with
Information search is carried out in desktop;Or player widget is added on the table, it can play in multimedia on the table in this way
Hold.
However, mobile terminal can only exit current application program at present, menu is added into widget, finds this using journey
The corresponding widget option of sequence, then could add this widget.It results in need first to exit when addition widget so current
The application program of operation, then show desktop, widget could be added on the table or in desktop setting program.As it can be seen that moving at present
The process of dynamic terminal addition widget is excessively cumbersome, time-consuming.
Summary of the invention
The embodiment of the present invention provides the adding method and mobile terminal of a kind of mobile terminal widget, is added with solving mobile terminal
Add the problem that the process of widget is excessively cumbersome, time-consuming.
In a first aspect, the embodiment of the invention provides a kind of adding methods of mobile terminal widget, comprising:
Detect touch control operation of the mobile terminal user in the first Application Program Interface of destination application;
When detecting touch control operation, judge the predeterminated position of first Application Program Interface with the presence or absence of pre- bidding
Know;
If there is default mark in first Application Program Interface, according to the touch control operation, in mobile terminal table
Default associated first widget of mark is added in face;
Wherein, the default mark is added to mobile terminal desktop in the presence of support for identifying the destination application
Widget.
Second aspect, the embodiment of the present invention provide a kind of mobile terminal, comprising:
Touch control operation detection module, for detecting mobile terminal user in the first Application Program Interface of destination application
In touch control operation;
Judgment module is identified, for judging described first when the touch control operation detection module detects touch control operation
The predeterminated position of Application Program Interface is with the presence or absence of default mark;
Adding module, if judging there is pre- bidding in first Application Program Interface for the mark judgment module
Know, then according to the touch control operation, default associated first widget of mark is added in mobile terminal desktop;
Wherein, the default mark is added to mobile terminal desktop in the presence of support for identifying the destination application
Widget.
In this way, in the embodiment of the present invention, first Application Program Interface of the detection mobile terminal user in destination application
In touch control operation;When detecting touch control operation, judge the predeterminated position of first Application Program Interface with the presence or absence of pre-
Bidding is known;If there is default mark in first Application Program Interface, according to the touch control operation, in mobile terminal desktop
Middle addition default associated first widget of mark;Wherein, the default mark exists for the destination application
Support the widget for being added to mobile terminal desktop.Widget can be added to shifting directly in Application Program Interface by user in this way
In dynamic terminal desktop, the embodiment of the present invention simplifies addition operation, saves the operating time of user.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention
Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention,
For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1 is the flow chart of the adding method for the mobile terminal widget that first embodiment of the invention provides;
Fig. 2 is the flow chart of the adding method for the mobile terminal widget that second embodiment of the invention provides;
Fig. 3 is the flow chart of the adding method for the mobile terminal widget that third embodiment of the invention provides;
Fig. 4 a is one of the schematic diagram of Application Program Interface that third embodiment of the invention provides;
Fig. 4 b is the two of the schematic diagram for the Application Program Interface that third embodiment of the invention provides;
Fig. 4 c is the schematic diagram for the mobile terminal desktop that third embodiment of the invention provides;
Fig. 5 is one of the structure chart of mobile terminal that fourth embodiment of the invention provides;
Fig. 6 is the two of the structure chart for the mobile terminal that fourth embodiment of the invention provides;
Fig. 7 is one of the structure chart of adding module in the mobile terminal that fourth embodiment of the invention provides;
Fig. 8 is the two of the structure chart of the adding module in the mobile terminal that fourth embodiment of the invention provides;
Fig. 9 is the three of the structure chart of the adding module in the mobile terminal that fourth embodiment of the invention provides;
Figure 10 is the four of the structure chart of the adding module in the mobile terminal that fourth embodiment of the invention provides;
Figure 11 is the three of the structure chart for the mobile terminal that fourth embodiment of the invention provides;
Figure 12 is the structure chart for the mobile terminal that fifth embodiment of the invention provides;
Figure 13 is the structure chart for the mobile terminal that sixth embodiment of the invention provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
First embodiment
It is the flow chart of the adding method of mobile terminal widget provided in an embodiment of the present invention, this method referring to Fig. 1, Fig. 1
Applied to mobile terminal, as shown in Figure 1, comprising the following steps:
The touch control operation of step 101, detection mobile terminal user in the first Application Program Interface of destination application.
Above-mentioned destination application can be any application program installed on mobile terminal, such as: calendar, video playing
Application program, audio play-back application, browser application, Internet chat application program, news application program, camera are answered
Application program etc. is shown with program or image.And above-mentioned first Application Program Interface can be above-mentioned destination application and show
Any interface.Or above-mentioned first Application Program Interface is also understood that application program circle currently shown for mobile terminal
Face.In addition, above-mentioned touch control operation can be the touch control operations such as two fingers kneading operation or double click operation, the position of touch control operation can
To be any position in the first Application Program Interface.
Wherein, above-mentioned predeterminated position can be that mobile terminal is pre-configured, or can be what user indicated in advance.
Such as: above-mentioned predeterminated position can be a certain position in the status bar of Application Program Interface, as the left side of status bar, centre or
Other positions.Certainly, above-mentioned predeterminated position can also be other positions, such as: the middle position etc. of above-mentioned Application Program Interface
Other positions.
The default mark can be the other identifiers such as pre-set picture or text.In the embodiment of the present invention, pass through
Above-mentioned default mark can achieve the widget that destination application described in prompt user is added to mobile terminal desktop in the presence of support
Prompt effect.
The widget that above-mentioned support is added to mobile terminal desktop can be understood as application program circle that can be shown in desktop
Element in face, such as: calendar elements, weather element, clock element, note element, music element, video elementary, phase
Volume element, news element or other elements shown in desktop.
In addition, it is necessary to explanation, destination application is all that will include multiple elements, then mobile terminal should in operation
When destination application interface, know include which element in the destination application by the data of calling, and then determination is deposited
Supporting the widget for being added to mobile terminal desktop.Above-mentioned widget can be (Web widget, abbreviation Widget), and widget can be with
It is the code that a fritter can execute on arbitrary interface, the form of expression of widget can be video, map, clock, diary book
Flash game etc., and widget may also be referred to as pendant in some places.
Wherein, the default mark is added to mobile terminal desktop in the presence of support for identifying the destination application
Widget.
When judging above-mentioned predeterminated position there are after above-mentioned default mark, step 103 can be true by above-mentioned default mark
Fixed above-mentioned first widget, and then above-mentioned default associated first widget of mark is added in mobile terminal desktop.It in this way can be with
Realize that above-mentioned default associated first widget of mark is added to mobile terminal desktop directly in Application Program Interface by user
In, to simplify addition operation, save the operating time of user.
In addition, above-mentioned default associated first widget of mark can be, what is pre-set closes with above-mentioned default mark
The support of connection is added to the widget of mobile terminal desktop.
In the embodiment of the present invention, above-mentioned mobile terminal can be any movement for having display and installing function of application
Terminal, such as: mobile phone, tablet computer (Tablet Personal Computer), laptop computer (Laptop
Computer), personal digital assistant (personal digital assistant, abbreviation PDA), mobile Internet access device
(Mobile Internet Device, MID) or wearable device (Wearable Device) etc..
In the desktop pendant adding method of the embodiment of the present invention, mobile terminal user is detected the first of destination application
Touch control operation in Application Program Interface;When detecting touch control operation, the default position of first Application Program Interface is judged
It sets with the presence or absence of default mark;If there is default mark in first Application Program Interface, according to the touch control operation,
Default associated first widget of mark is added in mobile terminal desktop;Wherein, the default mark is used for the target
Application program is added to the widget of mobile terminal desktop in the presence of support.User in this way can will be micro- directly in Application Program Interface
Part is added in mobile terminal desktop, is needed to add on mobile terminal desktop or be arranged in desktop compared with prior art and be applied
Widget is added in program, the embodiment of the present invention simplifies addition operation, saves the operating time of user.
Second embodiment
Referring to fig. 2, Fig. 2 is the flow chart of the adding method of mobile terminal widget provided in an embodiment of the present invention, such as Fig. 2 institute
Show, comprising the following steps:
The first widget that above-mentioned support is added to mobile terminal desktop can be pre-set widget, such as: it is mobile
The support of terminal factory configuration is added to the widget of mobile terminal desktop, or can be the pre-set support of user and be added to
The widget of mobile terminal desktop, or the support of multipad configuration of installation are added to the widget etc. of mobile terminal desktop
Deng.Above-mentioned widget can be can in the element for the application program that mobile terminal desktop is shown, such as: calendar elements, weather member
Element, clock element, note element, music element, video elementary, photograph album element, news element or other are aobvious in desktop
The element shown.
It should be noted that destination application is all that will include multiple elements, then mobile terminal is showing the target
When the Application Program Interface of application program, by the data called when the target application interface, to know the target application journey
Include which element in sequence be to support to be added to the widget of mobile terminal desktop, and then judge that destination application whether there is and prop up
Hold the widget for being added to mobile terminal desktop.
In addition, the above-mentioned judgement destination application is added to the first widget of mobile terminal desktop with the presence or absence of support
It can also be and judge whether above-mentioned destination application is default application program, supported if so, determining that the target application exists
It is added to the first widget of mobile terminal desktop.The default application program can be user or mobile terminal is pre-set
, such as: calendar, weather, clock, note, music, video playing, photograph album, news or other applications.
In the embodiment of the present invention, the incidence relation of the first widget and image can be pre-established, thus when judging target
Application program is added to the first widget of mobile terminal desktop in the presence of support, so that it may be chosen based on incidence relation in above-mentioned picture library
Image associated with above-mentioned widget.
Described image is determined as the default mark by step 203.
Since the image that step 202 selects is image associated with above-mentioned first widget, it is assured that the figure in this way
As being identified to be default.
After step 203 determines above-mentioned default mark, thus step 204 can will establish the default mark with it is above-mentioned micro-
Incidence relation between part, the default mark is corresponding with above-mentioned widget.
Since above-mentioned steps have determined that there are above-mentioned first widgets in above-mentioned destination application, thus can be
Predeterminable area in the Application Program Interface of the destination application shows the default mark, to reach the prompt above-mentioned target of user
There are the effects of above-mentioned widget in application program.Due to showing above-mentioned default mark, such user can be viewed, thus
The operation being not necessarily to can be caused, to save user's to avoid user to there is no the application programs of widget to execute touch control operation
Time.
The touch control operation of step 206, detection mobile terminal user in the first Application Program Interface of destination application.
Above-mentioned destination application can be any application program installed on mobile terminal, such as: calendar, video playing
Application program, audio play-back application, browser application, Internet chat application program, news application program, camera are answered
Application program etc. is shown with program or image.And above-mentioned first Application Program Interface can be above-mentioned destination application and show
Any interface.Or above-mentioned first Application Program Interface is also understood that application program circle currently shown for mobile terminal
Face, the position of touch control operation can be any position in the first Application Program Interface.
Wherein, the default mark is added to mobile terminal desktop in the presence of support for identifying the destination application
Widget.
Wherein, above-mentioned predeterminated position can be that mobile terminal is pre-configured, or can be what user indicated in advance.
Such as: above-mentioned predeterminated position can be a certain position in the status bar of Application Program Interface, as the left side of status bar, centre or
Other positions.Certainly, above-mentioned predeterminated position can also be other positions, such as: the middle position etc. of above-mentioned Application Program Interface
Other positions.
The widget that above-mentioned support is added to mobile terminal desktop can be understood as application program circle that can be shown in desktop
Element in face, such as: calendar elements, weather element, clock element, note element, music element, video elementary, phase
Volume element, news element or other elements shown in desktop.
When judging above-mentioned predeterminated position there are after above-mentioned default mark, step 208 can be true by above-mentioned default mark
Fixed above-mentioned first widget, and then above-mentioned default associated first widget of mark is added in mobile terminal desktop.It in this way can be with
Realize that above-mentioned default associated first widget of mark is added to mobile terminal desktop directly in Application Program Interface by user
In, to simplify the operating time that user is saved in operating process.
Optionally, above-mentioned according to the touch control operation, it is associated that the default mark is added in mobile terminal desktop
The step of first widget, comprising: the touch control operation is compared with the operation of preset addition widget;If the touch control operation
Match with the preset addition widget operation, then adds the default mark associated first in mobile terminal desktop
Widget.
In the embodiment of the present invention, it is preconfigured that above-mentioned preset addition widget operation can be mobile terminal, Huo Zheyong
What family was set.Such as: two fingers kneading operation or double click operation etc..When the above-mentioned touch control operation of above-mentioned user input and this
Preset addition widget operation matching, it is determined that user currently needs for above-mentioned widget to be added to the desktop of mobile terminal, thus
The default associated widget of mark is added in mobile terminal desktop.It may be implemented by above-mentioned preset addition widget operation
User, which only inputs matched touch control operation, can just add widget, can be added to widget to avoid the maloperation of user
Mobile terminal desktop, to improve the accuracy of addition widget.
Optionally, described the step of associated first widget of the default mark is added in mobile terminal desktop, packet
It includes: obtaining the interface content information of first Application Program Interface;According to the interface content information, in mobile terminal desktop
Middle addition default associated first widget of mark.
Wherein, above-mentioned interface content information may include the information such as content, color, size or the arrangement of the first widget,
In this way according to the interface content information, the first widget is added in mobile terminal desktop, is added on desktop so as to realize
The first widget in display effect be identical with the effect shown in the first Application Program Interface.
In addition, in the embodiment of the present invention, since the content of the different application interface display of same application is not
With, thus realize that the different application interface of same application respectively corresponds a widget, i.e. different application
The corresponding widget in interface is different.Such as: corresponding first widget of the first Application Program Interface of destination application, target are answered
With corresponding second widget of the second Application Program Interface of program.
Optionally, above-mentioned the step of associated first widget of the default mark is added in mobile terminal desktop, packet
Include: there are at least one mobile terminal desktops of white space for lookup;It is selected at least one described mobile terminal desktop full
The target desktop of sufficient preset condition;In the white space addition of the target desktop default mark associated first
Widget.
Above-mentioned white space can be understood as the region for not showing content, i.e., shows that above-mentioned first is micro- in the white space
When part, the content that the desktop has shown that will not influence.It is preconfigured that above-mentioned preset condition can be mobile terminal, Huo Zheyong
Family is pre-set, such as: above-mentioned preset condition is the maximum region of area of white space at least one above-mentioned desktop, from
And above-mentioned target desktop is that white space area is maximum at least one above-mentioned desktop, and the aobvious of the pendant of addition may be implemented in this way
Show that effect is more preferable, to promote user experience.Or it is predeterminated position that above-mentioned preset condition, which can be white space, and such as: desktop
Upper position, can be easier to be viewed by a user in the position of addition pendant in this way, and the predeterminated position can be user and mention
Preceding setting, so that the pendant of addition more meets user's habit, to promote user experience.
In the embodiment of the present invention, may be implemented to add through the above steps above-mentioned widget desktop be there are white space,
And meet the desktop of above-mentioned preset condition, so that the widget for reaching addition will not influence the display that desktop has existed icon, into
And promote the display effect of desktop.
Optionally, the selection at least one described mobile terminal desktop meets the step of the target desktop of preset condition
Suddenly, comprising: be determined as the desktop that history display number at least one described mobile terminal desktop is more than preset threshold described
Target desktop.
Wherein, above-mentioned history display number can be what mobile terminal counted in advance, such as: one week or three days or half
The most target desktop of number is shown in a month.Since history display number is more than the desktop of preset threshold, in this way in the desktop
Middle addition pendant, thus the shown number of the widget be also it is corresponding relatively more, thus the user-friendly widget, with promotion
User experience.
Optionally, described the step of associated first widget of the default mark is added in mobile terminal desktop, packet
Include: detecting the mobile terminal desktop whether there is the widget of the destination application;If detecting the presence of the target to answer
With the second widget of the second Application Program Interface of program, then the shifting being added to first widget where second widget
The white space of dynamic terminal desktop;Wherein, the different application interface of same application respectively corresponds a widget.Pass through
The corresponding widget of the different pages for belonging to same application is placed on same mobile terminal desktop, user is facilitated to check and compare
The content at different application interface.
For example, there are the first note page, the second note page and third note pages 3 just in note application program
The page is signed, and 3 note pages have default mark, then this 3 note pages can correspond to one widget of addition, and each
The display effect of widget is identical as the display effect of the respective note page.By by this corresponding widget of 3 note pages
It is placed on same mobile terminal desktop, user is facilitated to check and compare the content of note.
For example, there is the widget for indicating month calendar information in calendar applications, each month corresponding calendar pages
There is default mark in face, then corresponding Calendar Page of each month can correspond to one widget of addition, and content, color, ruler
One or more can be identical in the information such as very little and arrangement.Such as the corresponding Calendar Page of September part and corresponding day in October
It goes through the page and respectively corresponds a widget, can be displayed in the same mobile terminal page, user is facilitated to check and compare the row in calendar
The information such as journey arrangement.
The widget that same application may be implemented through the above steps is put together, is facilitated user to carry out while being checked,
It does not need repeatedly to slide desktop, to save the operating time of user.In addition, if mobile terminal desktop where the second widget
White space when can not put down the first widget again, can be to one or more widget in the second widget and the first widget
Size is adjusted, and the first widget and the second widget is placed in the desktop to realize, so as to avoid because of white space mistake
It is small and the first widget can not be added, it causes to need the problem of another desktop adds the first widget, and then save the operation of user
Time.
In the desktop pendant adding method of the embodiment of the present invention, judge the destination application with the presence or absence of support addition
To the widget of mobile terminal desktop;The widget for being added to mobile terminal desktop is supported if it exists, then is chosen in preset picture library
Image associated with the widget;Described image is determined as the default mark;Establish it is described it is default mark with it is described micro-
Incidence relation between part;Predeterminated position in the Application Program Interface of the destination application shows the pre- bidding
Know;Detect touch control operation of the mobile terminal user in the Application Program Interface of destination application;When detecting touch control operation
When, judge the predeterminated position of the Application Program Interface with the presence or absence of default mark;If existing in the Application Program Interface pre-
Bidding is known, then according to the touch control operation, the default associated widget of mark is added in mobile terminal desktop;Wherein,
The default mark is added to the widget of mobile terminal desktop for the destination application in the presence of support.User in this way can be with
Directly widget is added in mobile terminal desktop in Application Program Interface, is needed compared with prior art in mobile terminal desktop
Upper addition adds widget in desktop setting application program, and the embodiment of the present invention simplifies operating process and saves user's
Operating time.And due to judging that there are widgets in destination application, in the Application Program Interface of the destination application
Predeterminable area show the default mark, to achieve the effect that prompt in the above-mentioned destination application of user there are above-mentioned widget,
So as to avoid user to there is no the application programs of widget to execute touch control operation, the operation being not necessarily to is caused, is further saved
The about time of user.
3rd embodiment
It is the flow chart of the adding method of mobile terminal widget provided in an embodiment of the present invention, this method referring to Fig. 3, Fig. 3
Applied to mobile terminal, as shown in Figure 3, comprising the following steps:
The touch control operation of step 301, detection mobile terminal user in the first Application Program Interface of destination application.
Above-mentioned destination application can be any application program installed on mobile terminal, such as: calendar, video playing
Application program, audio play-back application, browser application, Internet chat application program, news application program, camera are answered
Application program etc. is shown with program or image.And above-mentioned first Application Program Interface can be above-mentioned destination application and show
Any interface.Or above-mentioned first Application Program Interface is also understood that application program circle currently shown for mobile terminal
Face, the position of touch control operation can be any position in the first Application Program Interface.
Step 302, when detecting touch control operation, judge that the predeterminated position of first Application Program Interface whether there is
Default mark thens follow the steps 303 if the predeterminated position of first Application Program Interface has default mark, if described the
The predeterminated position of one Application Program Interface can terminate process, or continue to execute step 301 there is no default mark, wherein
Attached drawing is illustrated for terminating process.
Wherein, above-mentioned predeterminated position can be that mobile terminal is pre-configured, or can be what user indicated in advance.
Such as: above-mentioned predeterminated position can be a certain position in the status bar of Application Program Interface, as the left side of status bar, centre or
Other positions.Certainly, above-mentioned predeterminated position can also be other positions, such as: the middle position etc. of above-mentioned Application Program Interface
Other positions.
Wherein, the default mark is added to mobile terminal desktop in the presence of support for identifying the destination application
Widget.
Step 303, according to the touch control operation, added in mobile terminal desktop it is described it is default mark associated first
Widget.
When judging above-mentioned predeterminated position there are after above-mentioned default mark, step 303 can be true by above-mentioned default mark
Fixed above-mentioned first widget, and then above-mentioned default associated first widget of mark is added in mobile terminal desktop.It in this way can be with
Realize that above-mentioned default associated first widget of mark is added to mobile terminal desktop directly in Application Program Interface by user
In, to simplify addition operation, save the operating time of user.
Step 304, display first Application Program Interface.
It may be implemented to show above-mentioned first Application Program Interface always during adding widget by the step, to avoid
Application Program Interface is exited when adding widget, thus will not influence user's visual experience, to guarantee that user checks using journey
The continuity at sequence interface promotes user experience.
Step 305, one prompt information of display.
Wherein, the prompt information is used to indicate the mobile terminal desktop and has added first widget.
The prompt information can be to be shown in above-mentioned first Application Program Interface, is moved by instruction information alert user
Dynamic terminal desktop has added first widget, and user is allowed to know the progress of addition widget to promote user experience in time.
Such as: as shown in Fig. 4 a to Fig. 4 c, detecting calendar applications, there are above-mentioned widgets, such as calendar applications
Widget 401 in Application Program Interface 400 in wire frame, and the default mark 4022 of display one in status bar 402, described in prompt
There is the widget for supporting to be added to mobile terminal desktop for identifying calendar applications in default mark.To which user's finger can
To carry out kneading operation, after detecting the kneading operation, so that it may which widget 401 is added to desktop.As shown in Figure 4 b, in calendar
The Application Program Interface 400 of application program shows the prompt information 403 of added widget 401, to prompt user.Such as Fig. 4 c institute
Show when user, which exits Application Program Interface 400, shows mobile terminal desktop 410, then will exist in mobile terminal desktop 410
Widget 411 and application icon 412.
In the desktop pendant adding method of the embodiment of the present invention, application of the detection mobile terminal user in destination application
Touch control operation in program interface;When detecting touch control operation, judge whether the predeterminated position of the Application Program Interface is deposited
In default mark;If there is default mark in the Application Program Interface, according to the touch control operation, in mobile terminal desktop
The middle addition default associated widget of mark;Wherein, the default mark exists for the destination application supports
It is added to the widget of mobile terminal desktop;Show first Application Program Interface;Show a prompt information;Wherein, described to mention
Show that information is used to indicate the mobile terminal desktop and has added first widget.User can be directly in application program circle in this way
Widget is added in mobile terminal desktop in face, needs to add on mobile terminal desktop or in desktop compared with prior art
Widget is added in setting application program, the embodiment of the present invention simplifies the operating time that operating process saves user.And due to
Above-mentioned first Application Program Interface is shown always, can exit Application Program Interface in this way to avoid when adding widget, thus
It will not influence user's visual experience, to guarantee that user checks the continuity of Application Program Interface, promote user experience, and pass through
Above-mentioned prompt information prompt customer mobile terminal desktop has added above-mentioned first widget, further promotes user experience.
Fourth embodiment
It is the structure chart that the present invention implements the mobile terminal provided referring to Fig. 5, Fig. 5, is able to achieve first embodiment to third
The details of the adding method of mobile terminal widget in embodiment, and reach identical effect.
As shown in figure 5, mobile terminal 500 includes: touch control operation detection module 501, mark judgment module 502 and addition mould
Block 503, touch control operation detection module 501 with mark judgment module 502 connect, identify judgment module 502 also with adding module 503
Connection, in which:
Touch control operation detection module 501, for detecting mobile terminal user in the first application program of destination application
Touch control operation in interface.
Adding module 503, if judging to exist in first Application Program Interface for the mark judgment module 502 pre-
Bidding is known, then according to the touch control operation, default associated first widget of mark is added in mobile terminal desktop.
Wherein, the default mark is added to the micro- of mobile terminal desktop in the presence of support for the destination application
Part.
Optionally, as shown in fig. 6, mobile terminal 500 further include:
Image chooses module 505, supports if judging that the destination application exists for the widget judgment module 504
It is added to the first widget of mobile terminal desktop, then chooses image associated with the widget in preset picture library;
Determining module 506 is identified, the image for choosing described image selection module 505 is determined as the pre- bidding
Know;
Relationship establishes module 507, the default mark and described the determined for establishing the mark determining module 506
Incidence relation between one widget;
Optionally, as shown in fig. 7, adding module 503 includes:
Comparing unit 5031, for the touch control operation to be compared with the operation of preset addition widget;
First adding unit 5032 preset adds if comparing the touch control operation for the comparing unit 5031 with described
Add widget operation to match, then adds default associated first widget of mark in mobile terminal desktop.
Optionally, as shown in figure 8, adding module 503 includes:
Acquiring unit 5033, for obtaining the interface content information of first Application Program Interface;
Second adding unit 5034, the interface content information for obtaining according to the acquiring unit 5033, is being moved
Default associated first widget of mark is added in dynamic terminal desktop.
Optionally, as shown in figure 9, adding module 503 includes:
Searching unit 5035, for searching at least one mobile terminal desktop there are white space;
Third adding unit 5037, the blank area of the target desktop for being selected in desktop selecting unit 5036
The domain addition default associated widget of mark.
Optionally, desktop selecting unit 5036 is for surpassing history display number at least one described mobile terminal desktop
The desktop for crossing preset threshold is determined as the target desktop.
Optionally, as shown in Figure 10, adding module 503 includes:
Wherein, the different application interface of same application respectively corresponds a widget.
Optionally, as shown in figure 11, mobile terminal 500 further include:
Prompt information display module 5010, for showing a prompt information;
Wherein, the prompt information is used to indicate the mobile terminal desktop and has added first widget.
In the mobile terminal of the embodiment of the present invention, first application program of the detection mobile terminal user in destination application
Touch control operation in interface;When detecting touch control operation, judge whether the predeterminated position of first Application Program Interface is deposited
In default mark;If there is default mark in first Application Program Interface, according to the touch control operation, in mobile terminal
Default associated first widget of mark is added in desktop;Wherein, the default mark is used for the destination application
It is added to the widget of mobile terminal desktop in the presence of support.Widget can be directly added in Application Program Interface by user in this way
In mobile terminal desktop, needs to add on mobile terminal desktop compared with prior art or add in desktop setting application program
Add widget, the embodiment of the present invention simplifies addition operation, saves the operating time of user.
5th embodiment
It is the structure chart that the present invention implements the mobile terminal provided referring to Figure 12, Figure 12, is able to achieve first embodiment to the
The details of the adding method of mobile terminal widget in three embodiments, and reach identical effect.As shown in figure 12, mobile terminal
1200 include: at least one processor 1201, memory 1202, at least one network interface 1204 and user interface 1203.It moves
Various components in dynamic terminal 1200 are coupled by bus system 1205.It is understood that bus system 1205 for realizing
Connection communication between these components.Bus system 1205 further includes power bus, control bus in addition to including data/address bus
With status signal bus in addition but for the sake of clear explanation, various buses are all designated as bus system 1205 in Figure 12.
Wherein, user interface 1203 may include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc., the touch screen are flexible screen.
It is appreciated that the memory 1202 in the embodiment of the present invention can be volatile memory or non-volatile memories
Device, or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory
(Read-Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), erasable programmable are only
Read memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM,
) or flash memory EEPROM.Volatile memory can be random access memory (Random Access Memory, RAM), use
Make External Cache.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random-access
Memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random-access
Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data
Rate SDRAM, DDRSDRAM), it is enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronous
Connect dynamic random access memory (Synch link DRAM, SLDRAM) and direct rambus random access memory
(Direct Rambus RAM, DRRAM).The memory 1202 of system and method described herein is intended to include but is not limited to this
A little and any other suitable type memory.
In some embodiments, memory 1202 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 12021 and application program 12022.
Wherein, operating system 12021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 12022 includes various application programs, such as matchmaker
Body player (Media Player), browser (Browser) etc., for realizing various applied business.Realize that the present invention is implemented
The program of example method may be embodied in application program 12022.
In embodiments of the present invention, by the program or instruction of calling memory 1202 to store, specifically, can be application
The program or instruction stored in program 12022, processor 1201 are used for: detection mobile terminal user in destination application the
Touch control operation in one Application Program Interface;When detecting touch control operation, the default of first Application Program Interface is judged
Position is with the presence or absence of default mark;If there is default mark in first Application Program Interface, according to the touch control operation,
Default associated first widget of mark is added in mobile terminal desktop;Wherein, the default mark is used for the mesh
Mark application program is added to the widget of mobile terminal desktop in the presence of support.
The method that the embodiments of the present invention disclose can be applied in processor 1201, or real by processor 1201
It is existing.Processor 1201 may be a kind of IC chip, the processing capacity with signal.During realization, the above method
Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 1201 or software form.Above-mentioned
Processor 1201 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated
Integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 1202, processor 1201 reads the information in memory 1202, completes the above method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein
The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or
It is realized outside processor.
Optionally, processor 1201 is also used to: judging that the destination application is mobile whole with the presence or absence of supporting to be added to
Hold the first widget of desktop;The first widget for being added to mobile terminal desktop is supported if it exists, then is chosen in preset picture library
Image associated with first widget;Described image is determined as the default mark;Establish the default mark and institute
State the incidence relation between the first widget;User interface 1203 is used for: in the Application Program Interface of the destination application
Predeterminated position show the default mark.
Optionally, processor 1201 is also used to: the touch control operation is compared with the operation of preset addition widget;If
The touch control operation matches with the preset addition widget operation, then the default mark is added in mobile terminal desktop
Associated first widget.
Optionally, processor 1201 is also used to: obtaining the interface content information of first Application Program Interface;According to institute
Interface content information is stated, default associated first widget of mark is added in mobile terminal desktop.
Optionally, processor 1201 is also used to: there are at least one mobile terminal desktops of white space for lookup;Described
Selection meets the target desktop of preset condition at least one mobile terminal desktop;In the white space of the target desktop
Add default associated first widget of mark.
Optionally, processor 1201 is also used to: being more than by history display number at least one described mobile terminal desktop
The desktop of preset threshold is determined as the target desktop.
Optionally, processor 1201 is also used to: detecting the mobile terminal desktop with the presence or absence of the destination application
Widget;If the second widget of the second Application Program Interface of the destination application is detected the presence of, by described first
Widget is added to the white space of the mobile terminal desktop where second widget;Wherein, the difference of same application is answered
A widget is respectively corresponded with program interface.
Optionally, user interface 1203 is also used to: display first Application Program Interface;Show a prompt information;Its
In, the prompt information is used to indicate the mobile terminal desktop and has added first widget.
Mobile terminal 1200 can be realized each process that mobile terminal is realized in previous embodiment, and can reach identical
Technical effect, to avoid repeating, which is not described herein again.
In the mobile terminal of the embodiment of the present invention, first application program of the detection mobile terminal user in destination application
Touch control operation in interface;When detecting touch control operation, judge whether the predeterminated position of first Application Program Interface is deposited
In default mark;If there is default mark in first Application Program Interface, according to the touch control operation, in mobile terminal
Default associated first widget of mark is added in desktop;Wherein, the default mark is used for the destination application
It is added to the widget of mobile terminal desktop in the presence of support.Widget can be directly added in Application Program Interface by user in this way
In mobile terminal desktop, needs to add on mobile terminal desktop compared with prior art or add in desktop setting application program
Add widget, the embodiment of the present invention simplifies addition operation, saves the operating time of user.
Sixth embodiment
Figure 13 is please referred to, Figure 13 is the structure chart that the present invention implements the mobile terminal provided, is able to achieve first embodiment extremely
The details of the adding method of mobile terminal widget in 3rd embodiment, and reach identical effect.As shown in figure 13, mobile whole
End 1300 includes radio frequency (Radio Frequency, RF) circuit 1310, memory 1320, input unit 1330, display unit
1340, processor 1350, voicefrequency circuit 1360, communication module 1370 and power supply 1380.
Wherein, input unit 1330 can be used for receiving the number or character information of user's input, and generate with movement eventually
The related signal input of the user setting and function control at end 1300.Specifically, in the embodiment of the present invention, the input unit
1330 may include touch panel 1331.Touch panel 1331, also referred to as touch screen collect the touching of user on it or nearby
It touches operation (for example user uses the operations of any suitable object or attachment on touch panel 1331 such as finger, stylus), and
Corresponding attachment device is driven according to preset formula.Optionally, touch panel 1331 may include touch detecting apparatus and
Two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation bring letter
Number, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into
Contact coordinate, then give the processor 1350, and order that processor 1350 is sent can be received and executed.Furthermore, it is possible to
Touch panel 1331 is realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1331, input unit 1330 can also include other input equipments 1332, other input equipments 1332 can include but is not limited to
One of physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are more
Kind.
Wherein, display unit 1340 can be used for showing information input by user or be supplied to the information and movement of user
The various menu interfaces of terminal 1300.Display unit 1340 may include display panel 1341, optionally, using LCD or can have
The forms such as machine light emitting diode (Organic Light-Emitting Diode, OLED) configure display panel 1341.
It should be noted that touch panel 1331 can cover display panel 1341, touch display screen is formed, when the touch display screen
After detecting touch operation on it or nearby, processor 1350 is sent to determine the type of touch event, is followed by subsequent processing
Device 1350 provides corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area
And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area
Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example,
Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 1350 is the control centre of mobile terminal 1300, utilizes various interfaces and connection whole mobile phone
Various pieces, by running or execute the software program and/or module that are stored in first memory 1321, and call and deposit
The data in second memory 1322 are stored up, the various functions and processing data of mobile terminal 1300 are executed, thus eventually to movement
End 1300 carries out integral monitoring.Optionally, processor 1350 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 1321 in software program and/or module and/
Or the data in the second memory 1322, processor 1350 are used for: detection mobile terminal user in destination application the
Touch control operation in one Application Program Interface;When detecting touch control operation, the default of first Application Program Interface is judged
Position is with the presence or absence of default mark;If there is default mark in first Application Program Interface, according to the touch control operation,
Default associated first widget of mark is added in mobile terminal desktop;Wherein, the default mark is used for the mesh
Mark application program is added to the widget of mobile terminal desktop in the presence of support.
Optionally, processor 1350 is also used to: judging that the destination application is mobile whole with the presence or absence of supporting to be added to
Hold the first widget of desktop;The first widget for being added to mobile terminal desktop is supported if it exists, then is chosen in preset picture library
Image associated with first widget;Described image is determined as the default mark;Establish the default mark and institute
State the incidence relation between the first widget;Display unit 1340 is used for: in the Application Program Interface of the destination application
Predeterminated position show the default mark.
Optionally, processor 1350 is also used to: the touch control operation is compared with the operation of preset addition widget;If
The touch control operation matches with the preset addition widget operation, then the default mark is added in mobile terminal desktop
Associated first widget.
Optionally, processor 1350 is also used to: obtaining the interface content information of first Application Program Interface;According to institute
Interface content information is stated, default associated first widget of mark is added in mobile terminal desktop.
Optionally, processor 1350 is also used to: there are at least one mobile terminal desktops of white space for lookup;Described
Selection meets the target desktop of preset condition at least one mobile terminal desktop;In the white space of the target desktop
Add default associated first widget of mark.
Optionally, processor 1350 is also used to: being more than by history display number at least one described mobile terminal desktop
The desktop of preset threshold is determined as the target desktop.
Optionally, processor 1350 is also used to: detecting the mobile terminal desktop with the presence or absence of the destination application
Widget;If the second widget of the second Application Program Interface of the destination application is detected the presence of, by described first
Widget is added to the white space of the mobile terminal desktop where second widget;Wherein, the difference of same application is answered
A widget is respectively corresponded with program interface.
Optionally, display unit 1340 is also used to: display first Application Program Interface;Show a prompt information;Its
In, the prompt information is used to indicate the mobile terminal desktop and has added first widget.
Mobile terminal 1300 can be realized each process that mobile terminal is realized in previous embodiment, and can reach identical
Technical effect, to avoid repeating, which is not described herein again.
In the mobile terminal of the embodiment of the present invention, first application program of the detection mobile terminal user in destination application
Touch control operation in interface;When detecting touch control operation, judge whether the predeterminated position of first Application Program Interface is deposited
In default mark;If there is default mark in first Application Program Interface, according to the touch control operation, in mobile terminal
Default associated first widget of mark is added in desktop;Wherein, the default mark is used for the destination application
It is added to the widget of mobile terminal desktop in the presence of support.Widget can be directly added in Application Program Interface by user in this way
In mobile terminal desktop, needs to add on mobile terminal desktop compared with prior art or add in desktop setting application program
Add widget, the embodiment of the present invention simplifies addition operation, saves the operating time of user.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs
Purpose.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (16)
1. a kind of adding method of mobile terminal widget characterized by comprising
Detect touch control operation of the mobile terminal user in the first Application Program Interface of destination application;First application
Program interface includes any interface that the destination application is shown or the Application Program Interface that mobile terminal is currently shown;
When detecting touch control operation, judge the predeterminated position of first Application Program Interface with the presence or absence of default mark;
If there is default mark in first Application Program Interface, according to the touch control operation, in mobile terminal desktop
Add default associated first widget of mark;
Wherein, the default mark is added to the micro- of mobile terminal desktop in the presence of support for identifying the destination application
Part;The different application interface of same application respectively corresponds a widget.
2. the method according to claim 1, wherein the detection mobile terminal user is in destination application
Before the step of touch control operation in first Application Program Interface, the method also includes:
Judge that the destination application is added to the first widget of mobile terminal desktop with the presence or absence of support;
The first widget for being added to mobile terminal desktop is supported if it exists, then is chosen and first widget in preset picture library
Associated image;
Described image is determined as the default mark;
Establish the incidence relation between the default mark and first widget;
Predeterminated position in the first Application Program Interface of the destination application shows the default mark.
3. method according to claim 1 or 2, which is characterized in that it is described according to the touch control operation, in mobile terminal table
The step of associated first widget of the default mark is added in face, comprising:
The touch control operation is compared with the operation of preset addition widget;
If the touch control operation matches with the preset addition widget operation, added in mobile terminal desktop described pre-
It is marked with sensible associated first widget.
4. method according to claim 1 or 2, which is characterized in that described to add described preset in mobile terminal desktop
The step of identifying associated first widget, comprising:
Obtain the interface content information of first Application Program Interface;
According to the interface content information, default associated first widget of mark is added in mobile terminal desktop.
5. method according to claim 1 or 2, which is characterized in that described to add described preset in mobile terminal desktop
The step of identifying associated first widget, comprising:
There are at least one mobile terminal desktops of white space for lookup;
Selection meets the target desktop of preset condition at least one described mobile terminal desktop;
In the white space addition of the target desktop default associated first widget of mark.
6. according to the method described in claim 5, it is characterized in that, described select at least one described mobile terminal desktop
The step of meeting the target desktop of preset condition, comprising:
The desktop that history display number at least one described mobile terminal desktop is more than preset threshold is determined as the target
Desktop.
7. method according to claim 1 or 2, which is characterized in that described to add described preset in mobile terminal desktop
The step of identifying associated first widget, comprising:
Detecting the mobile terminal desktop whether there is the widget of the destination application;
If detecting the presence of the second widget of the second Application Program Interface of the destination application, by first widget
It is added to the white space of the mobile terminal desktop where second widget.
8. the method according to claim 1, wherein described according to the touch control operation, in mobile terminal desktop
After the step of middle addition default mark associated first widget, the method also includes:
Show first Application Program Interface;
Show a prompt information;
Wherein, the prompt information is used to indicate the mobile terminal desktop and has added first widget.
9. a kind of mobile terminal characterized by comprising
Touch control operation detection module, for detecting mobile terminal user in the first Application Program Interface of destination application
Touch control operation;First Application Program Interface includes that any interface that the destination application is shown or mobile terminal are current
The Application Program Interface of display;
Judgment module is identified, for when the touch control operation detection module detects touch control operation, judging first application
The predeterminated position of program interface is with the presence or absence of default mark;
Adding module, if judging there is default mark in first Application Program Interface for the mark judgment module,
According to the touch control operation, default associated first widget of mark is added in mobile terminal desktop;
Wherein, the default mark is added to the micro- of mobile terminal desktop in the presence of support for identifying the destination application
Part;The different application interface of same application respectively corresponds a widget.
10. mobile terminal according to claim 9, which is characterized in that the mobile terminal further include:
Widget judgment module, for judging that the destination application is added to the first of mobile terminal desktop with the presence or absence of support
Widget;
Image chooses module, if judging that the destination application is added to movement in the presence of support for the widget judgment module
First widget of terminal desktop then chooses image associated with first widget in preset picture library;
Determining module is identified, is determined as the default mark for described image to be chosen the image that module is chosen;
Relationship establishes module, for establishing between the mark determining module default mark determined and first widget
Incidence relation;
Display module is identified, described in showing in the predeterminated position in the first Application Program Interface of the destination application
Default mark.
11. mobile terminal according to claim 9 or 10, which is characterized in that the adding module includes:
Comparing unit, for the touch control operation to be compared with the operation of preset addition widget;
First adding unit, if comparing the touch control operation for the comparing unit operates phase with the preset addition widget
Default associated first widget of mark is then added in matching in mobile terminal desktop.
12. mobile terminal according to claim 9 or 10, which is characterized in that the adding module includes:
Acquiring unit, for obtaining the interface content information of first Application Program Interface;
Second adding unit, the interface content information for being obtained according to the acquiring unit, in mobile terminal desktop
Add default associated first widget of mark.
13. mobile terminal according to claim 9 or 10, which is characterized in that the adding module includes:
Searching unit, for searching at least one mobile terminal desktop there are white space;
Desktop selecting unit meets pre- for selection at least one mobile terminal desktop described in searching unit lookup
If the target desktop of condition;
The white space addition of third adding unit, the target desktop for selecting in desktop selecting unit is described pre-
It is marked with sensible associated first widget.
14. mobile terminal according to claim 13, which is characterized in that the desktop selecting unit is used for by described at least
History display number is more than that the desktop of preset threshold is determined as the target desktop in one mobile terminal desktop.
15. mobile terminal according to claim 9 or 10, which is characterized in that the adding module includes:
Detection unit whether there is the widget of the destination application for detecting the mobile terminal desktop;
4th adding unit, if detecting the presence of the second application program circle of the destination application for the detection unit
First widget is then added to the white space of the mobile terminal desktop where second widget by second widget in face.
16. mobile terminal according to claim 9, which is characterized in that the mobile terminal further include:
Interface display module, for showing first Application Program Interface;
Prompt information display module, for showing a prompt information;
Wherein, the prompt information is used to indicate the mobile terminal desktop and has added first widget.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610946551.6A CN106527937B (en) | 2016-10-26 | 2016-10-26 | A kind of adding method and mobile terminal of mobile terminal widget |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610946551.6A CN106527937B (en) | 2016-10-26 | 2016-10-26 | A kind of adding method and mobile terminal of mobile terminal widget |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106527937A CN106527937A (en) | 2017-03-22 |
CN106527937B true CN106527937B (en) | 2019-10-15 |
Family
ID=58292906
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610946551.6A Active CN106527937B (en) | 2016-10-26 | 2016-10-26 | A kind of adding method and mobile terminal of mobile terminal widget |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106527937B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111176766A (en) * | 2019-12-16 | 2020-05-19 | 青岛海信移动通信技术股份有限公司 | Communication terminal and component display method |
CN113127091B (en) * | 2021-03-17 | 2024-06-04 | 北京达佳互联信息技术有限公司 | Method, device, equipment, storage medium and program product for showing widget |
CN115373668A (en) * | 2021-05-21 | 2022-11-22 | 中兴通讯股份有限公司 | Widget generation method and device, electronic equipment and storage medium |
CN114741017A (en) * | 2022-05-09 | 2022-07-12 | 北京字跳网络技术有限公司 | Small component processing method, device, equipment and medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101901111A (en) * | 2010-07-30 | 2010-12-01 | 中兴通讯股份有限公司 | Method and device for realizing automatic operation on mobile terminal |
CN102096581A (en) * | 2009-12-10 | 2011-06-15 | 华为技术有限公司 | Method and device for generating widget |
CN102722358A (en) * | 2011-03-30 | 2012-10-10 | 联想(北京)有限公司 | Electronic equipment and method for presenting widgets |
CN102968313A (en) * | 2012-12-21 | 2013-03-13 | 珠海市魅族科技有限公司 | Generation method and terminal of desktop widget |
CN103403676A (en) * | 2012-08-02 | 2013-11-20 | 华为终端有限公司 | Widget processing method, apparatus and mobile terminal |
CN103914211A (en) * | 2014-04-04 | 2014-07-09 | 华为终端有限公司 | Automatic interface element adjusting method and automatic interface element adjusting device |
WO2015092803A1 (en) * | 2013-12-16 | 2015-06-25 | Loremclaro Solutions Private Limited | A system and method for generating platform independent applications for computing devices |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9811250B2 (en) * | 2014-05-31 | 2017-11-07 | Apple Inc. | Device, method, and graphical user interface for displaying widgets |
-
2016
- 2016-10-26 CN CN201610946551.6A patent/CN106527937B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102096581A (en) * | 2009-12-10 | 2011-06-15 | 华为技术有限公司 | Method and device for generating widget |
CN101901111A (en) * | 2010-07-30 | 2010-12-01 | 中兴通讯股份有限公司 | Method and device for realizing automatic operation on mobile terminal |
CN102722358A (en) * | 2011-03-30 | 2012-10-10 | 联想(北京)有限公司 | Electronic equipment and method for presenting widgets |
CN103403676A (en) * | 2012-08-02 | 2013-11-20 | 华为终端有限公司 | Widget processing method, apparatus and mobile terminal |
CN102968313A (en) * | 2012-12-21 | 2013-03-13 | 珠海市魅族科技有限公司 | Generation method and terminal of desktop widget |
WO2015092803A1 (en) * | 2013-12-16 | 2015-06-25 | Loremclaro Solutions Private Limited | A system and method for generating platform independent applications for computing devices |
CN103914211A (en) * | 2014-04-04 | 2014-07-09 | 华为终端有限公司 | Automatic interface element adjusting method and automatic interface element adjusting device |
Also Published As
Publication number | Publication date |
---|---|
CN106527937A (en) | 2017-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106126013B (en) | A kind of application management method and mobile terminal | |
CN107566638B (en) | A kind of display control method and mobile terminal of application program | |
CN106844067B (en) | A kind of processing method and mobile terminal of content | |
CN106681623B (en) | A kind of sharing method and mobile terminal of screenshotss image | |
CN106406656B (en) | A kind of control method and mobile terminal of application tool bar | |
CN106527937B (en) | A kind of adding method and mobile terminal of mobile terminal widget | |
CN106125984B (en) | A kind of the touch-control processing method and mobile terminal of mobile terminal | |
CN106372110B (en) | Recommendation method of application program and mobile terminal | |
CN106528160B (en) | A kind of application program image target adding method and terminal | |
CN106973167B (en) | A kind of income prompting method and mobile terminal | |
CN106325749A (en) | Operation method of mobile terminal, and mobile terminal | |
CN106126077A (en) | A kind of application program image target display control method and mobile terminal | |
CN107491278B (en) | A kind of split screen processing method and terminal | |
CN103870160B (en) | A kind of information processing method and electronic equipment | |
CN105827816B (en) | A kind of the split screen method and mobile terminal of terminal screen | |
CN107423018B (en) | A kind of multi-screen display method and terminal | |
CN106126210A (en) | A kind of application icon display packing and mobile terminal | |
CN106210231B (en) | A kind of method and mobile terminal of information processing | |
CN106375576B (en) | A kind of voice-frequency channel control method and mobile terminal | |
CN106372252B (en) | A kind of image display method and mobile terminal | |
CN106446048B (en) | A kind of song recommendations method and mobile terminal | |
US10824445B2 (en) | Dynamic presentation of function portals | |
WO2018166469A1 (en) | Method for multi-path copying and pasting, and mobile terminal | |
CN106055232B (en) | A kind of processing method and mobile terminal of message | |
CN107665140A (en) | A kind of display methods and mobile terminal of application program shortcut |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |