-
Notifications
You must be signed in to change notification settings - Fork 314
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
javax.xml.stream doesn't exists #10
Comments
Hi Jason, Epublib doesn't use javax.xml.stream classes for quite a while now. Paul |
Hi Paul, I downloaded the source from github https://github.com/psiegman/epublib. I thought I was missing the correct android api's, after some research in androids documentation, I found nothing. |
The location were I found the code is: nl/siegmann/epublib/epub/EpubWriter.class in F:\Android\psiegman-epublib-787d1f6\epublib-tools\target\epublib-tools-3.0-SNAPSHOT-complete.jar |
Aha. Only epublib-core works on android. Use only epublib-core and you should be good. |
Hey Paul, Still the same thing. here is a snippet from the EpubWriter.class package nl.siegmann.epublib.epub; import java.io.IOException; public class EpubWriter
|
Wow, you're correct. I totally overlooked those classes. |
Hey Paul, Ok so your fix worked but another issue. Not sure if this one is from you or not. UNEXPECTED TOP-LEVEL EXCEPTION: |
Hi Jason, I've finally found the time to have a look at it, and writing an epub file works fine on an 2.2 emulator. Code:
If it's not working for you can you send me some example code ? |
Hey Paul, Sorry I am getting back to you now. I tried to code and it worked great. Jason Foglia On Sun, Oct 9, 2011 at 6:42 AM, Paul Siegmann <
|
Hey Paul, Not sure about this one. I didn't get errors but I also got no file. I tried Book book = new Book(); EpubWriter epubWriter = new EpubWriter(); java.io.File file = new java.io.File("/", "testbook.epub"); Thanks! Jason Foglia On Fri, Oct 21, 2011 at 11:54 AM, Jason Foglia jason.foglia@gmail.comwrote:
|
cannot access javax.xml.stream.XMLStreamException
class file for javax.xml.stream.XMLStreamException not found epubWriter.write(book, new FileOutputStream("books/testbook.epub"));
Is there something I am doing wrong?
I looked in the Android jar with no luck.
Android 2.2 / 2.3 / 3.0 no luck.
The text was updated successfully, but these errors were encountered: