Patent ID: 8584032

Claim:
A computerized method of an mobile electronic device comprising a touch screen, the method comprising: generating a virtual keyboard including a plurality of virtual keys to display on the touch screen according to a display resolution of the touch screen, a size of the virtual keyboard being at three times of the display resolution, and the virtual keyboard being divided into nine keyboard areas, each of the keyboard areas being displayed one at a time, wherein each area occupies the entire touch screen; setting an angle threshold value of the electronic device to determine whether the virtual keyboard should be controlled to move; setting a movement amplitude and a movement direction of the virtual keyboard for a tilting angle of the electronic device according to the angle threshold value; recording an initial tilting angle when the electronic device is in an edit mode and the touch screen displays a middle keyboard area of the virtual keyboard, and reading the tilting angle of the electronic device at a predetermined time interval; calibrating the read tilting angle to acquire an actual tilting angle according to the initial tilting angle; confirming the movement amplitude and movement direction of the virtual keyboard according to the actual tilting angle and the angle threshold value, wherein the movement amplitude is set as horizontal pixels of the display resolution and the movement direction is set to be left or right, upon the condition that the tilting angle is greater than the angle threshold value or less than a negative angle threshold value and wherein the movement amplitude is set as vertical pixels of the display resolution and the movement direction of the virtual keyboard is set to be down or up, upon the condition that the tilting angle is greater than the angle threshold value or less than the negative angle threshold value; and controlling the virtual keyboard to move for displaying another keyboard area of the virtual keyboard according to the confirmed movement amplitude and towards the confirmed movement direction, wherein the movement amplitude and movement direction of each of the nine keyboard areas thus is based on the tilting angle and the angle threshold value.