This did the trick.

I did just that and it pulled I have it now.. thanks for the tips
guys.

Mark

On Sep 9, 6:29 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote:
> Oh and if you want to know what item the user long pressed to create
> the context menu, you cannot use getSelection(), because selection
> does not exist in touch mode. Instead, in onContextItemSelected(), you
> can get the ContextMenuInfo, cast it to AdapterContextMenuInfo, and
> this will give you the target view, the position and the id.
>
>
>
> On Tue, Sep 9, 2008 at 3:19 PM, Mark Hansen <[EMAIL PROTECTED]> wrote:
>
> > Yea I tried both of those, neither seem to return the position on the
> > ListView.
>
> > It appears onListItemClick is never called when I when I'm creating my
> > ContextMenu.
>
> > On Sep 9, 5:59 pm, "Mark Murphy" <[EMAIL PROTECTED]> wrote:
> >> > In other words, the user holds down on the ListView which spawns the
> >> > ContextMenu, but the value for the ListView position is not present?
>
> >> If this is a ListActivity, you could try getSelectedItemId() or
> >> getSelectedPosition().
>
> >> --
> >> Mark Murphy (a Commons Guy)http://commonsware.com
> >> _The Busy Coder's Guide to Android Development_ Version 1.2 Published!
>
> --
> Romain Guywww.curious-creature.org
--~--~---------~--~----~------------~-------~--~----~
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