WEBVIEW GET FILE CHOOSE:

agosto 17, 2018 doido 2.0 0 Comments

}private ValueCallback <Uri[]> mFilePathCallback; private static final int
PICKFILE_REQUEST_CODE = 0; @Override protected void onActivityResult(int requestCode,
int resultCode, Intent intent) { if (requestCode == PICKFILE_REQUEST_CODE) { Uri result =
intent == null || resultCode != RESULT_OK ? null : intent.getData(); Uri[] resultsArray = new
Uri[1]; resultsArray[0] = result; mFilePathCallback.onReceiveValue(resultsArray); }

0 Comments: