Your view needs to take input focus.

On Thu, Apr 2, 2009 at 4:38 PM, Keith Wiley <kbwi...@gmail.com> wrote:

>
> I have a dialog that sets its content view to a View object it creates
> (a derived View actually) and the view can detect touch events without
> any trouble, no callback registering or listeners or anything...but I
> can't get any trackball events.  I tried overriding onTrackballEvent()
> and even dispatchTrackballEvent().  Neither function fires when the
> trackball is moved or pressed while the dialog is the window.
>
> I see that one can register for clicks and various things, but how
> does one access trackball events?
>
> Thanks.
> >
>


-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to