摘要 |
Embodiments of the present invention relate to a method and device for adding a menu item to an Android menu, and belong to the computer field. 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 local 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. |