We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.

Forum Discussion

jose b.21's avatar
jose b.21
New member | Level 1
9 years ago

How to launch Dropbox app from my app in a specific folder?

Hey guys what's up? 

 

So as I said in the title. I'm trying to launch dropbox app from my app in the folder created by my app. How can I do that? 

 

PackageManager pm = getApplicationContext().getPackageManager();
Intent intent = pm.getLaunchIntentForPackage("com.dropbox.android");
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);

This code launchs DropBox.

Best regards,
José.
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    The Dropbox API doesn't currently offer a way to do this, but we're tracking it as a feature request.