Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for calling Linux screenshot tool by Android application

A tool and Android technology, applied in the Android field, can solve the problem of complex sending of screenshots, so as to improve user experience and avoid inflexible screenshots

Active Publication Date: 2022-04-22
KYLIN CORP
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a method for an Android application to call a Linux screenshot tool to solve the problem that the image content of a screenshot of a Linux operating system in an existing Linux-compatible Android system will not be directly called by the Android system, and needs to be realized by accessing the Linux file system, causing Android Complicated technical issues in sending screenshots in the environment

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
  • Method for calling Linux screenshot tool by Android application
  • Method for calling Linux screenshot tool by Android application
  • Method for calling Linux screenshot tool by Android application

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] For ease of understanding, see figure 1 and figure 2 , an embodiment of the method for the Android application provided by the application to call the Linux screenshot tool, including:

[0040]S11, the Linux operating system is prepared to be compatible with the environment of the Android system operation, and the Linux is compatible with the Android system. The Android system includes the Android application and the Android terminal event service program. The Linux operating system includes the Linux window program and the Linux screenshot tool, and the screen display of the Android application In the Linux window program.

[0041] S12. Establish a communication channel between the Linux operating system and the Android system set in the container.

[0042] S13. The Android application initiates a screenshot sharing request to the Linux screenshot tool through the Linux window program.

[0043] S14, the Linux screenshot tool takes a screenshot and saves the screens...

Embodiment 2

[0050] As a further improvement to Example 1, please refer to image 3 , the application provides another embodiment of the method for an Android application to call a Linux screenshot tool, including:

[0051] S21. Use docker to load the Android image on the Linux operating system, so that the Linux operating system and the Android system share the same Linux kernel.

[0052] S22. Start the Android system in the container to obtain a Linux compatible Android system, file intercommunication between the Linux operating system and the Android system, and a data sharing directory.

[0053] S23. Writing and displaying a Linux window program so that each Android application corresponds to a graphics window on the Linux side, and writing an event service program based on Unix domain socker at the Android side, and establishing a socker communication channel between the Linux window program and the event service program.

[0054] S24. Start the Android application and log in, and in...

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 method for calling a Linux screenshot tool by an Android application, the Linux is set to be compatible with an Android system, a communication channel between a Linux operating system and the Android system arranged in a container is established in the system, and the Android application calls the Linux screenshot tool to carry out customized screenshot and store the screenshot. The Linux window program sends a software package name and a screenshot path to the Android system through the socket, and the Android end event service program notifies the Android application to read a screenshot file according to the software package name and the screenshot storage path and call a sharing interface for sharing, so that the functions of calling the Linux screenshot tool by one key and sharing the screenshot are realized. The technical problem that in an existing Linux compatible Android system, the picture content of a Linux operating system screenshot cannot be directly called by the Android system and needs to be achieved by accessing a Linux file system, and consequently the screenshot sending link in the Android environment is complex is solved.

Description

technical field [0001] The application belongs to the technical field of Android, and in particular relates to a method for calling a Linux screenshot tool by an Android application. Background technique [0002] In recent years, with the growth of Android users and the maturity and development of Android software and hardware products, the Android application ecology has shown explosive development. In many fields, it has surpassed the Windows application ecology and iOS application ecology, and has become the most widely used application at present. ecology. With the rapid development of information technology, the country pays more and more attention to information security, and the domestic independent operating system based on the open source Linux operating system is growing stronger and stronger. However, the serious lack of ecological applications of the Linux operating system still plagues the real promotion of the Linux operating system. A major pain point in the ...

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/451G06F9/455G06F9/54
CPCG06F9/451G06F9/45558G06F9/543G06F9/542G06F2009/45562
Inventor 黄彩龙杨陈博寰马超黄晟李翔杨硕彭韬游远赵坤谢辉军
Owner KYLIN CORP