aspose file tools*
The moose likes Android and the fly likes How to implement OnGestureListener? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "How to implement OnGestureListener?" Watch "How to implement OnGestureListener?" New topic
Author

How to implement OnGestureListener?

manish ghildiyal
Ranch Hand

Joined: Jan 12, 2013
Posts: 136
Hi,

I am working on a game based exactly on same architecture as used in SuperJumper game of book 'Beginning Android Games'.
I want to have swipe functionality. So I have implemented OnGestureListener.
So I have put the OnGestureListener instance in AndroidInput just like we have for TouchHandler.
But onFling() is not getting called.


Where am I going wrong?
Please advise.

I have also posted same query on forum for Badlogic games(http://badlogicgames.com/forum/viewtopic.php?f=21&t=11603).

Manish
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to implement OnGestureListener?