[android-developers] Re: catching a trackball event

2009-03-30 Thread Ingersol
If you using emulator, make sure you setting trackball mode on. You can do it by clicking F6 (permanent mode) or pressing delete key on your keyboard (temporary mode). Then in top left corner of emulator screen you can see trackball icon. --~--~-~--~~~---~--~~ You

[android-developers] Re: catching a trackball event

2009-03-19 Thread Dianne Hackborn
Make sure your view has input focus. On Wed, Mar 18, 2009 at 7:51 PM, djr ryand...@gmail.com wrote: I have tried all day to capture a trackball event in a View. Basically I want to use the trackball to move a Sprite in a 2D game left and right. The onTouchEvent works perfectly well in the