Key response method and device for Android system
An Android system and button technology, applied in the direction of program control devices, execution examples, etc., can solve the problems of link time extension and slow button response speed, and achieve the effect of saving link delay
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] like figure 1 As shown in the figure, a flowchart of a key response method for an Android system provided by an embodiment of the present invention is applied to a Linux real-time operating system, wherein the Linux real-time operating system presets at least two custom device nodes, The method includes:
[0043] S11: Receive the specified key information directly sent by the application through the internal SO;
[0044] S12: Pass the specified key information to the Linux kernel driver through the custom device node;
[0045] S13: Receive the button information to be responded directly sent by the application program through the internal SO;
[0046] S14: The Linux kernel driver obtains the button information to be responded;
[0047] S15: Determine whether the key to be responded is a designated key according to the key information, if the key to be responded is a designated key, execute step S17, and if the key to be responded is not a designated key, execute step...
Embodiment 2
[0052] like figure 2 As shown, a flowchart of another key response method for an Android system provided by an embodiment of the present invention, the method includes:
[0053] The method is applied to a Linux real-time operating system, wherein the Linux real-time operating system presets at least two custom device nodes, and the method includes:
[0054] S21: Receive the specified key information directly sent by the application program through the internal SO (dynamic library) method;
[0055] S22: Pass the specified key information to the Linux kernel driver through the custom device node;
[0056] S23: Receive the button information to be responded directly sent by the application through the internal SO;
[0057] S24: The Linux kernel driver obtains the button information to be responded;
[0058] S25: according to the key information, determine whether the key to be responded is a designated key, if the key to be responded is a designated key, then go to step S27, ...
Embodiment 3
[0082] like Image 6 As shown, an embodiment of the present invention also provides a key response device for an Android system, which is applied to a Linux real-time operating system, wherein the Linux real-time operating system presets at least two custom device nodes, and the device includes:
[0083] The designated key information receiving module 61 is used for receiving designated key information directly sent by the application program through the internal SO;
[0084] The Linux kernel transfer module 62 is used to transfer the specified key information to the Linux kernel driver through the custom device node;
[0085] The button information receiving module 63 to be responded is used to receive the button information to be responded directly sent by the application program by means of the internal SO;
[0086] The key information acquisition module 64 to be responded, the Linux kernel driver acquires the key information to be responded;
[0087] The judgment module ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


