Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncompressed ePub? #18

Closed
voipworld opened this issue Feb 19, 2018 · 5 comments
Closed

Uncompressed ePub? #18

voipworld opened this issue Feb 19, 2018 · 5 comments

Comments

@voipworld
Copy link

hello team

is it pocible by any way to keep the uncompressed epub, and get rid of the .epub file?
or caching the allready decompressed epub, and load it in the next opening of the app without redecompressing the file?
i have tryed opening a huge book composed of 35 books inside, taking lot lot lot of times
if you can find a solution i'll donate...!
i love this sdk, good for blind people... what to say...!

@timfreiheit
Copy link
Contributor

Hi,
since the version 0.2.2 possible to load uncompressed epubs by using: Epub.fromFolder(folder).
If you load the load a compressed epub the resulted uncompressed ePub will be cached in the app cache directory for the next load.
I also tried your provided example from http://d.shamela.ws/epubs/072/7289.epub which should be a lot faster now.

@voipworld
Copy link
Author

voipworld commented Feb 20, 2018 via email

@timfreiheit
Copy link
Contributor

see the installations section in readme.
add

maven { url "https://jitpack.io" }

as a new repository in your root build.gradle

and

compile 'com.github.smartmobilefactory:EpubReaderAndroid:0.2.2'

in your apps build.gradle

@voipworld
Copy link
Author

hello
i done all your suggestions
all is 100% working even without uncompressed epub, will try the folder
caching was not working befaure, now its pretty fast

how do i know the latest version of the sdk?
thanks!

@timfreiheit
Copy link
Contributor

you can find the current releases with their changelogs at https://github.com/smartmobilefactory/EpubReaderAndroid/releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants