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
alexsajno
6 years agoExplorer | Level 4
Android - Save file URL using file chooser
I used the File Chooser in Android Studio because it was difficult for me to do the login and use the download methods. I used file choosed with direct link ans after receiving the uri I converted it to URL and download the file. I want to keep some URL in shared preferences to download the file in the future without eneter the file chooser again. The problem is that the direct link expires in 4 hours and the preview link is not helpful in this case because I am downloading the file automatically and importing some data. So I don't want the preview stuff. Some idea?? I can try also the login and download method if there is a way to save the file location but there are some bugs in my code because of version V2. So I prefer the first way which worked for me.
If you need non-temporary links, but also need to download from them programmatically, you can use the "preview" links, but modify them as documented here:
- Greg-DBDropbox Staff
If you need non-temporary links, but also need to download from them programmatically, you can use the "preview" links, but modify them as documented here:
- alexsajnoExplorer | Level 4But these link is permanent? It means I can use same link next month???
- Greg-DBDropbox Staff
The preview links don't expire on their own, though they can be revoked by the user. So, as long as the user doesn't disable the link, or delete the file, yes, you'd still be able to use them after an arbitrary amount of time.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,910 PostsLatest Activity: 3 days 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!