I made this method for getting a Dropbox link to some media I wanted to stream from Dropbox..
public String getLinkUrl(String path) throws DropboxException {
DropboxAPI<AndroidAuthSession> dropboxAPI = DropboxManager.getInstance().getApi();
DropboxAPI.DropboxLink dropboxMediaLink = dropboxAPI.media(path, false);
return dropboxMediaLink.url;
}
This stopped working all of a sudden in the last few days but if I set the ssl flag to true in this line..
DropboxAPI.DropboxLink dropboxMediaLink = dropboxAPI.media(path, true);
It now works when setting SSL to true.
It would be good to understand why it no longer works without SSL though