I’m testing a program on an HTC desire phone. There’s a special button on the right of the menu button. It’s a circle. It’s used to navigate. You can also press it.
I would like to detect when someone presses it over a row of my ListView.
I did try putting in a convertView.setOnKeyListener((OnKeyListener)..., but it doesn’t work. Any ideas?
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 : android onClick event not firing