lundi 25 mai 2015

How to download and view files(attachments) from app in android using Volley

I am new to android and i need an implement a functionality:

I will get a set of attachments(image,PDF etc..) with their names and URL's where the attachments are displayed as a list.

When user clicks on any of the attachments name, attachment should be displayed.

I Think the following procedure needs to be followed:

1.Download the attachment from its URL

2.Call appropriate intent based on where the file(with its URI) is downloaded

I am using Volley in my android application,I don't know how to implement the above procedure please help me.

Aucun commentaire:

Enregistrer un commentaire