Hi,

I have an activity which then set's a custom View class. Most of my
app's functionality is coded into the View. I detect motion events
from this class. However, when I overrided "onTrackballEvent", it
never gets called.

I then inserted this same method into my Activity class, and the
trackball event got processed. However, I need to process this event
in my View class (where my main update loop is).

I tried returning false from my Activity class onTrackballEvent
function, to see if it would then pass the Event to the View's event
function, but this did not work. I also tried implementing a onKeyUp
event in the View, to see if it got called if i returned false from
the Activity class, but it did not work.

Any help appreciated!

Thanks,
Ayan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to