We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Andhie W.
11 years agoNew member | Level 1
Android ACTION_GET_CONTENT from Dropbox sources
Device OS: Lollipop 5.0
When using the Intent ACTION_GET_CONTENT and selecting Dropbox from the Storage Provider, Dropbox prompts a file picker dialog to choose from. The result obtained in onActivityResult is something like
file:///storage/emulated/0/Android/data/com.dropbox.android/files/u6763728/scratch/Camera%20Uploads/2012-04-02%2012.34.44.jpg
The requesting app will not have read permission as its dropbox own private directory even with WRITE_EXTERNAL_STORAGE permission. In KitKat, it is recommended to use FileProvider to share a file via a content:// uri
26 Replies
Replies have been turned off for this discussion
- Chun Yeen M.10 years agoNew member | Level 2
I'm writing a new app and bump into the same issue here. Please support `content://` URI for the same reasons mentioned by posters above. It is an extra unnecessary unsafe permission viewed from user's perspective.
Fix this please?
- Greg-DB10 years ago
Dropbox Community Moderator
Thanks for the feedback! I'm sending it along to the team.
- Anton S.710 years agoNew member | Level 1
+1, have the same issue. It was acceptable prior to Marshmallow (but not ideal of course) but now it looks like I just have to ask users my users for READ permissions just to be able to read files returned by Dropbox...
- Andy H.3110 years agoNew member | Level 1
+1 for supporting 'content://' since I'm getting mixed bug reports, where our import feature works on some devices but not others.
So this problem is bad especially because the results are inconsistent...
- Chun Yeen M.10 years agoNew member | Level 2It has been half a year since... any updates on this?
- Greg-DB10 years ago
Dropbox Community Moderator
No, unfortunately I don't have an update on this.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!