Window interaction method and device for compatibly running Android application on Linux

An interaction method and window technology, applied in the field of window interaction, can solve problems such as reducing the sense of incongruity, inability to support Android application window window operation, etc., and achieve the effect of soft keyboard input

Active Publication Date: 2021-01-26
北京技德系统技术有限公司
View PDF7 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In view of this, the present invention provides a window interaction method and device for compatible running of Android applications on Linux, the main purpose of which is to solve the problems in the prior art with respect to the Android operating environment compatible with running on the Linux system in the

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Window interaction method and device for compatibly running Android application on Linux
  • Window interaction method and device for compatibly running Android application on Linux
  • Window interaction method and device for compatibly running Android application on Linux

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0066]Example 1

[0067]figure 1 It is an implementation principle diagram of a window interaction method compatible with running Android applications on Linux provided by an embodiment of the present invention. It can be seen from the figure that the method in this embodiment has the following steps:

[0068]S1 establishes a communication step to establish a Socket communication interface between the Linux side and the Android side of the container;

[0069]S2 The Linux side triggers the step of updating the external window. On the Linux side of the container, the external window operation of the Android application display window is captured through the Display_window of the Linux framework, the external window is updated and displayed, and the first window operation information is generated; A window operation information is sent to the Android side of the container through the Socket communication interface;

[0070]The S3 Linux side triggers the update of the internal image step. The event...

Example Embodiment

[0111]Example 2

[0112]Further, as a further improvement to Embodiment 1, the present invention also provides a window interaction method compatible with running Android applications on the Linux operating system, and processing window operation instructions issued from the Android application.

[0113]byfigure 1 It can be seen that the method of this embodiment also has the following steps:

[0114]S4 The Android side triggers the update of the internal image step, obtains the window operation instruction issued from the Android application on the Android side of the container, generates a second internal image, and sends the second internal image to the Linux side of the container for display; by the event processing interface Generate the second window operation information according to the window operation instruction issued from the Android application; send the second window operation information to the Linux side of the container through the Socket communication interface;

[0115]The S...

Example Embodiment

[0125]Example 3

[0126]Further, as an implementation of the method shown in the foregoing embodiment, another embodiment of the present invention also provides a window interaction device compatible with running Android applications on the Linux operating system. This device embodiment corresponds to the foregoing method embodiment. For ease of reading, this device embodiment will not repeat the details of the foregoing method embodiment one by one, but it should be clear that the device in this embodiment can correspondingly implement the foregoing method implementation Everything in the example. The device of this embodiment has the following modules:

[0127]One: Linux-side window management module, which corresponds to the Linux-side window management process of each application scenario in Embodiment 1.

[0128]Two: Android-side application management module, which corresponds to the Android-side application management process of each application scenario in Embodiment 1.

[0129]Three: e...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a window interaction method and device for compatibly running an Android application on Linux, and belongs to the technical field of computers. The method comprises the steps of compatibly operating an Android application in a Linux operating system in a container mode, and establishing a Socket communication interface between the Linux side and the Android side of a container; capturing a window body operation on an Android application display window by the Linux side, and updating and displaying the window body; and sending information, needing to be updated and displayed, of the corresponding image in the window to the Android side through the Socket communication interface, updating an internal image by the Android side, and sending the internal image to the Linux side for display, thereby achieving synchronous updating of the window body of the display window and the internal image, and realizing interactive operation of the window. The main purpose is to solve the problem that in the prior art, for an Android running environment compatibly running on a Linux system in a container form, a current standard Linux window cannot support window operation commonly used by an Android application window, such as window rotation, a soft keyboard and window rollback, and improve the smoothness of operating an Android application by a user in a heterogeneous system.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a window interaction method and device for compatible running of Android applications on a Linux operating system. Background technique [0002] With the termination of Windows7 service, the Linux desktop system has been more popularized. How to make Andreid applications run compatible on the Linux operating system, so that many mobile phone-only applications can run on the Linux desktop system, is an urgent problem to be solved. As we all know, Android is an operating system designed for smartphones and other handheld devices. Android itself is designed for touch operations, while the interaction logic between windows in the Linux desktop is based on keyboard and mouse operations. It is the interaction logic of desktop multi-window, and the realization of Android application form interaction is fundamentally different from that of Linux. It is reflected in the following aspec...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/445G06F9/451
CPCG06F9/44505G06F9/44536G06F9/451
Inventor 姚宏亮赵威舒三毛周蜜张耀斌
Owner 北京技德系统技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products