Touch implementation method and device used for Android system

A technology of an Android system and an implementation method, which is applied in the field of information processing, can solve problems such as the difficulty in realizing the multi-finger writing function, the slow speed of the transparent pen following the hand, etc., and achieve the effects of solving writing difficulties, improving the speed of following fingers, and improving the response speed.

Active Publication Date: 2017-07-07
GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present invention provides a touch control method and device for Android system to solve the technical problems in the prior art that the speed of the transparent pen following the hand is slow and the multi-finger writing function is difficult to realize

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
  • Touch implementation method and device used for Android system
  • Touch implementation method and device used for Android system
  • Touch implementation method and device used for Android system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0022] Embodiment 1 of the present invention provides a touch control method for an Android system. The method can be executed by a touch-control implementation device for an Android system, wherein the device can be implemented by hardware and / or software, and generally can be integrated in a terminal device (such as a smart tablet) with a touch trajectory drawing function. figure 1 It is a schematic flowchart of a touch control method for an Android system provided by Embodiment 1 of the present invention, as shown in figure 1 As shown, the method includes:

[0023] S101. The java layer of the Android system acquires path information of a user's touch operation.

[0024] Specifically, the java layer of the Android system can obtain the path information of the user's touch operation in real time, or obtain the path information of the user's touch operation at intervals of a set period. Considering the amount of computation and memory space required for obtaining the path in...

Embodiment 2

[0033] figure 2 It is a schematic flowchart of a method for implementing touch control in an Android system provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above embodiments. Further, before the native layer of the Android system obtains the path information forwarded by the java layer, it also includes: the native layer of the Android system is based on the Android system The initialization operation of the java layer determines the basic drawing information of the touch track, the basic drawing information includes frame buffer information, global bitmap information and transparent pen object information required for drawing the touch track; the native layer according to the Create a temporary bitmap based on the global bitmap information, and determine a relationship graph between touch points and path information according to the temporary bitmap.

[0034] Further, the native layer draws the touch track of the touch ope...

Embodiment 3

[0062] Embodiment 3 of the present invention provides a touch control device for an Android system. The device can be realized by software and / or, and is generally integrated in a terminal device (such as a smart tablet) with a touch trajectory drawing function, and the touch function of the Android system can be realized by executing the touch implementation method for the Android system. Figure 4 Shown is the structural block diagram of the touch implementation device for the Android system provided by this embodiment, as Figure 4 As shown, the device includes:

[0063] The java layer 401 is used to obtain the path information of the user's touch operation;

[0064] The native layer 402 is configured to acquire the path information forwarded by the java layer 401, and draw the touch track of the touch operation according to the path information;

[0065] The display screen 403 is configured to display the touch track drawn by the native layer 402 to the user through the ...

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 touch implementation method used for an Android system, and the Android system. The method comprises the following steps that: the java layer of the Android system obtains the path information of a user touch operation; the native layer of the Android system obtains the path information forwarded by the java layer; and the native layer draws the touch trajectory of the touch operation according to the path information, and displays the touch trajectory to users through a screen. By use of the embodiment of the invention, through the above technical scheme, the touch trajectory of the user touch operation is drawn according to the path information of the user touch operation through the native layer of the Android system, the finger following speeds of a single-finger transparent pen and a multi-finger transparent pen can be improved, the problem that the multi-finger transparent pen is difficult in writing is solved, and the multi-finger transparent pen can be guaranteed to normally write so as to guarantee the implementation of the multi-finger touch function of the Android system and improve the response speed of the Android system and the drawing speed of the user touch trajectory.

Description

technical field [0001] The present invention relates to the technical field of information processing, in particular to a method and device for implementing touch control in an Android system. Background technique [0002] With the development of information processing technology, large-scale smart tablets are gradually replacing traditional teaching blackboards as one of the display devices in the field of education. Transparent pens (tools that can be used to write and annotate in a transparent view) are commonly used in large-scale smart tablets. Marking tools, people can mark, annotate or write on the text or other displayed content in the smart tablet through a transparent pen. [0003] In the prior art, generally by starting the application corresponding to the transparent pen at the java layer of the Android system, the java layer calls and modifies the frame buffer (framebuffer) of the Android system through an application programming interface (API, Application Prog...

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): G06F3/0488
CPCG06F3/04883
Inventor 姜雷
Owner GUANGZHOU SHIYUAN ELECTRONICS CO LTD
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