longclick() : how much time it will hold the button?Is it possible to perform a long click with a time stamp.
Answer 1:
Use swipe (int startX, int startY, int endX, int endY, int steps) to perform long click for a time you wish. The last parameter steps determines the time. For a 100 steps, the swipe will take about 1/2 second to complete. The greater the value of steps, the longer the duration of click and release.