We created PhoneGap plugins to link with our Javascript code with our Java code. I know that Android also has the addJavascriptInterface function. Documentation here: http://developer.android.com/reference/android/webkit/WebView.html#addJavascriptInterface(java.lang.Object , java.lang.String)
addJavascriptInterface
The difference between the two is that the PhoneGap plugin is asynchronous, while the Javascript interface is synchronous?
Ok, the PhoneGap team would prefer to use addJavascriptInterface, but there is a bug in Android 2.3 where it is broken . That's why we work locally so you can create mashups regardless of the version of Android you are running on.
Source: https://habr.com/ru/post/1399641/More articles:SQL Server full-text search - many-to-many relationship - sql-serverMemory leak when reconstructing Squeryl in-memory database - scalaCSS rotates animation only in Webkit - cssHow to change the background of SeekBar? - androidPHP: Add differences from two DateTime objects to another date using DateTime :: modify - dateCan anyone think of when it might be necessary to rewrite the request? - .htaccesscublas cublasZgemm () is slower than expected - pythonVim, omnicomplete and python documentation - pythonQAudioOutput always encounters UnderrunError - c ++Test composite object when components already tested → redundant? - javaAll Articles