Your workflow is unique 👨‍💻 -  tell us how you use Dropbox here.

Forum Discussion

Ifor P.'s avatar
Ifor P.
New member | Level 1
9 years ago

Android ACTION_SEND changed.

I have an Android app that interacts with other apps using the Intent.ACTION_SEND methodology.  This has been working will the Dropbox app until this week (Dropbox app now version 7.2.8) it's not stopped working as intended. 

The main purpose is to send a file generated from within the app so I am setting EXTRA_STREAM with the uri which is all that is really needed for DropBox but I also set some other extras for other apps most notably email clients e.g. EXTRA_TITLE, EXTRA_SUBJECT, EXTRA_EMAIL and EXTRA_TEXT.  I am now not getting to save the file but the Dropbox app thinks I am sending it some text ands asks me to specify a file name for the text. 

I presume this spotting the EXTRA_TEXT is new but the case with EXTRA_TEXT and EXTRA_STREAM I think needs to take the stream as a priority.

 

 

 

 

7 Replies

Replies have been turned off for this discussion
  • Paul R.17's avatar
    Paul R.17
    Explorer | Level 4
    9 years ago

    I have a script installed on my Raspberry Pi to automatically upload nightly system archive files to Dropbox which has worked fine until now. However on or around 22nd April something has changed in Dropbox or it's API which has stopped my nightly uploads.

    Could it be the same issue?

    Paul

  • Marian K.3's avatar
    Marian K.3
    New member | Level 2
    9 years ago

    same issue, until now is worked fine for my raspberry pi II, but now, upload work fine, and download did "No such file or directory" ...

    thx

     

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 years ago

    Hi Marian, this thread is about the behavior of the ACTION_SEND intent on Android. If you're having a different issue, please open a new thread with the details.

  • Ifor P.'s avatar
    Ifor P.
    New member | Level 1
    9 years ago

    Thanks Gregory,

    Any more details I can give to help let me know.  I can confirm that if I remove the EXTRA_TEXT bit then things go back to as they were.  I now have the code special cased for Dropbox in my development version so it's liable to be released like that but it is not ideal having too many special cases in the code.

  • n. nobu's avatar
    n. nobu
    New member | Level 1
    9 years ago
    Intent intent = new Intent(Intent.ACTION_SEND);
    intent.putExtra(Intent.EXTRA_TEXT, body);
    intent.putExtra(Intent.EXTRA_STREAM, uri);
    • v6.2.4  - OK
    • v7.2.8  - NG

    Dropbox bug in v7.2.8?

    Intent intent = new Intent(Intent.ACTION_SEND);
    intent.putExtra(Intent.EXTRA_STREAM, uri);
    • v7.2.8  - OK
  • AntonioC's avatar
    AntonioC
    Icon for Dropbox Staff rankDropbox Staff
    9 years ago

    We've landed a fix that should be out in early June. Thank you all for your patience!

About Dropbox API Support and Feedback

Node avatar for Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.

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!