How to use html2canvas in android in order to take a screenshot of an element in webview
问题 i'm trying to get screenshot of a captcha in webview, using html2canvas plugin implementation 'cljsjs:html2canvas:0.4.1-0' there's also html2canvas:1.0.0-alpha.12-1 but i can't use it because of this error ERROR: Failed to resolve: html2canvas Affected Modules: app Anyway, i found this Android: Sending image URI from webview website to app But i don't know how to use it I tried to Toast the Image Uri to check if it's working or not view.loadUrl("javascript:api.testImage(\t\t\t function()\n" +