Processing method of processing type Handler of terminal equipment and electronic equipment
A technology of terminal equipment and processing method, which is applied in software design, software maintenance/management, software deployment, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0053] The embodiment of the present application provides a processing method of a terminal device processing type Handler, such as figure 1 Shown, including:
[0054] Step S110: When the first processing operation on the Webview side is detected, the first data information corresponding to the first processing operation is determined, and the first preset method is called through JSBridge to transfer the first data information to the corresponding client. The set method is the method agreed in advance by the client based on the registration mode of the Handler supported by the current first version information and the Webview.
[0055] Specifically, when the terminal device detects a user's processing operation (ie, the above-mentioned first processing operation) on a certain event (such as a like event, a focus event, etc.) on the Webview side, it determines the data corresponding to the processing operation Information, that is, the data information generated by the processing o...
Embodiment 2
[0071] The embodiment of the present application provides a processing method of a terminal device processing type Handler, such as figure 2 Shown, including:
[0072] Step S210: When the second processing operation on the client is detected, the second data information corresponding to the second processing operation is determined, and the second preset method is called through JSBridge to transfer the second data information to the corresponding Webview end. Suppose the method is the method pre-appointed with the client based on the registration mode of the Handler supported by the current second version information on the Webview side.
[0073] Specifically, when the terminal device detects a user's processing operation (ie, the above-mentioned second processing operation) on a certain event (such as a like event, a concern event, etc.) on the client side, it determines the data corresponding to the processing operation Information, that is, the data information generated by th...
Embodiment 3
[0083] image 3 This is a schematic diagram of the basic structure of a processing device of a processing type Handler of a terminal device provided in an embodiment of this application, such as image 3 As shown, the device 30 may include a first processing module 31 and a second processing module 32, wherein,
[0084] The first processing module 31 is used to determine the first data information corresponding to the first processing operation when the first processing operation on the Webview side is detected, and transfer the first data information to the corresponding client by calling the first preset method through JSBridge , The first preset method is the method pre-appointed by the Handler registration mode supported by the client based on the current first version information and the Webview end;
[0085] The second processing module 32 is used for the client to determine the first target Handler according to the first preset method, and execute the processing operation cor...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


