-
Notifications
You must be signed in to change notification settings - Fork 7
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
Write simple String data to epub #4
Comments
The README has an example about how to create a EPUB: An EPUB file is really just a zip file that compresses the HTML, CSS, and other content files into one package. So, you will need to follow the structure and create the EPUB from your response data (the content). |
I have seen that example, but want to write string instead of HTML file |
The resource can be built from a file, or data (convert your string to byte[]) directly: |
In the README.md it states that you have to add these lines to build.gradle:
However, it should be:
This took me some time to figure out. Thanks for sharing your library, Jan Rekers |
Thanks for reporting the error, I've updated the README.md |
I am trying to use this lib in Android app. I have bunch of api calls which returns String data. I want to write the response to EPUB file with resource being the new String and save it.
Can you give an example for above?
The text was updated successfully, but these errors were encountered: