views:

27

answers:

1

Hi,

Im testing a software on HTC desire phone. There is a special button on the right of the menu button. Its a circle. Its used to navigate and you can also press it.

I would like to detect when someone press it over a row of my listview.

I did put a convertView.setOnKeyListener((OnKeyListener)... but its doesnt work. Any ideas ?

A: 

Apparently the good way is to listen to the OnClick event from the listview and not from the adapter... Because there is a difference...

See here : http://stackoverflow.com/questions/3751528/android-onclick-event-not-firing

Fabien