I am developing an application for Android using PhoneGap. I have implemented some of the functions in Java. How can I call those Java functions using Javascript?
there is a similar question https://stackoverflow.com/a/8733773/905565
Write your own plugin, or provide JavaScript interface with addJavascriptInterface method of WebView
Access to webview in your phonegap activity with this.webView
this.webView
2.1m questions
2.1m answers
60 comments
57.0k users