We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

Andhie W.'s avatar
Andhie W.
New member | Level 1
10 years ago

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

  • Chun Yeen M.'s avatar
    Chun Yeen M.
    New 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-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Thanks for the feedback! I'm sending it along to the team.

    • Chun Yeen M.'s avatar
      Chun Yeen M.
      New member | Level 2
      It has been half a year since... any updates on this?
      • Greg-DB's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff
        No, unfortunately I don't have an update on this.
  • Anton S.7's avatar
    Anton S.7
    New 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.31's avatar
    Andy H.31
    New 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...

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,878 PostsLatest Activity: 4 hours ago
326 Following

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 or Facebook.

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!