Reputation: 31
I am putting the question in two lines
Does OneDrive supports direct download URLs for files? Are URLs returned by OneDrive are same for mobile and web ? Does OneDrive returns file versions via rest API calls ?
Read below for more details.
I am building a standalone app which uses various OneDrive REST apis for different operations, e.g. upload/download/update/browse a document/folder. I have following needs which I am not able to accomplish based on readings from OneDrive rest api support page https://msdn.microsoft.com/en-us/library/office/dn659752.aspx.
https://msdn.microsoft.com/EN-US/library/dn631834.aspx?f=255&MSPPError=-2147217396 This link shows a JSON representation of a file object.
Upvotes: 3
Views: 5019
Reputation: 4509
hope you are trying to access some file from your download folder!!
If you, you can use url like this-
file:///storage/sdcard0/download/file-name.mp4
This worked for me.
Upvotes: 1