FolioReader / FolioReader-Android

A Java ePub reader and parser framework for Android.
BSD 3-Clause "New" or "Revised" License
2.25k stars 718 forks source link

Unable to display my epub file #284

Closed ycsghr closed 5 years ago

ycsghr commented 6 years ago

Issue / Feature - FolioReader version - 0.4.3 FolioReader Stock / Modified -
Android SDK - Mobile / Tablet / Emulator Info -
Crash / Error - s80919-18390944 s80919-18391413 Unable to display my epub file Steps to reproduce / Describe in detail -

ycsghr commented 6 years ago

help me

ycsghr commented 6 years ago

I tried to solve him but I didn't find anything wrong.

ycsghr commented 6 years ago

image

ycsghr commented 6 years ago

image

ycsghr commented 6 years ago

Come to help me personally, when my html is Chinese or the picture is Chinese, it can't be displayed.

ycsghr commented 6 years ago

sikan.zip This is my epub file

ycsghr commented 6 years ago

Waiting online, etc.

hrishikesh-kadam commented 6 years ago

Hi @ycsghr! Currently we are busy in integrating kotlin based parser. So once that's done we will take this bug. Many of the bugs listed by you will surely get fixed after integrating that kotlin based parser. Probably it would take 4 weeks from now for next release. Till then please excuse us.

ycsghr commented 6 years ago

I can wait for you, I hope I can tell me how to solve the Chinese problem first.

lekhrajtiwari commented 6 years ago

@mahavir155 @ycsghr can you help with the java code for displaying the file from the input stream

ycsghr commented 6 years ago

Sometimes it is not possible to accurately save the reading position

kiranvirdiya commented 5 years ago

Hi @hrishikesh-kadam,

Is Kotlin based parser integrated now?

hrishikesh-kadam commented 5 years ago

@kiranvirdiya Yes, it is live in version 0.5.1

kiranvirdiya commented 5 years ago

Thanks for the prompt response, @hrishikesh-kadam

hrishikesh-kadam commented 5 years ago

@ycsghr The book you attached in this comment https://github.com/FolioReader/FolioReader-Android/issues/284#issuecomment-423395405 is an invalid EPUB.

content.opf file doesn't have href matching exactly to the actual files or alse they aren't URI decoded.

At the moment it would be not be possible to fetch the file from local server. We are using nanohttpd as a local server. I have asked for help - https://github.com/NanoHttpd/nanohttpd/issues/451#issuecomment-449965540

We will keep this issue open till we get some reply from nanohttpd.