A fling is just an ACTION_DOWN, one or more ACTION_MOVE and an ACTION_UP. It has nothing to do with running in the emulator or not. (For what it's worth, a large part of the touch UI and APIs have been developed in the emulator.)
On Thu, Oct 30, 2008 at 4:18 PM, Rohit Mordani <[EMAIL PROTECTED]> wrote: > > I THINK the problem is that in the emulator, pressing the left mouse > button is more like a tap and that sets the MotionEvent.Action to be > ACTION_DOWN. As a result the onDown() method of the OnGestureListener > is called instead of onFling(). There might be a way to emulate the > fling in the emulator but I am not sure of it. If anyone finds out > then please let me know. That would then call onFling() correctly I > think > > Rohit > > > On Sep 22, 6:40 am, kingtut <[EMAIL PROTECTED]> wrote: >> Any luck in getting the onFling or onScroll event to fire? I am facing >> the same problem. >> >> On Sep 12, 5:14 pm, Mark Hansen <[EMAIL PROTECTED]> wrote: >> >> > Ok, I'll keep trying it.. for some reason the events aren't firing >> > such as Fling etc. >> >> > On Sep 12, 10:12 am, Kavi <[EMAIL PROTECTED]> wrote: >> >> > > ListView is a kind of View, so you should be able to attach the >> > > GestureDetector to your ListView as well. >> >> > > > -- Romain Guy www.curious-creature.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

