A way to extend javascript objects
A java layer and object technology, applied in the web application field of the Android system, can solve the problems of high maintenance cost and poor code versatility, and achieve the effect of good versatility and improved development efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0028] In the application development framework of the Android system, a WebView component is provided for developers. WebView is a browser component based on the WebKit kernel. WebKit is a browser kernel developed in C++. It is used as a third-party library in the Android system. WebKit is a layout and rendering engine for web pages, rendering HTML / CSS / JavaScript scripts into visible pages , WebView is the Java layer view class of WebKit. Through the WebView component, you can implement the Web browsing function in the Android application, process the network request, and display the page. WebView provides the addJavascriptInterface interface, which can register Java objects in WebView, and call Java objects through JavaScript objects in the page. But if you want JavaScript to call the interface of C++ components, you need to complete the mutual calling of Java and C++.
[0029] In the Android system, mutual calls between Java and C++ can be realized. Android NDK (NativeDe...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


