oh sorry i misread your post.

have you played with overriding View.setLongClickable() and 
View.setOnLongClickListener() ?

opening a dialog when the latter goes off should work.



>Jason,
>
>Thanks. But this is for opening a context menu on long press. I am
>trying to open the alert dialog instead.
>
>Abhishek
>
>On Dec 10, 2:53 pm, Jason Proctor <[email protected]>
>wrote:
>>  check Activity.registerForContextMenu()
>>
>>  and Activity.onCreateContextMenu()
>>
>>  works for me.
>>
>>
>>
>>
>>
>>  >would you be able to guide me to the right tutorial? I am unable to
>>  >find it
>>
>>  >Thanks,
>>
>>  >Abhi
>>
>>  >On Dec 10, 2:39 pm, Jason Proctor <[email protected]>
>>  >wrote:
>>  >>  yes.
>>
>>  >>  >Hi,
>>
>>  >>  >I am trying to use the long press option on the listview items to open
>>  >>  >a multi choice Alert Dialog. Is this possible?
>>
>>  >>  >Abhishek
>>
>>  >>  >--
>>  >>  >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
>>
>>  >>  --
>>  >>  jason.vp.engineering.particle
>>
>>  >--
>>  >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
>>
>>  --
>>  jason.vp.engineering.particle- Hide quoted text -
>>
>>  - Show quoted text -
>
>--
>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


-- 
jason.vp.engineering.particle

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