Reputation: 3031
I would like to know if possible is to get data from webview. I mean I have form in webview. I want to click submit in form in this webview and I want to get data from every field and save that data in database. This is possible?
Upvotes: 3
Views: 9075
Reputation: 9035
Yes it is possible, use addJavascriptInterface
in your webview, get click event using JS then call a android function using javascript interface.
See Binding JavaScript code to Android code
Upvotes: 3