Using sendJavascript () Phonegap

I know that the question is very general, and it does not seem to matter. I myself know that such questions should not be asked here. But after a long study, publishing on the blogs of many Phonegap masters, I did not receive any answers from them, now I came to StackOverflow. So much so that there is no documentation for this particular method anywhere on the Internet, neither in PhoneGap Docs , nor in Cordoba Docs .

My question is very simple. I want to know how to use sendJavascript () in a DroidGap class or Plugin class to call a function in Javascript .

I found this tutorial , but it is very outdated and does not work with Phonegap 3.0 . It would be very nice if someone suggested some changes to the textbook or some new approach.

I don't need the code, just tell me how to do it. I just need a skeleton

I posted a similar question , in fact this is the original problem I'm looking at a solution to.

Please suggest me something about this. I'll be very happy.




Edit 1: When searching in the deepest of Google, I found this first documentation of this creepy method. Here's the link

+2
javascript android cordova
Oct 24 '13 at 6:28
source share
1 answer

The sendJavascript function sendJavascript defined in CordovaWebView .

Each Cordova plugin has a webView property that should give you easy access to call the javascript function.

+1
Nov 02 '13 at 23:55
source share



All Articles