# US 2021/0342041 A1 · Method and apparatus for adding icon to interface of android system, and mobile terminal

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0342041 A1
- Document ID: US20210342041A1
- Status: Published application
- Kind: A1
- Application number: 17/374,707
- Filed: 2021-07-13
- Published: 2021-11-04
- Earliest claimed: 2010-04-28
- Assignees: Huawei Device Co., Ltd.
- Applicants: Huawei Device Co., Ltd.
- Inventors: Pei WANG
- Web page: https://patentgrep.com/patent/US20210342041A1

## CPC

- G06F 3/0483: Interaction with page-structured environments, e.g. book metaphor
- G06F 3/04817: using icons (graphical or visual programming using iconic symbols G06F8/34)
- G06F 3/0482: Interaction with lists of selectable items, e.g. menus
- G06F 3/04842: Selection of displayed objects or displayed text elements (G06F3/0482 takes precedence)
- G06F 9/451: Execution arrangements for user interfaces
- H04M 1/72469: for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
- G06F 3/0488: using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)

## 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.

## Claims

### Claim 1

A method of adding an icon in a mobile terminal that has a first homescreen, the method being performed by the mobile terminal and comprising:
detecting a first press gesture on an icon for a first widget to add the first widget to the first homescreen;
in response to detecting the first press gesture, determining whether the first homescreen has available space for placing the first widget; and
when it is determined that the first homescreen has available space for placing the first widget, displaying the icon of the first widget on the first homescreen;
when it is determined that the first homescreen does not have available space for placing the first widget, displaying the icon for the first widget on a second homescreen automatically created.

### Claim 2 (depends on 1)

The method according to claim 1, wherein application program icons are displayed on the first homescreen before detecting the first press gesture.

### Claim 3 (depends on 2)

The method according to claim 2, further comprising:
determining remaining space of the first homescreen through a display grid parameter and space occupied by the application program icons on the first homescreen.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the mobile terminal is installed with an Android operation system.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the mobile terminal further has a third homescreen next to the first homescreen before detecting the first press gesture.

### Claim 6 (depends on 5)

The method according to claim 5, further comprising:
detecting a second press gesture on an icon for a second widget to add the second widget to the first homescreen;
in response to detecting the second press gesture, determining whether the first homescreen has available space for placing the icon for the second widget;
when it is determined that the first homescreen does not have available space for placing the icon for the second widget, determining whether the third homescreen has available space for placing the icon for the second widget; and
when it is determined that the third homescreen has available space for placing the icon for the second widget, displaying the icon for the second widget on the third homescreen.

### Claim 7 (depends on 6)

The method according to claim 6, further comprising:
when it is determined that the first homescreen has available space for placing the icon for the second widget, displaying the icon for the second widget on the first homescreen.

### Claim 8

A mobile terminal comprising:
a display screen;
a memory storing instructions; and
a processor configured to execute the instructions to cause the mobile terminal to perform operations of:
detecting a first press gesture on an icon for a first widget to add the first widget to the first homescreen;
in response to detecting the first press gesture, determining whether the first homescreen has available space for placing the first widget; and
when it is determined that the first homescreen has available space for placing the first widget, displaying the icon of the first widget on the first homescreen;
when it is determined that the first homescreen does not have available space for placing the first widget, displaying the icon for the first widget on a second homescreen automatically created.

### Claim 9 (depends on 8)

The mobile terminal according to claim 8, wherein application program icons are displayed on the first homescreen before detecting the first press gesture.

### Claim 10 (depends on 9)

The mobile terminal according to claim 9, wherein determining remaining space of the first homescreen through a display grid parameter and space occupied by the application program icons on the first homescreen.

### Claim 11 (depends on 8)

The mobile terminal according to claim 8, wherein the mobile terminal is installed with an Android operation system.

### Claim 12 (depends on 8)

The mobile terminal according to claim 8, wherein the mobile terminal further has a third homescreen next to the first homescreen before detecting the first press gesture.

### Claim 13 (depends on 8)

The mobile terminal according to claim 8, wherein the instructions further comprise:
detecting a second press gesture on an icon for a second widget to add the second widget to the first homescreen;
in response to detecting the second press gesture, determining whether the first homescreen has available space for placing the icon for the second widget;
when it is determined that the first homescreen does not have available space for placing the icon for the second widget, determining whether the third homescreen has available space for placing the icon for the second widget; and
when it is determined that the third homescreen has available space for placing the icon for the second widget, displaying the icon for the second widget on the third homescreen.

### Claim 14 (depends on 13)

The mobile terminal according to claim 13, wherein the instructions further comprise:
when it is determined that the first homescreen has available space for placing the icon for the second widget, displaying the icon for the second widget on the first homescreen.

### Claim 15

Anon-transitory computer-readable storage medium having a program recorded thereon that, when executed by a processor, causes a mobile terminal to add an icon in a mobile terminal that has a first homescreen, by performing the steps of:
detecting a first press gesture on an icon for a first widget to add the first widget to the first homescreen;
in response to detecting the first press gesture, determining whether the first homescreen has available space for placing the first widget; and
when it is determined that the first homescreen has available space for placing the first widget, displaying the icon of the first widget on the first homescreen;
when it is determined that the first homescreen does not have available space for placing the first widget, displaying the icon for the first widget on a second homescreen automatically created.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium according to claim 15, wherein application program icons are displayed on the first homescreen before detecting the first press gesture.

### Claim 17 (depends on 15)

The non-transitory computer-readable storage medium according to claim 15, wherein determining remaining space of the first homescreen through a display grid parameter and space occupied by the application program icons on the first homescreen.

### Claim 18 (depends on 15)

The non-transitory computer-readable storage medium according to claim 15, the mobile terminal is installed with an Android operation system.

### Claim 19 (depends on 15)

The non-transitory computer-readable storage medium according to claim 15, wherein:
detecting a second press gesture on an icon for a second widget to add the second widget to the first homescreen; wherein the mobile terminal further has a third homescreen next to the first homescreen; and
in response to detecting the second press gesture, determining whether the first homescreen has available space for placing the icon for the second widget;
when it is determined that the first homescreen does not have available space for placing the icon for the second widget, determining whether the third homescreen has available space for placing the icon for the second widget; and
when it is determined that the third homescreen has available space for placing the icon for the second widget, displaying the icon for the second widget on the third homescreen.

### Claim 20 (depends on 19)

The non-transitory computer-readable storage medium according to claim 19, wherein:
when it is determined that the first homescreen has available space for placing the icon for the second widget, displaying the icon for the second widget on the first homescreen.
