How Should I Get All Images(including Full Url) From Dropbox Using Dropbox Core Api In Android App?
I need to get all the images on Dropbox with its full URL(not only name) as I need to display images as a list in my android app. I am using Dropbox core API and called API as foll
Solution 1:
This depends on what exactly you need to do, and if you actually need a URL, and if so, what kind of URL.
If you just need the content of the image files, you should use the getFile
or getFileStream
method to access the actual file content and display it as desired.
If you actually need a direct URL to the file contents, you can use media
to get the URL. Note that these expire after four hours though.
If you need a longer-lived URL, e.g., for sharing, you can get the (preview) URL by using share
. (You can also modify these links for other behaviors as shown here.)
Post a Comment for "How Should I Get All Images(including Full Url) From Dropbox Using Dropbox Core Api In Android App?"