I think the only way is to extend dispatchTrackballEvent(MotionEvent
e)... there is not View.TrackballListener class
strange.
On 27 mrt, 16:13, TjerkW tje...@gmail.com wrote:
How do you register an activity to get trackball events?
On 25 mrt, 18:31, David Turner di...@android.com wrote:
How do you register an activity to get trackball events?
On 25 mrt, 18:31, David Turner di...@android.com wrote:
You need to register your activity to the system to tell it that you can
handle trackball events directly. If you don't, then the system will emulate
the events with key down/up
Hi,
Thanks David.
OnKeyDown() OnKeyUp() worked for me.
Thanks.
2009/3/27 TjerkW tje...@gmail.com
How do you register an activity to get trackball events?
On 25 mrt, 18:31, David Turner di...@android.com wrote:
You need to register your activity to the system to tell it that you can
You need to register your activity to the system to tell it that you can
handle trackball events directly. If you don't, then the system will emulate
the events with key down/up events.
I don't know the API to do that.
By the way, you can press Delete to enable track-ball mode in the emulator
(or
4 matches
Mail list logo