How to implement context menu on key press instead of long click/tap?

To open the context menu, call openContextMenu() . To trigger it via a key, override onKeyDown() or onKeyUp() .

I have actually done this same thing for one of my apps because it made sense for my app. The best and easiest way to do this is to override onListItemClick() for your listActivity. This is better than onKeyDown() because it pertains specifically to the list item (view) in question and will only apply to the list items, and not the rest of your screen.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions