Is it possible to get the value of a variable that I use in my Java class to a html page using a WebView? For example I will get the total amount and transfer into an online payment.
Does anybody know how I could get this to work?
Is it possible to get the value of a variable that I use in my Java class to a html page using a WebView? For example I will get the total amount and transfer into an online payment.
Does anybody know how I could get this to work?
You can use WebView's addJavascriptInterface method to do this.