View Single Post
Old 12-22-2011, 06:44 PM   #4
yifanlu
Kindle Dissector
yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.
 
Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
So I've looked more into creating reader plugins. I think you're error came from the fact that not all the methods you have to implement in your readersdk plugin are abstract. Some are defaulted to return -1, false, or null. I haven't played too much with it, but some examples are:

AbstractBook: public int getType() returns -1
BookView: public void drawPage(Graphics2D a) throws not implemented
RendererCapabilities: public boolean acceptsFile(String a) always returns false

I'm guessing one or more of these might be the root of your problem.
yifanlu is offline   Reply With Quote