swipe action

1610 views
Skip to first unread message

Edward FOXON

unread,
Jan 5, 2014, 6:21:39 AM1/5/14
to mitappinv...@googlegroups.com
Hello,
Is it possible to add in appinventor a swipe to the left to go to page 2 for example ?

Scott Ferguson

unread,
Jan 5, 2014, 8:50:08 AM1/5/14
to mitappinv...@googlegroups.com
If you mean to go to the next screen, then yes.
The attached project uses the Canvas Flung block to test if the Xvel(ocity) of the swipe/fling is positive (flung to the right) or negative (flung to the left)
Screen1 and Screen2 are both filled with a canvas but you can restrict the area of the Canvas for the fling operation to be available.

---

Scott

SwipeToScreen.aia

Edward FOXON

unread,
Jan 5, 2014, 12:12:51 PM1/5/14
to mitappinv...@googlegroups.com
Thank you
Reply all
Reply to author
Forward
0 new messages