maryhit
unread,Oct 19, 2011, 4:55:19 PM10/19/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to FBReader
Hi,
If at startup I try to open an epub book from the assets/data/... ,
it fails, while trying to load an fb2 (like getHelpFile does), things
work fine.
I tried both:
book = Book.getByFile(ZLResourceFile.createResourceFile("data/help/
b.epub"));
as well as
book = createBookForFile(ZLFile.createFileByPath("data/
help/b.epub"));
Both ways the file is being read and added in the DB, but when it's
trying to show it, it shows a blank page with 1/1.
Any clue what's going on here? It seems to be related to epub.
Note: pushing an epub to sdcard and loading it from there, works just
fine.
Thanks in advance for your reply.