I am just wondering if somebody knows of any Android API that i can use for
1. To know how many menu items are there on current screen
2. How can i get the name of all menu items for example
3. How can i get all the menu items in entire phone including submenu items.
4. Is there any way to search for a menu item which is in submenu for example if i want to search for menu item "Recent calls" in "application" menu?
I was just going through Android API and i did not find anything for above so just curious to know.
Thnx for replying