Thursday 23 July 2015

Binding JavaScript code to Android code

When Building a WebView based Web App in Android, you can communicate with your android client side code through your Javascript code.
You can call any method of Android client side code on any triggered event on JavaScript code.
For example, the following code will call the showAndroidDialog() in your Activity on an onClick event of a button in your JavaScript code.
To read this full blog on Binding JavaScript code to Android code please visit FindNerd.
Apart from this if you have any Android programming queries you can post your query at our Android Developer Forum & your query will be resolved within shortest possible time frame.

No comments:

Post a Comment