Comment Addition Method and Electronic Device
AssigneeHuawei Technologies Co., Ltd.
InventorWendi Cai
Life of this patent
Estimating the term…
Abstract
A comment addition method includes displaying, by an electronic device, a first interface of a first application, entering, by the electronic device, a comment mode in the first interface in response to a preset trigger operation, displaying, by the electronic device in the first interface and in the comment mode, a first comment added by a user, displaying, by the electronic device, a second interface of a second application, entering, by the electronic device, a comment mode in the second interface in response to the trigger operation, and in the comment mode, displaying, by the electronic device in the second interface, a second comment added by the user.
Claims20
A comment addition method implemented by an electronic device, wherein the comment addition method comprises:
- displaying a first interface of a first application on a display;
- receiving a preset trigger operation;
- entering, in response to the preset trigger operation, a comment mode in the first interface;
- receiving a first input event on the display while in the comment mode;
- determining whether the first input event is from a stylus or a finger of a user;
- displaying, in the first interface, a first comment in response to the first input event when the first input event is from the stylus;
- displaying a second interface of the first application in response to the first input event when the first input event is from the finger;
- receiving, from the finger, a second input event on the first interface in the comment mode;
- and
- editing or updating, in response to the second input event, content in the first interface.
An electronic device comprising:
- a touchscreen comprising a display and a touch sensor;
- a processor coupled to the touchscreen and configured to cause the electronic device to:
- display a first interface of a first application on the display;
- receive, via the touch sensor, a preset trigger operation;
- enter a comment mode in response to the preset trigger operation;
- receive, via the touch sensor, a first input event in the comment mode;
- display, using the display, a first comment in response to the first input event when the first input event is from a stylus on the display;
- receive, via the touch sensor, a second input event in the comment mode;
- display a second interface in response to the first input event when the second input event is from a finger of a user on the display;
- receive, via the touch sensor, a saving operation from the user;
- saving, in response to the saving operation, a picture and an address of the first application, wherein the picture comprises a first content of the first interface, a second content of the second interface, and the first comment.
A computer program product comprising computer-executable instructions that are stored on a non-transitory computer-readable medium and that, when executed by a processor, cause an electronic device to:
- display a first interface of a first application on a display;
- receive a preset trigger operation;
- enter, in response to the preset trigger operation, a comment mode in the first interface;
- receive a first input event on the display and in the comment mode;
- determine whether the first input event is from a stylus or a finger of a user;
- display, in the first interface, a first comment in response to the first input event when the first input event is from the stylus;
- display a second interface of the first application in response to the first input event when the first input event is from the finger;
- receive, from the finger, a second input event on the first interface in the comment mode;
- and
- edit or update, in response to the second input event, content in the first interface.
Dependencies are inferred from the claim text.