> 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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to