Method and apparatus for adding icon to interface of system, and mobile terminal
First Claim
1. A method of adding an icon to an interface of a system that has N interfaces, and the method comprises:
- obtaining add command information related with an Mth interface;
obtaining, according to the add command information, space information of an icon to be added, the icon representing accessibility of a function triggered by the icon and the obtaining of the space information includes three-dimensional space information;
obtaining remaining space information of the Mth interface according to the add command information;
executing a first judging of whether the space information of the icon to be added is greater than the remaining space information of the Mth interface, and adding the icon to the Mth interface while the first judging indicates the space information of the icon is less than the remaining space information of the Mth interface;
executing a second judging of whether the Mth interface is a last interface to be judged responsive to the first judging indicating that the space information of the icon is greater than the remaining space information of Mth interface, assigning M+1 to M while the Mth interface is other than the last interface and determining remaining space information of M+1 interface relative to the space information of the icon, the icon being added to the M+1 interface while the determining indicates the space information of the icon is less than the remaining space information of M+1 interface;
establishing a new interface responsive to the first judging that the space information of the icon is greater than the remaining space information of the Mth interface, while the second judging indicates the Mth interface as the last interface; and
adding the icon to the established interface; and
wherein M and N are natural numbers, and 1≦
M≦
N.
5 Assignments
0 Petitions
Accused Products
Abstract
A method for adding an icon to an interface of an Android system, where the Android system has N interfaces, includes: a. obtaining add command information; b. obtaining, according to the add command information, space information of an icon to be added; c. obtaining remaining space information of an Mth interface according to the add command information; d. judging whether the space information of the icon to be added is greater than the remaining space information of the Mth interface; if yes, executing step e; if no, executing step f; e. judging whether the Mth interface is a last interface to be judged; if yes, executing step g; if no, assigning M+1 to M and returning to step c; f. adding the icon to the interface; and g. establishing another interface, and adding the icon to the newly established interface; where M and N are natural numbers, and 1≦M≦N.
47 Citations
10 Claims
-
1. A method of adding an icon to an interface of a system that has N interfaces, and the method comprises:
-
obtaining add command information related with an Mth interface; obtaining, according to the add command information, space information of an icon to be added, the icon representing accessibility of a function triggered by the icon and the obtaining of the space information includes three-dimensional space information; obtaining remaining space information of the Mth interface according to the add command information; executing a first judging of whether the space information of the icon to be added is greater than the remaining space information of the Mth interface, and adding the icon to the Mth interface while the first judging indicates the space information of the icon is less than the remaining space information of the Mth interface; executing a second judging of whether the Mth interface is a last interface to be judged responsive to the first judging indicating that the space information of the icon is greater than the remaining space information of Mth interface, assigning M+1 to M while the Mth interface is other than the last interface and determining remaining space information of M+1 interface relative to the space information of the icon, the icon being added to the M+1 interface while the determining indicates the space information of the icon is less than the remaining space information of M+1 interface; establishing a new interface responsive to the first judging that the space information of the icon is greater than the remaining space information of the Mth interface, while the second judging indicates the Mth interface as the last interface; and adding the icon to the established interface; and wherein M and N are natural numbers, and 1≦
M≦
N. - View Dependent Claims (2, 3, 4)
-
-
5. An apparatus for adding an icon to an interface of a system that has N interfaces, and the apparatus comprises:
computer hardware configured by at least one program to implement; a first obtaining module, configured to obtain add command information related with an Mth interface; a second obtaining module, configured to obtain, according to the add command information, space information of an icon to be added and remaining space information of the Mth interface, the icon representing accessibility of a function triggered by the icon and the space information obtained including three-dimensional space information; a first judging module, configured to judge whether the space information of the icon to be added is greater than the remaining space information of the Mth interface; a second judging module, configured to judge whether the Mth interface is a last interface to be judged in accordance with a result of the judging by the first judging module that indicates the space information of the icon is greater than the remaining space information of the Mth interface, assigning M+1 to M while the Mth interface is judged to be other than the last interface and determining remaining space information of M+1 interface relative to the space information of the icon; and an adding module, configured to add the icon to the remaining space of the Mth interface while the first judging module judges that the space information of the icon to be added is less than the remaining space information of the Mth interface and configured to add the icon to the M+1 interface while the determining indicates the space information of the icon is less than the remaining space information of M+1 interface; and wherein a new interface is established responsive to the space information of the icon being judged as being greater than the remaining space information of the Mth interface while the Mth interface is judged as the last interface, the icon being added to the established interface, and wherein M and N are natural numbers, and 1≦
M≦
N.- View Dependent Claims (6)
-
7. A mobile terminal using a system that has N interfaces, wherein the mobile terminal comprises:
- a baseband chip, a touch screen, and an antenna, and comprises an apparatus for adding an icon to an interface of the system, and the apparatus comprises;
computer hardware configured to implement; a first obtaining module, configured to obtain add command information related with an Mth interface; a second obtaining module, configured to obtain, according to the add command information, space information of an icon to be added and remaining space information of the Mth interface, the icon representing accessibility of a function triggered by the icon and the space information obtained including three-dimensional space information; a first judging module, configured to judge whether the space information of the icon to be added is greater than the remaining space information of the Mth interface; a second judging module, configured to judge whether the Mth interface is a last interface to be judged in accordance with a result of the judging by the first judging module that indicates the space information of the icon is greater than the remaining space information of the Mth interface, and M+1 is assigned to M while the Mth interface is other than the last interface and determining remaining space information of M+1 interface relative to the space information of the icon; and an adding module, configured to add the icon to remaining space of the Mth interface while the first judging module judges that the space information of the icon to be added is less than the remaining space information of the Mth interface and configured to add the icon to the M+1 interface while the determining indicates the space information of the icon is less than the remaining space information of the M+1 interface; wherein a new interface is established responsive to the space information of the icon being judged as greater than the remaining space information of the Mth interface while the Mth interface is judged as the last interface, the icon being added to the established interface, and wherein M and N are natural numbers, and 1≦
M≦
N.
- a baseband chip, a touch screen, and an antenna, and comprises an apparatus for adding an icon to an interface of the system, and the apparatus comprises;
-
8. A non-transitory computer-readable storage medium having a program recorded thereon causing a computer execute a method for adding an icon to an interface of a system that has N interfaces, and the method comprises:
-
obtaining add command information related with an Mth interface; obtaining, according to the add command information, space information of an icon to be added, the icon representing accessibility of a function triggered by the icon and the obtaining of the space information includes three-dimensional space information; obtaining remaining space information of the Mth interface according to the add command information; executing a first judging of whether the space information of the icon to be added is greater than the remaining space information of the Mth interface, and adding the icon to the Mth interface while the first judging indicates the space information of the icon is less than the remaining space information of the Mth interface; executing a second judging of whether the Mth interface is a last interface to be judged responsive to the judging indicating that the space information of the icon is greater than the remaining space information of the Mth interface, assigning M+1 to M while the Mth interface is other than the last interface and determining remaining space information of M+1 interface relative to the space information of the icon, and adding the icon to the M+1 interface while the determining indicates the space information of the icon is less than the remaining space information of the M+1 interface; establishing a new interface responsive to the first judging that the space information of the icon is greater than the remaining space information of the Mth interface, while the second judging indicates the Mth interface as the last interface; and adding the icon to the new established interface; and wherein M and N are natural numbers, and 1≦
M≦
N. - View Dependent Claims (9)
-
-
10. A mobile terminal using a system that has N interfaces, wherein the mobile terminal comprises:
- a baseband chip, a touch screen, and an antenna, and comprises an apparatus for adding an icon to an interface of the system, and the apparatus configured to implement;
obtaining add command information related with an Mth interface; obtaining, according to the add command information, space information of an icon to be added, the icon representing accessibility of a function triggered by the icon and the obtaining of the space information includes three-dimensional space information; obtaining remaining space information of the Mth interface according to the add command information; executing a first judging of whether the space information of the icon to be added is greater than the remaining space information of the Mth interface, and adding the icon to the Mth interface while the first judging indicates the space information of the icon is less than the remaining space information of the Mth interface; executing a second judging of whether the Mth interface is a last interface to be judged responsive to the judging indicating the space information of the icon is greater than the remaining space information of the Mth interface, assigning M+1 to M while the Mth interface is other than the last interface and determining remaining space information of M+1 interface relative to the space information of the icon, and adding the icon to the M+1 interface while the determining indicates the space information of the icon is less than the remaining space information of the M+1 interface; establishing a new interface responsive to the judging that the space information of the icon is greater than the remaining space information of the Mth interface, while the second judging indicates the Mth interface as the last interface; and adding the icon to the new established interface; and wherein M and N are natural numbers, and 1≦
M≦
N.
- a baseband chip, a touch screen, and an antenna, and comprises an apparatus for adding an icon to an interface of the system, and the apparatus configured to implement;
Specification