Android Webview development, can call javascript, but can not send ajax request, why?

1. Using Android webview development, the js and click events in the written html can be triggered, but the ajax request cannot be sent. Why?


WebView is a webkit engine-based control that displays web pages. It only implements some of the browser's functions, such as access to functions and operations dom, but no XMLHttpRequest object.

Menu