摘要 |
A method for screen control on a touch screen is disclosed. The method is used for controlling an on-screen object on a touch screen. The method includes: determining whether an object touches a location at least two times or whether the object stays at a location for a predefined period; in response to an affirmative determination, setting the location as a starting point; detecting an ending point; computing a traveling distance and a traveling direction according to the starting point and the ending point; determining a action speed and a action direction of the on-screen object, wherein the action speed is proportional to the traveling distance and the action direction is parallel to the traveling direction; and moving the on-screen object according to the action speed and the action direction.
|