You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
DiscoExperiments
2 years agoNew member | Level 2
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.
I've found a way to open a file in Dropbox Android app by creating a shared link via this endpoint sharing-create_shared_link_with_settings - then creating Intent with this url and package set to dropbox - like in the code above. We can close this now.
- DiscoExperimentsNew member | Level 2
I've found a way to open a file in Dropbox Android app by creating a shared link via this endpoint sharing-create_shared_link_with_settings - then creating Intent with this url and package set to dropbox - like in the code above. We can close this now.
About Discuss Dropbox Developer & API
Make connections with other developers
795 PostsLatest Activity: 12 hours agoIf 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!