Are you looking for View.onTrackballEvent
http://developer.android.com/reference/android/view/View.html#onTrackballEvent(android.view.MotionEvent)

Additionally, the events that a trackball provides have listeners.
onClick, onLongClick, onFocusChange

http://developer.android.com/guide/topics/ui/ui-events.html

Hope this helps,
Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together

The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.

On Jul 30, 8:51 pm, zoerb <[email protected]> wrote:
> Is there a way to set a listener for a trackball event?  I've noticed
> that listeners can be set for most other view events, but not the
> trackball.  Is there a reason for this, or did I miss something?
>
> Thanks,
> Ryan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to