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?
See Question&Answers more detail:osI 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?
See Question&Answers more detail:osthere 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