I have a webview in my activity and i am displaying a form in this webview. I want to finish the activity when user clicks on the Submit button of the form. How can i do this.
Or in Another way you can say that i want to get the id of the button when users click on that in java and perform the finish Activity method.
I have gone through this link
Detect click on HTML button through javascript in Android WebView
Thank for considering..