2015年8月3日星期一

Handle the new uri when upload a file picked from "ACTION_GET_CONTENT"

ACTION_GET_CONTENT一般返回的uri格式是:content://com.speedsoftware.rootexplorer.content/storage/emulated/0/Download/***.png
而新版的文件选择返回的类似下面:
content://com.android.providers.downloads.documents/document/152
这种无法通过uri.getPath()获取文件路径。

没有评论:

发表评论