发明名称 |
METHOD FOR DELETING EMAIL AND TERMINAL DEVICE |
摘要 |
The present disclosure provides a method for deleting an email from a terminal device running Android system. The method includes: acquiring sliding trace information of a touch point; acquiring, if a sliding operation of the touch point meets a pre-determined condition, initial coordinates of the control in a first layout file of an email interface where the touch point is located, target coordinates of a deletion button in a second layout file, and a preset interface shift threshold; shifting, according to the interface shift threshold, the initial coordinates of the control in a preset direction, and shifting, according to the interface shift threshold and a width value of the deletion button, the deletion button in a preset direction to the target coordinates of the deletion button; and deleting the email when a touch point is detected in a deletion button region of the email interface. |
申请公布号 |
US2016266758(A1) |
申请公布日期 |
2016.09.15 |
申请号 |
US201514978878 |
申请日期 |
2015.12.22 |
申请人 |
Hisense Mobile Communications Technology Co., Ltd. |
发明人 |
LI Yuanyuan |
分类号 |
G06F3/0488 |
主分类号 |
G06F3/0488 |
代理机构 |
|
代理人 |
|
主权项 |
1. A terminal device, comprising
a touch screen, a processor-readable storage medium including a set of instructions for deleting an email; and a processor in communication with the storage medium and the touch screen, wherein when executing the set of instructions under an Android system, the processor is directed to: detect a sliding operation on a touch point on an email interface displayed on the touch screen in a preset direction; when the sliding operation on the touch point meets a pre-determined condition:
acquire initial coordinates of a control in a first layout file of the email interface where the touch point is located;acquire target coordinates of a deletion button in a second layout file of the email interface;acquire a preset interface shift threshold;shift, according to the interface shift threshold, the initial coordinates of the control in the first layout file in the preset direction, andshift, according to the interface shift threshold and a width value of the deletion button, the deletion button in a preset direction to the target coordinates of the deletion button; and deleting, when detecting a touch point in a deletion button region of the email interface, a target email that corresponds to the email interface. |
地址 |
Qingdao CN |