METHOD AND APPARATUS FOR ADDING ICON TO INTERFACE OF ANDROID SYSTEM, AND MOBILE TERMINAL
First Claim
1. A method for adding an icon to an interface of an Android system, wherein the Android system has N interfaces, and the method comprises:
- 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 the process ends;
g. establishing another interface, adding the icon to the newly established interface, and the process ends;
whereinM 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.
-
Citations
10 Claims
-
1. A method for adding an icon to an interface of an Android system, wherein the Android system has N interfaces, and the method comprises:
-
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 the process ends; g. establishing another interface, adding the icon to the newly established interface, and the process ends;
whereinM 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 an Android system, wherein the Android system has N interfaces, and the apparatus comprises:
-
a first obtaining module, configured to obtain add command information; 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 an Mth interface; 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; and an adding module, configured to add the icon to remaining space of the Mth interface when the first judging module judges that the space information of the icon to be added is not greater than the remaining space information of the Mth interface;
whereinM and N are natural numbers, and 1≦
M≦
N. - View Dependent Claims (6, 7, 8)
-
-
9. A mobile terminal using an Android system, wherein the mobile terminal comprises:
- a baseband chip, a touch screen, and an antenna, and further comprises an apparatus for adding an icon to an interface of the Android system, wherein the Android system has N interfaces, and the apparatus comprises;
a first obtaining module, configured to obtain add command information; 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 an Mth interface; 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; and an adding module, configured to add the icon to remaining space of the Mth interface when the first judging module judges that the space information of the icon to be added is not greater than the remaining space information of the Mth interface;
wherein M and N are natural numbers, and 1≦
M≦
N.
- a baseband chip, a touch screen, and an antenna, and further comprises an apparatus for adding an icon to an interface of the Android system, wherein the Android system has N interfaces, and the apparatus comprises;
-
10. A computer-readable storage medium having a program recorded thereon;
- wherein the program makes a computer execute a method for adding an icon to an interface of an Android system, wherein the Android system has N interfaces, and the method comprises;
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 the process ends; g. establishing another interface, adding the icon to the newly established interface, and the process ends;
whereinM and N are natural numbers, and 1≦
M≦
N.
- wherein the program makes a computer execute a method for adding an icon to an interface of an Android system, wherein the Android system has N interfaces, and the method comprises;
Specification