I am developing a user guide tutorial for my app (a softkeyboard) and basically in the tutorial I need to programmatically simulate a set of several hand gestures including "click", "swipe", "long press and swipe" etc. I have no basic idea about how to achieve this and I have searched through the Internet but still did not get any useful findings.
So is there any one who kindly give me some advice on how to achieve this, if possible, please also give me a simple code example on this. Thanks so much, please help.
You don't need to simulate hand gestures for your tutorial. Just pretend that hand gestures were executed. For instance, say you want to teach the user to long press on a button to trigger some action. In that case, you could display a graphic or animation that directs users to the button and indicates a long press. You could, for instance, show an image of a finger that presses on the button. Then, trigger the action directly. You don't need to simulate the gesture, just go ahead and trigger the action directly.