File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to implement OnGestureListener?
 
Similar Threads
What's the next aim after SCJD?
360� movement
Find windows special folders
creating Chat using Servlets
"Developing Games in Java" / Gaming Forum