IP Library Granted Patent US 9,319,508
Granted Patent B2
US 9,319,508 · App. 13/676,782 · Granted Apr 19, 2016

Method and device for adding menu item to android menu

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,319,508
App. No.
13/676,782
Granted
Apr 19, 2016
Kind
B2
Abstract

A method and device for adding a menu item to an Android menu are provided. The method includes: receiving a request for opening a local menu, where the request carries a menu ID, and creating a local menu corresponding to the menu ID; obtaining according to the menu ID, in a stored correspondence between a menu item of a third-party application and the menu ID, a menu item of a corresponding third-party application; and adding the menu item of the third-party application to the local menu, and displaying the local menu to which the menu item of the third-party application is added. The device includes a first creating module, an obtaining module, and an adding module. The present invention is capable of adding a menu item of a third-party application to a local menu of a mobile phone without modifying an Android platform code.

Claims (60)

1. A method for displaying a menu of a first application in a mobile device, wherein the first application is configured to be associated with a second application, the method comprising:

receiving a request for launching the first application at a user interface of the mobile device;

generating the menu of the first application; and

displaying the menu of the first application on a display unit of the mobile device;

wherein the menu of the first application comprises a menu item representing the second application, and generating the menu of the first application comprises:

adding the menu item representing the second application to a preexisting menu of the first application according to a first correspondence between a menu identifier (ID) identifying the preexisting menu of the first application and the menu item representing the second application,

wherein the first correspondence is configured in the mobile device according to a configuration file provided by the second application when the second application is installed in the mobile device, and

wherein the configuration file provided by the second application comprises the menu ID for identifying the preexisting menu of the first application.

2. The method of claim 1 , wherein the menu item representing the second application comprises an item name.

3. The method of claim 2 , wherein the item name in the menu item representing the second application is associated with an identifier for identifying a function of the second application or a secondary menu.

4. The method of claim 3 , wherein the item name in the menu item representing the second application is associated with an icon ID for identifying an icon of the second application.

5. The method of claim 3 , wherein the identifier associated with the item name is a function identifier (ID), the function ID is associated with a function of the second application, and wherein the method further comprises:

detecting a selection of the item name on the menu of the first application;

obtaining the function ID associated with the item name; and

launching the function of the second application associated with the function ID.

6. The method of claim 3 , wherein the identifier associated with the item name is a secondary menu identifier (ID), the secondary menu ID is associated with a secondary menu, and wherein the method further comprises:

detecting a selection of the item name on the menu of the first application;

obtaining the secondary menu ID associated with the item name;

generating the secondary menu according to the secondary menu ID, wherein the secondary menu comprises a secondary menu item of the second application, the secondary menu item of the second application is obtained from a second correspondence between the second menu item of the second application and the secondary menu ID; and

displaying the secondary menu on the display unit of the mobile device.

7. The method of claim 1 , wherein the first application is executed in an Android™ system equipped in the mobile device.

8. A mobile device, comprising:

a user interface;

a display unit;

a memory; and

one or more processors coupled with the memory;

wherein the user interface is configured to:

receive a request for launching a first application, wherein the first application is configured to be associated with a second application;

wherein the one or more processors are configured to:

generate a menu of the first application;

wherein the display unit is configured to:

display the menu of the first application;

wherein the menu of the first application comprises a menu item representing the second application, and in generating the menu of the first application, the one or more processors are configured to:

add the menu item representing the second application to a preexisting menu of the first application according to a first correspondence between a menu identifier (ID) identifying the preexisting menu of the first application and the menu item representing the second application,

wherein the first correspondence is configured and stored in the mobile device according to a configuration file provided by the second application when the second application is installed in the mobile device, and

wherein the configuration file provided by the second application comprises the menu ID for identifying the preexisting menu of the first application.

9. The device of claim 8 , wherein the menu item representing the second application comprises an item name.

10. The device of claim 9 , wherein the item name in the menu item representing the second application is associated with an identifier for identifying a function of the second application or a secondary menu.

11. The device of claim 10 , wherein the item mane in the menu item representing the second application is associated with an icon ID for identifying an icon of the second application.

12. The device of claim 10 , wherein the identifier associated with the item name is a function identifier (ID), the function ID is associated with a function of the second application, and wherein the user interface is configured to:

detect a selection of the item name on the menu of the first application;

the one or more processors are further configured to:

obtain the function ID associated with the item name; and

launch the function of the second application associated with the function ID.

13. The device of claim 10 , wherein the identifier associated with the item name is a secondary menu identifier (ID), the secondary menu ID is associated with a secondary menu, and wherein the user interface is configured to:

detect a selection of the item name on the menu of the first application;

the one or more processors are further configured to:

obtain the secondary menu ID associated with the item name; and

generate the secondary menu according to the secondary menu ID,

wherein the secondary menu comprises a secondary menu item of the second application, the secondary menu item of the second application is obtained from a second correspondence between the second menu item of the second application and the secondary menu ID; and

wherein the display unit is further configured to display the secondary menu.

14. The device of claim 8 , wherein the first application is executed in an Android™ system equipped in the mobile device.

15. A processor used in a mobile communication device that comprises a user interface, a display unit a memory and the processor, wherein the processor is configured to:

in response to a request for launching a first application on the device,

generate a menu of the first application; and

instruct the display unit to display the menu of the first application;

wherein the application is configured to be associated with a second application, and the menu comprises a menu item representing the second application, and wherein in generating the menu of the first application, the processor is configured to:

add the menu item representing the second application to a preexisting menu of the first application according to a correspondence between a menu identifier (ID) identifying the preexisting menu of the first application and the menu item representing the second application,

wherein the correspondence is configured in the mobile device according to a configuration file provided by the second application when the second application is installed in the mobile communication device, and

wherein the configuration file provided by the second application comprises the menu ID for identifying the preexisting menu of the application.

Assignments (3)
CHANGE OF NAME Recorded Mar 11, 2019
From: HUAWEI DEVICE (DONGGUAN) CO.,LTD.
To: HUAWEI DEVICE CO.,LTD.
Reel/Frame 048555/0951 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 5, 2017
From: HUAWEI DEVICE CO., LTD.
To: HUAWEI DEVICE (DONGGUAN) CO., LTD.
Reel/Frame 043750/0393 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 14, 2012
From: ZHAO, JING
To: HUAWEI DEVICE CO., LTD.
Reel/Frame 029298/0381 →