Method and device for controlling terminal with physical buttons
A technology for controlling terminals and buttons, applied in the electronic field, can solve problems such as low trigger detection accuracy, inability to complete touch operations, and easy false touches, and achieve the effect of overcoming low trigger detection accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0024] figure 1 It is a schematic flowchart of a method for controlling a terminal with a physical button provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation where the terminal is controlled according to a long press operation or a short press operation on a physical key on the terminal. The method can be executed by a device for controlling a terminal with a physical key. The device can be implemented by software and / or hardware, and can be equipped on a terminal, which includes but is not limited to: smart phones, tablet computers, personal digital assistants and other electronic devices with physical buttons and various application functions. join figure 1 The method for controlling a terminal with a physical button provided in this embodiment specifically includes the following operations:
[0025] Operation 110. Detect whether the terminal is in one of at least two set scene modes.
[0026] Wherein, the at least two scene ...
Embodiment 2
[0049] figure 2 It is a schematic flowchart of a method for controlling a terminal with a physical button provided in Embodiment 2 of the present invention. On the basis of the above-mentioned embodiments, this embodiment further optimizes the acquisition of the long press operation and / or short press operation of the physical button. see figure 2 The method for controlling a terminal with a physical button provided in this embodiment specifically includes the following operations:
[0050] Operation 210, detecting whether the terminal is in one of at least two set scene modes;
[0051] Operation 220. After detecting that the terminal is in a set target scene mode, detect whether there is a pressed physical button among at least one physical button on the current terminal;
[0052] If yes, perform operation 230 , otherwise continue to perform operation 220 .
[0053] Operation 230, detecting the duration of being pressed;
[0054] Operation 240, according to the size re...
Embodiment 3
[0069] image 3 It is a schematic flowchart of a method for controlling a terminal with a physical key provided in Embodiment 3 of the present invention. In this embodiment, on the basis of the above-mentioned embodiments, in the specific application scenario of "detecting that the target scene mode where the terminal is located is a black screen standby mode", the long press operation and / or short press operation of the physical button are obtained. Operation and execution control operations are further optimized. see image 3 , this embodiment provides your physical button control terminal method specifically includes the following operations:
[0070] Operation 310, detecting whether the terminal is in one of at least two set scene modes;
[0071] Operation 320. After detecting that the terminal is in the set black screen standby mode, obtain a long press operation on the first physical button on the terminal;
[0072] Operation 330. If the acquisition is successful, dr...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


