Android DocumentsProvider from server storage

123 views Asked by At

how would I pull the directories from a web service rather than local assets?I need to write a DocumentsProvider that shares documents located on a server. I am at a total loss at how to do this. The server has an API that allows me to retrieve information about the documents and the libraries they are contained in.

For example - I can retrieve a JSON array from http://myserver/api/getlibraries which contains objects holding information about the document libraries available, like CreatedBy, Name and how many documents are in that library. I can also download the file from http://myserver/api/getdocument?docID=<documentID>

How would I pull the directories from a web service rather than local assets?

I can't give much more details as I don't know what details to give, but feel free to ask and I'll do my best to provide.

Thanks for any help

0

There are 0 answers