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
1
vote
2 answers

Use Horizontal Scroll in Android WebView

I am currently using epublib-core to read epubs and display them in Android WebView with the following code - webView.loadDataWithBaseURL(baseURL, new String(spineReferences.get(chapter/* <- int*/).getResource().getData()), "text/html", "utf-8",…
FadedCoder
  • 1,437
  • 1
  • 12
  • 33
1
vote
1 answer

How can I display list of recently opened files?

Can anyone provide me with the guidelines on how to retrieve a list of recently opened files in a folder? In my application, I have a folder which contains .epub files. I would like to display a sorted list of recently read/opened books by the user.…
immi
  • 11
  • 3
1
vote
1 answer

Loading an epub file in webView Android

I have been using epublib in android to load an epub file in webview. This is my code to load the file public void getEntireBook(){ Spine spine = book.getSpine(); List spineList = spine.getSpineReferences() ; int count…
1
vote
0 answers

Getting image from .epub file in Android

I am using siegmann.nl/epublib to read epub file. My Activity code is mentioned here. public class EpubReaderActivity extends Activity { private LayoutInflater inflater; private List contentDetails; public static final String BOOK_NAME =…
anju patel
  • 85
  • 3
  • 11
1
vote
0 answers

epublib sometimes cannot read a file

Hello! I need to extract resources from a epub-file, and I use for this ebublib. It works very well with a lot of files, but sometimes I get NullPointerException. There is my code: InputStream bookInputStream = new BufferedInputStream(new…
Ósanwe
  • 61
  • 4
1
vote
0 answers

how to show right-to-left language in FBReaderJ in android?

I want to use FBReaderJ for reading Persian book that is an rtl language. In FBReaderJ all words are shown correctly but words are reversed like this: سلام بر شما (correct) شما بر سلام (wrong) in FBReaderJ I downloaded FBReaderJ source to see if I…
arsenal
  • 169
  • 1
  • 1
  • 12
1
vote
1 answer

Search epub contents with epublib

I am using epublib jar file to read epub ebooks in my android application. I want the user be able to search ebook contents. I have figured out there is a package for searching: nl.siegmann.epublib.search. I found it from here. How can i use the…
m.taheri
  • 197
  • 1
  • 19
0
votes
2 answers

epublib android

I see the Link http://www.siegmann.nl/epublib/android But I can't download epub-core lib.jar and in this link Under Getting Start they mention to compile using the "mvn package" what that means?
Bhavdip Sagar
  • 1,895
  • 15
  • 25
0
votes
1 answer

How to compile epublib

Just want to use epublib in Netbeans. Author provides no binaries (.jar) and expects everyone to compile. DL'd maven, but no idea how to use it. Author says to type "mvn package" which is obviously wrong. Tried NB's to compile epublib as…
Bcwilmot
  • 51
  • 3
0
votes
1 answer

How to open epub files with Images and contents and when we click on contents then it move to particular part

i want to open ebub files either in webview or by something else but content click and images,videos should be there -I have tried using webview but images cant display in that textView.setText(Html.fromHtml(data, new Html.ImageGetter() { …
Pooja
  • 21
  • 5
0
votes
2 answers

Epublib crashing In Android

I'm trying to use this Epub Library in Android to parse an Epub file, but whenever I try to use it, the app just force closes. EpubReader epubReader = new EpubReader(); Even this line makes it crash. The debugger is telling me it is caused by…
Mark D
  • 1,259
  • 4
  • 18
  • 38
0
votes
0 answers

Read Xhtml file in android?

I see this application on google play . I have some question : What format are stored books and how read? Is the format of books xhtml? If it is true . How can I read xhtml ? Should I use a specific library ? I need guidance for production…
user4813855
0
votes
0 answers

Epub - what are the keywords indicating text in html files

I search for text of the book, not the title or author. I have several epub files, but all have different keywords in the html files, preceding the text. Do you have some information for what I should be looking for? or some good document? Is it:…
narb
  • 892
  • 1
  • 10
  • 35
0
votes
1 answer

Limit/Number of html file (containing text) within an epub file

I'm using the following method from epublib to retrieve the content: is = book.getSpine().getSpineReferences().get(number).getResource().getInputStream(); How do I know when number has reached the last file and is out of range?
narb
  • 892
  • 1
  • 10
  • 35
0
votes
1 answer

Epublib crash with Epubreader no class found

I have the following error: 07-03 19:45:47.341 18148-18148/? W/dalvikvm: Exception Ljava/lang/NoClassDefFoundError; thrown while initializing Lnl/siegmann/epublib/epub/EpubReader; 07-03 19:45:47.341 18148-18148/? E/AndroidRuntime: FATAL EXCEPTION:…
narb
  • 892
  • 1
  • 10
  • 35