0

Possible Duplicate:
Disable trackball click in Android

Is there any way to completely disable trackball interaction programmatically? I don't need my app to respond trackball events. At the moment I put

public boolean dispatchTrackballEvent(final MotionEvent ev) { return true; }

in my activity, but still sometimes i receive these event. Please help! Thanks in advance.

Community
  • 1
  • 1
Orest
  • 1,857
  • 5
  • 19
  • 27
  • Yeah, but there is no working solution there – Orest Oct 22 '12 at 13:02
  • OP said `Edit: here's a solution`. And if you saw the question, then you should have posted there I think. – shkschneider Oct 22 '12 at 13:03
  • The question there was related with disabling events on single progress bar. I need global solution to disable trackball all over my app. I don't think these question are so related – Orest Oct 22 '12 at 13:07

0 Answers0