Use JavaScriptInterface on Android
On Android, there is a system for calling Java method from JavaScript. This is called JavaScriptInterface.
With this class, you can call Java methods run on Android application from JavaScript written on any HTML file.
[Read More]