Keyboard optimization processing method, storage medium, electronic device and system

A processing method and a processing system technology, applied in keyboard optimization processing methods, electronic equipment and systems, and storage media, can solve the problems of low efficiency of monitoring and registration notifications, and achieve the effect of simplifying codes

Active Publication Date: 2019-10-25
WUHAN DOUYU NETWORK TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, it is less efficient for each controller to listen and register for notifications
And there are hundreds of controllers in a general project. If each controller has the need to pop up a mobile subview similar to the keyboard, it needs to listen to notifications hundreds of times, so that the entire mobile phone application software needs to be set with a lot of repetitive codes.

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
  • Keyboard optimization processing method, storage medium, electronic device and system
  • Keyboard optimization processing method, storage medium, electronic device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.

[0025] see figure 1 As shown, the embodiment of the present invention provides a keyboard optimization processing method:

[0026] Create a keyboard parameter calling function, a first callback function and a second callback function in the category of the controller, and define the parameters of the keyboard parameter calling function; the parameters of the keyboard parameter calling function include keyboard coordinate value parameters, keyboard position change parameters and keyboard actions End parameter; the first callback function is used to call back the keyboard coordinate value parameter, and the second callback function is used to call back the keyboard position change parameter;

[0027] Call the function through the keyboard parameters to obtain the notification center of the system and monitor the keyboard notification, and then ...

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 keyboard optimization processing method, storage medium, electronic equipment and system, and relates to the technical field of mobile terminal applications. The invention creates a keyboard parameter calling function, a first callback function and a second callback function by classifying controllers, It only needs to monitor the keyboard notification of the system, and call back the parameters in the monitored keyboard notification to the classification of the controller, allowing each controller to be reused, and then realize the pop-up of the keyboard through the first callback function and the second callback function and the controller And hide all the actions, there is no need to define a notification in each controller to monitor the keyboard pop-up and hidden events, which simplifies the code development required to use the mobile phone application software to monitor the notification.

Description

technical field [0001] The present invention relates to the technical field of mobile terminal applications, in particular to a keyboard optimization processing method, storage medium, electronic equipment and system. Background technique [0002] With the rapid development of mobile phone terminals, the design of mobile phone application software products is no longer limited to the realization of functions. In actual development, users often need to display keyboards. When displaying keyboards, sometimes it is necessary to adjust the style of the interface, modify The position of the subview of the interface, when it is necessary to adjust the interface according to the pop-up and hide of the keyboard, the conventional solution is that each controller defines a notification to monitor the keyboard pop-up and hide events, and trigger the corresponding when pop-up and hide callback function. However, it is less efficient for each controller to listen and register for notifi...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/0488G06F9/451G06F9/54H04M1/725H04M1/7243
CPCG06F3/04886G06F9/542H04M1/7243
Inventor 汪刚张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH 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