On Thu, Aug 4, 2011 at 8:07 PM, MobileVisuals <[email protected]> wrote: > My app uses a viewflipper to swith between a standard SurfaceView > and a GLSurfaceView. It works like it should on my Samsung Galaxy S > device. > > The problem is that onTouch() in the activity class gets called 2 > times for > every touch. This does not occur on my mobile device, but since it > happens on the emulator, > I suspect that this will happen on other devices. What could be the > reason that > onTouch gets called 2 times for every touch in the emulator?
Once you click the mouse button and once you release it, probably. Dump the event action to check (event.getAction()). -- 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

