[android-developers] Re: Long Press ListView item to open AlertDialog

2009-12-10 Thread Abhi
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 jason.android.li...@gmail.com 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?

[android-developers] Re: Long Press ListView item to open AlertDialog

2009-12-10 Thread Jason Proctor
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 jason.android.li...@gmail.com wrote: yes. Hi, I am trying to use the

[android-developers] Re: Long Press ListView item to open AlertDialog

2009-12-10 Thread Abhi
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 jason.android.li...@gmail.com wrote: check Activity.registerForContextMenu() and Activity.onCreateContextMenu() works for me.

[android-developers] Re: Long Press ListView item to open AlertDialog

2009-12-10 Thread Jason Proctor
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.