getHelpFile - with epub

100 views
Skip to first unread message

maryhit

unread,
Oct 19, 2011, 4:55:19 PM10/19/11
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.
Reply all
Reply to author
Forward
0 new messages