Ok, I implemented onContextItemSelected and am now able to get ahold of the menu click.. the issue now is that I can't seem to get the position of the the ListView click.
In other words, the user holds down on the ListView which spawns the ContextMenu, but the value for the ListView position is not present? Thanks for the info.. was simple after all :) Mark On Sep 9, 3:19 pm, "Mark Murphy" <[EMAIL PROTECTED]> wrote: > > I've got the context menu showing up properly but can't seem to catch > > the onclick event on it. I'm guessing I'm missing something fairly > > obvious but I'm stumped.. anyone have any ideas? > > You could try this approach: > > 1. Calling registerForContextMenu() in your activity, passing in the ListView > > 2. Overriding onCreateContextMenu() in your activity, to build the menu > when needed (your menu.add() calls) > > 3. Overriding onContextItemSelected() in your activity, to get control > when a context menu choice is selected > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > _The Busy Coder's Guide to Android Development_ Version 1.2 Published! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---