Web视图中的java上传文件
这里有很多关于这个问题的话题,但对我来说什么都不管用
点击input type="file"
没有发生任何事情。我用openFileChooser
和onShowFileChooser
修复了它。我现在可以选择文件,但是input type="file"
仍然是空的,我无法再次打开文件列表。我在用AbstractActivity
我也在用这个:
webView.getSettings().setDomStorageEnabled(true);
webView.getSettings().setAllowContentAccess(true);
webView.getSettings().setAllowFileAccess(true);
共 (0) 个答案