views:

66

answers:

1

Hi,

Is it possible to have something similar like Blackberry in Android: link text

I want to add a menu item particularly to the Contacts Option menu.

please let me know if this can be done in android.

A: 

Can you specify more clearly what you're trying to achieve / where you want to add the menu.

The menu that appears when you press the menu button on BB is equivalent to the menu options that come up when you press the menu button on Android.

Talking about the Contact application on Android, this would be the menu with the menu items "Search, Display options, Get Friends, My Profile, ..." in the Contact app's list view.

Take a look at http://developer.android.com/reference/android/view/Menu.html

Mathias Lin
Hi Lin, Thanks for responding. i want when first time my application starts it should add a menu item to the already existing option menu of contact application, something like say 'launch my activity". so when user browse to the contact application and press the menu button it should display the menu item "launch my activity" alongside the existing options and when user click on it, it should launch my logic that i want to execute on that click. i know this can be done in blackberry thats why i posted that link what i want to know is whether it can be done in android or not.
dcdel
I see. I don't think you can add a menu item to another application that's not yours. Also see http://stackoverflow.com/questions/3615772/adding-an-item-to-the-context-menu
Mathias Lin
thanks Lin, for the information.
dcdel