Any detailed document on the supported Javascript API in the default Android browser?

I am desperately looking for detailed documentation about the features supported by the Android browser and available from the JavaScript API, but still can't find them.

In particular, I would like to know the details: - the size of the implementation of the html5 canvas in Android on request. specification. - level of support for touch events and gestures. (I found: http://backtothecode.blogspot.com/2009/10/javascript-touch-and-gesture-events.html - but it's 1 year old - as well as the site quirksmode.org).

According to my tests, capturing multitouch events in JavaScript is not supported (in 2.2). But it would be easier to have an official document than a test approach. - and to a greater extent - the status of each HTML5 function in the default Android browser.

Any good pointers?

thank

Patrick

+3
source share
1 answer

The JavaScript functionality available in a browser WebViewor Android is the same as in other browsers - most of JavaScript 1.8 (see Mozilla Developer Network for useful information).

If you use WebView, not just a page in a browser, you can communicate between your Java application and your JavaScript running on your web page (you can use JavaScript to call Java methods and vice versa); see Using WebViews .

The Android browser (or WebView) does not support multi-touch JavaScript events (see Issue 11909 ).

Java WebView, JavaScript.

0

Source: https://habr.com/ru/post/1784683/


All Articles