WEBVIEW UPLOAD:

agosto 17, 2018 doido 2.0 0 Comments

webview1.setWebChromeClient(new WebChromeClient() { @Override public boolean
onShowFileChooser(WebView webView, ValueCallback filePathCallback, FileChooserParams
fileChooserParams) {
mFilePathCallback = filePathCallback; Intent intent = new
Intent(Intent.ACTION_GET_CONTENT); intent.setType("*/*"); startActivityForResult(intent,
PICKFILE_REQUEST_CODE); return true;}});

0 Comments: