When the user clicks the ePub
file in a Android ListView
, you should show a ProgressBar
to the user and download that ePub
file. After the download gets completed, you can then proceed the user to either a self implemented ePub Viewer
within your App Or navigate the user to the suitable Applications
already installed on the device for reading that ePub
book.
In App ePub Viewer:
Here is a nice Tutorial which you can follow to implement it:
http://www.codeproject.com/Articles/592909/EPUB-Viewer-for-Android-with-Text-to-SpeechLaunching External Apps for opening that ePub Ebook:
open an epub file from android app
P.S: If you are downloading the ePub file within your App's File Directory then you would have to make a Content Provider for your App, in order to grant access to the specific File within the Files Directory to be accessed by other Apps.
I hope this helps.