CPC A63F 13/2145 (2014.09) [A63F 13/52 (2014.09); G06V 40/20 (2022.01); H04N 23/63 (2023.01)] | 15 Claims |
1. A method for application running, the method comprising:
displaying, by an electronic device that includes at least one camera and a touch screen, a first picture of a first application, wherein the first application supports a user controlling the first application through a touch operation on the touch screen;
receiving, by the electronic device, an operation in which the user enables a first function;
enabling, by the electronic device, the first function in response to the operation in which the user enables the first function, wherein the first function is a function of which the first application supports the user controlling the first application through a motion sensing action;
adding, by the electronic device, a layer to the first picture of the first application, wherein the layer comprises a non-transparent region and a transparent region, and the non-transparent region displays a setting interface of the first function;
capturing, by the electronic device, a first image of the user by using the at least one camera, and recognizing a first motion sensing action of the user in the first image;
determining, by the electronic device, first touch operation information corresponding to the first motion sensing action, wherein the first touch operation information comprises a type of a first touch operation and a position at which the first touch operation is performed on the touch screen; and
performing, by the electronic device, an operation corresponding to the first touch operation in response to determining the first touch operation information corresponding to the first motion sensing action.
|