WebView deep customization method and device, and electronic equipment
A deep, interface-level technology, applied in the direction of version control, program code conversion, software deployment, etc., can solve the interface layer interface definition and implementation can not be added or modified, can not achieve personalized customization, complex operation and other problems, to avoid mutual Effects of Conflict and Pollution
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment 1
[0078] The embodiment of the present invention provides a method for deeply customizing WebView. On the basis of the System WebView channel, a Custom WebView channel completely parallel to the System WebView channel is set. The Custom WebView channel includes an independent Custom WebView interface layer and an independent Custom WebView The implementation layer, the Custom WebView interface layer is provided to application developers in the form of an independent jar package, the Custom WebView implementation layer is compiled and generated independently from Chromium, and the interface layer invokes the core module of the browser through reflection. The Custom WebView interface layer is provided to application developers in the form of an independent jar package (the package name is custom.webkit.WebView). The Custom WebView implementation layer is provided in the form of an independent APK (Custom WebView APk). The Custom WebView interface layer calls the Glue layer of the C...
Embodiment 2
[0135]In a preferred embodiment of the present invention, the present invention provides a device for deeply customizing WebView. On the basis of the System WebView channel, the Custom WebView interface layer and the Custom WebView implementation layer are customized, and a system completely parallel to the System WebView channel is set. The Custom WebView channel, the Custom WebView channel includes an independent Custom WebView interface layer and an independent Custom WebView implementation layer. The Custom WebView interface layer is provided to application developers in the form of an independent jar package. The Custom WebView implementation layer is independently compiled and generated outside Chromium. The interface The layer calls the core Blink module through reflection.
[0136] Furthermore, the Custom WebView channel is set to be constructed based on the System WebView channel using the quick transformation method.
[0137] Further, the rapid transformation method ...
Embodiment 3
[0165] This embodiment provides an electronic device, including a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the program, any one of the methods above is implemented. This embodiment provides a computer device, including a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the program, any one of the methods above is implemented.
[0166] The computer device in this embodiment includes: a processor, a memory, and a computer program stored in the memory and operable on the processor, for example, a deeply customized WebView program. When the processor executes the computer program, the steps in the foregoing embodiments of the data synchronization method are implemented. Alternatively, when the processor executes the computer program, the functions of the modules / units in the above device embodiments are implemented.
[0167]...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More