Forum Discussion

DiscoExperiments's avatar
DiscoExperiments
New member | Level 2
2 years ago
Solved

Open file in Android Dropbox

I'm trying to preview a file entity I've fetched from files-list_folder in Dropbox android app. I've noticed there is files-get_temporary_link endpoint when creating an intent like that:

Intent(Intent.ACTION_VIEW, Uri.parse(tempLink)).setPackage(Pkgs.DROPBOX)

It seems that it can't be resolved by the Dropbox Android app. Is there any way to open Dropbox android app to preview the file?

 

Context:
I'm writing and library for Android launchers that queries APIs for application user has installed on their device for user searchable data (dropbox file in this case) and allows the user to access this data directly from the launcher. I was able to integrate multiple could storage services but I struggle with dropbox.

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with other developers803 PostsLatest Activity: 16 hours ago
216 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!