I found a solution for reading epub books in android using epublib. I can read subtitles of a book. But I did not find a way to read line by line of content. How can I understand that?
Sample code for getting book titles
private void logTableOfContents(List<TOCReference> tocReferences, int depth) { if (tocReferences == null) { return; } for (TOCReference tocReference : tocReferences) { StringBuilder tocString = new StringBuilder(); StringBuilder tocHref=new StringBuilder(); for (int i = 0; i < depth; i++) { tocString.append("\t"); tocHref.append("\t"); } tocString.append(tocReference.getTitle()); tocHref.append(tocReference.getCompleteHref()); Log.e("Sub Titles", tocString.toString()); Log.e("Complete href",tocHref.toString());
Got this code from http://www.siegmann.nl/epublib/android
How can I get a story about a book ...
source share