Mark,

Dang, I just looked it up (http://developer.android.com/intl/fr/guide/
topics/ui/dialogs.html) and you are right! It's an alertdialog using
the setitems method.

Ken

On Jan 22, 9:54 am, Ken H <hunt1...@gmail.com> wrote:
> But an AlertDialog with selectable items? I thought you could just do
> "Yes", "No", "Ok", "Cancel", etc. and a message above with those.
>
> Well I guess my question should be how do you launch a ContextMenu-
> like menu from a contextmenu?
>
> Ken
>
> On Jan 22, 3:06 am, "Mark Murphy" <mmur...@commonsware.com> wrote:
>
>
>
> > > How can I launch a contextmenu from a contextmenu?
>
> > > I'm trying to replicate the MediaPlayer action that happens when you
> > > long click a song, then click "Add to playlist" in the resulting
> > > contextmenu. When you click that menu item, another contextmenu pops
> > > up with "Add to playlist" as the title, and "Current playlist", "New",
> > > and however-many-playlists-you-have defined after that.
>
> > The second one might just be an AlertDialog.
>
> > --
> > Mark Murphy (a Commons Guy)http://commonsware.com
> > Android App Developer Books:http://commonsware.com/books.html

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to