I found a solution for reading epub books in android using epublib. I am able to read the subtitles of the book. But I didn\'t find a way to read the line by line of the content
I'm not sure is that is the way to navigate in epub file. As far as I know (till now - I'm still learning), better way to get all book cocntent is based on spine section. But still - I don't know how to connect this two things (TOC and real spine) with epublib interface. According to documentation: "The spine sections are the sections of the book in the order in which the book should be read. This contrasts with the Table of Contents sections which is an index into the Book's sections."
that is something - if You likie - this is a snippet:
Spine spine = new Spine(book.getTableOfContents());
for (SpineReference bookSection : spine.getSpineReferences()) {
Resource res = bookSection.getResource();
try {
InputStream is = res.getInputStream();
//do something with stream
} catch (IOException e) {