Image Number 7 for United States Patent #8130198.
The present invention provides a method for operating application programs in an electronic device, which has a keyboard unit, a touch sensing element and a display. First, the border information corresponding to a border area of the user interface provided by an application program is transmitted to a driving unit of the keyboard unit. Afterward, the keyboard unit is divided into at least two sensing areas corresponding to the operation areas of the user interface according to the border information. Next, the touch sensing element detects a touch on one of the sensing areas on the keyboard unit and then generates a responsive signal according to the touch. Finally, an action is performed on the corresponding operation area of the user interface according to the responsive signal.