Questions tagged [epublib]

epublib is a Java library for reading EPUB files, available for Android as well.

epublib is a Java library for reading EPUB files, available for Android as well.

37 questions
39
votes
3 answers

ePub library for java or android

Is there any library to read ePub format? I found ePublib in http://github.com/psiegman/epublib. I'm still learning how to use it. Is there ePub jar which works for Android?
Faren
  • 1,215
  • 2
  • 15
  • 21
10
votes
2 answers

Android EPUBLIB read/load content

I'm playing with http://www.siegmann.nl/epublib on Android. Can someone please explain the right way to read epub HTML content, how to show this on Android (using WebView?), how to split content into pages and how to search the content. Thx 10x.
xpepermint
  • 31,091
  • 29
  • 106
  • 160
8
votes
2 answers

EOFException is thrown when reading contents of an ePub file

I'm trying to read the contents of an ePub file using the library epublib and this example demonstrates that. For me, an exception is thrown when loading the book from the input stream // Load Book from inputStream Book book = (new…
Srikar Reddy
  • 3,180
  • 4
  • 30
  • 52
6
votes
2 answers

Displaying images using EPUBLIB

I am using epublib to read a .epub file in a WebView. WebView wv = (WebView) getView().findViewById(R.id.chaptercontent); try { String abspath = FILEPATH+file; File filePath = new File(abspath+".epub"); InputStream…
Aravind Srivatsan
  • 435
  • 1
  • 5
  • 15
5
votes
2 answers

How to read EPUB book using EPUBLIB?

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. How can I acheive this? Sample code for getting titles of the book is …
Taruni
  • 1,651
  • 4
  • 22
  • 43
4
votes
0 answers

Internal links in epublib on Android aren't working

I'm using the epublib Android library to read an existing EPUB, and I can't get internal links to work. One of the chapters has HTML like this Click here but when you actually click on it, you get an Android webview…
Waynn Lue
  • 11,048
  • 7
  • 49
  • 71
4
votes
1 answer

Adding epublib to Android Studio and run it

I've got a problem with libaries with Android Studio. I added the .jar in the libs folder in my project and clicked RMB to add it as libary. In the build.gradle I added this with the dependencies: compile files('libs/epublib-core-latest.jar') This…
Marc
  • 974
  • 3
  • 14
  • 36
2
votes
1 answer

How to render a epub file in a native android app?

I am trying to make a android app that would render a .epub file and display its content in an android layout. I did a similar app for displaying pdf's using pdfRenderer which displayed the pdf pages using bitmaps. How can I achieve something…
AndroidNewBee
  • 694
  • 3
  • 11
  • 32
2
votes
1 answer

I am using the epublib and I am trying to get the entire chapter of a book at a time

I am trying to get one chapter at a time of a book. I am using the Paul Seigmann library. However, I am not sure how to do it but I am able to get all the text from the book. Not sure where to go from there. // find InputStream for…
Sam321pbs
  • 291
  • 2
  • 14
2
votes
2 answers

android epublib access css,images,urls inner files

I want to use epub book in my application. I found this link http://www.siegmann.nl/epublib/android to open my epub book. I understand how to show the text from the epub book, but I have a problem with images,CSS files, and links. Their URL are to…
2
votes
1 answer

read epub file page by page using epublib

i'm working on an application in which i want to read epub file page by page using epublib and show in a app , i am able to get all contents of book chapter wise , now i want to get contents page wise , plz answer if you have any idea , thanks in…
Farhan Munir
  • 329
  • 4
  • 21
2
votes
2 answers

How to use epublib jar in my android application

I have implemented one application in android which uses epublib to view .epub files. http://www.siegmann.nl/epublib/android As per this link, I have done following steps. Slf4j-android. You can download this at…
Kanak Vaghela
  • 6,120
  • 10
  • 30
  • 36
1
vote
0 answers

How to combine cover page and chapter contents of epublib in single WebView?

So, I'm trying to load the cover page and the chapter contents(in its respective sequence) within a single WebView using Epublib. So far, what I've done ... I retrieved my epub file from the cloud and unzipped in using the epublib library using the…
sammy
  • 65
  • 1
  • 10
1
vote
0 answers

Siegmann epublib calculate page number for table of content

I use "Siegmann epublib" library to extract the contents of epub files in an android project. I can show total content of the book and paginate that; but how should I find a correlation between table of contents and these pages? as table of contents…
Photon
  • 663
  • 7
  • 19
1
vote
1 answer

Failed to resolve: com.osbcp.cssparser:cssparser:1.5 HtmlSpanner-NightWhistler

I integrated HtmlSpanner into my Android application. I'm getting the following error: Failed to resolve: com.osbcp.cssparser:cssparser:1.5. How do I solve this error? Thanks for help
1
2 3