You could use AlertDialog to show a dialog similar to the ones shown by the
context menu.  Check out API Demos > App > Dialog > List dialog.

jason



On Wed, Jan 7, 2009 at 5:03 PM, Dan <[email protected]> wrote:

>
> Hi,
>
> I was wondering if there was a way to create a context menu (or any
> menu for that matter) in response to something like a button click
> versus hooking into the phone's menu press or a push and hold event? I
> need to be able to create a context menu and show that menu when the
> user clicks on a button in the activity.
>
> Thanks In Advance,
> Dan
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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