An android-based x86 terminal button adaptation method and system
An x86 and button technology, which is applied in the field of button adaptation, can solve problems such as time-consuming, low efficiency of inter-process communication, and the inability to start the launcher application interface with hard buttons, so as to reduce button adaptation, reduce complexity, and facilitate unification management effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] This example provides an android-based x86-side button adaptation method, including the following steps:
[0027] Create a simulated button driver step, create a simulated button driver under the android kernel source code directory, construct a button event in the user space of android through the simulated button driver, and write it into the android kernel;
[0028] The key event writing step is to write the key event to the event device node in the android middleware;
[0029] The button acquisition step is to connect the hard button to a microcontroller independent of the X86 end, and the microcontroller collects the button to obtain the button value; and,
[0030] The processing step is to determine the key type sent by the microcontroller. If it belongs to the non-standard key of android, the key value is encapsulated and broadcast through the AM command of android, and the corresponding function interface is started after the broadcast is sent to the launcher; i...
Embodiment 2
[0048] Such as figure 2 As shown, this example also provides an android-based x86 end button adaptation system, including a microcontroller and a central processing unit at the X86 end, and the central processing unit and the microcontroller work independently; wherein the microcontroller is used to implement The key is collected to obtain the key value; the central processing unit is used to realize the processing of the key value. The android-based x86 terminal key adaptation system preferably adopts the android-based x86 terminal key adaptation method described in Embodiment 1.
[0049] figure 2 Among them, the central processor can be E640T, the microcontroller can be LPC1758, the Linux2 kernel is preferably Linux2.6.37 kernel, and the Android operating system is preferably Android2.3.4 operating system.
[0050] The further improvement of this example is that after the central processing unit receives the key value collected by the microcontroller, the middleware perf...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 