2017-06-15 168 views

回答

0

,如果你想拥有真正的路径,然后做从

ContentResolver.openInputStream() 
采取流的副本

你可以阅读在这里https://commonsware.com/blog/2016/03/15/how-consume-content-uri.html

话虽这么说,我发现这个反应本地插件是在案件的帮助,当你只是想抓住PA就像你想https://github.com/luisfuertes/react-native-file-picker

希望有所帮助。

+0

没有得到res/raw文件夹的实际路径,我需要像file:/// res/raw这样的路径 –

相关问题