[android-developers] Re: How to simulate a TrackBall Event in emulator?

2009-07-28 Thread Nightwolf
Use event.getX() and event.getY(). Values are > 0 for one direction and < 0 for another. On Jul 27, 10:48 pm, hap 497 wrote: > On Sat, Jul 25, 2009 at 2:49 AM, lucky4me wrote: > > > See "Controlling the Emulator" > > >http://developer.android.com/guide/developing/tools/emulator.html#con... > >

[android-developers] Re: How to simulate a TrackBall Event in emulator?

2009-07-27 Thread hap 497
On Sat, Jul 25, 2009 at 2:49 AM, lucky4me wrote: > > See "Controlling the Emulator" > > http://developer.android.com/guide/developing/tools/emulator.html#controlling > > Toggle trackball mode - F6, then you can use mouse as trackball > Thank you. But how can I tell if the track ball event is mov

[android-developers] Re: How to simulate a TrackBall Event in emulator?

2009-07-25 Thread lucky4me
See "Controlling the Emulator" http://developer.android.com/guide/developing/tools/emulator.html#controlling Toggle trackball mode - F6, then you can use mouse as trackball On Jul 25, 11:45 am, hap 497 wrote: > i don't understand the answer. How can I do that on the emulator manually? > E.g. I

[android-developers] Re: How to simulate a TrackBall Event in emulator?

2009-07-24 Thread hap 497
i don't understand the answer. How can I do that on the emulator manually? E.g. I have implemented dispatchTrackBallEvent() of my View. What can i do to in to emulator so that function get called during debugging? On Fri, Jul 24, 2009 at 4:09 PM, Fred Grott(shareme) wrote: > > Mock testing see a

[android-developers] Re: How to simulate a TrackBall Event in emulator?

2009-07-24 Thread Fred Grott(shareme)
Mock testing see apiDemos for details..all the cool kids are doing it Fred Grott http://mobilebytes.wordpress.com On Jul 24, 1:48 pm, hap 497 wrote: > Hi, > Can you please tell me how can I simulate a TrackBall Event in emulator? > I just the left/right black button in the middle of the emula