logo       

[android-beginners] Re: Trackball listener: msg#01241

AndroidBeginners

Subject: [android-beginners] Re: Trackball listener


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 <ryan.zo...@xxxxxxxxx> 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 android-beginners@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
android-beginners-unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise