Hello Guys,
I am trying to generate a message when a user swipes over an image on my Android app. I have tried mouseOver and others in the dictionary. These dont seem to work. Any help will be appreciated.
Many Thanks,
Matthew.
Swipe Over Image
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Swipe Over Image
Look up "touchStart" and "touchEnd" - you will need to check the position of the touches and check the difference to determine how far the the move has been and whether it qualifies as a swipe. If it does, then you can run your code that responds to what you hoped might be a swipe message.
Re: Swipe Over Image
Could someone offer an example of this?
Many Thanks,
Matthew.
Many Thanks,
Matthew.
Re: Swipe Over Image
Hello Guys!!
I have figured it out with the last post!!
Thanks!
Matthew.
I have figured it out with the last post!!
Thanks!
Matthew.