Patent ID: 8847910

Claim:
A method for controlling an application program, adapted to an electronic device having a touch screen comprising at least two separate touch areas such as a first touch area and a second touch area, and each touch area of the at least two touch areas comprises a plurality of touch points with each touch point having a x-axis coordinate value and a y-axis coordinate value, and the method comprising: detecting a first touch signal; obtaining based on the first touch signal a first plurality of touch points contained within the first touch area; determining for each touch point of the first plurality of touch points the x-axis coordinate value and the y-axis coordinate value; determining for the first touch area a first typical x-axis coordinate value and a first typical y-axis coordinate value, and the step of determining for the first touch area the first typical x-axis coordinate value and the first typical y-axis coordinate value comprises: for each touch point of the first plurality of touch points, defining a predetermined x-axis weight value for the x-axis coordinate value and a predetermined y-axis weight value for the y-axis coordinate value based on a specific user profile; for each touch point of the first plurality of touch points, multiplying the x-axis coordinate value with the predetermined x-axis weight value to generate a scaled x-axis coordinate value and multiplying the y-axis coordinate value with the predetermined y-axis weight value to generate a scaled y-axis coordinate value; and for the first touch area, determining the first typical x-axis coordinate value and the first typical y-axis coordinate value by averaging the scaled x-axis coordinate values of the plurality of touch points and by averaging the scaled y-axis coordinate values of the plurality of touch points; controlling the application program to execute a first function corresponding to the typical x-axis coordinate value and the typical y-axis coordinate value; detecting a second touch signal; obtaining based on the second touch signal a second plurality of touch points contained within the first touch area; determining for the first touch area a second typical x-axis coordinate value and a second typical y-axis coordinate value; and controlling the application program to execute a second function which is different from the first function according to the second typical x-axis coordinate value and the second typical y-axis coordinate value.