Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Craig M.21
11 years agoNew member | Level 2
Dropbox should respond to Android Intent.ACTION_SEND
My android app uses the code below to allow users to back up an important file. A number of applications, including Google Drive, appear as suitable services to handle the file, but Dropbox does not appear, even though it offers the same functionality as Google Drive. Could you please change Dropbox so that it appears and my users can access it in this way?
File F = new File(sdPath);
if(F.exists()){
Uri U = Uri.fromFile(F);
Intent i = new Intent(Intent.ACTION_SEND);
i.setType("file/*");
i.putExtra(Intent.EXTRA_STREAM, U);
startActivity(Intent.createChooser(i,"Email/Upload '" + filename + "'"));
}
15 Replies
Replies have been turned off for this discussion
- AntonioC10 years ago
Dropbox Staff
Hi everyone, we've landed a fix for this that should be out in early June. Thank you for your patience!
- Gil G.10 years agoNew member | Level 1
Is the fix out yet? We are sharing image/png together with an extra text that contains a link to our app. I'd expect Dropbox to ignore the text and upload the image..
- AntonioC10 years ago
Dropbox Staff
Hi Gil, this issue has been resolved on our 10.2 release which should be out to the Play Store by next week.
- Jonathan M.3210 years agoNew member | Level 1
Hey, same deal here with our app FlipaClip on Android. I'm not sure who is here DropBox dev but I assume Antonio? If that's the case version 10.2? I see on GooglePlay 8.2.4.
We are using:
public static void share (Context context, String subject, String message, String title, Uri data, String mime)
{
Intent intent = new Intent();
intent.setAction(Intent.ACTION_SEND);
// Add data to the intent, the receiving app will decide what to do with it.
if (null != subject)
{
intent.putExtra(Intent.EXTRA_SUBJECT, subject);
}
if (null != message)
{
intent.putExtra(Intent.EXTRA_TEXT, message);
}
intent.putExtra(Intent.EXTRA_TITLE, title);
intent.setType(mime);
intent.putExtra(Intent.EXTRA_STREAM, data);
Intent newShareIntent = Intent.createChooser(intent, "Share with");
newShareIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(newShareIntent);
} - NATTSOE8 years agoNew member | Level 2image/*
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!