View Single Post
Old 12-31-2010, 12:46 PM   #20
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
Quote:
Originally Posted by Sir Alex View Post
Good idea, but after decompiling you can't recomplile it back. JD and any other decompiler will produce conflicting class names and namespaces. You can try to make simple Kindle booklet and you'll see, you can't use Kindle API directly due it obfuscation.

In my keyboard and localization hacks I used BCEL library to direct modify class(JAR) files. With BCEL you can inject you own code into Kindle JAR's.
Great idea. Does BCEL run separately and replace the files live, or do you have to modify the .class and then replace it? I really don't want to mess with Kindle OS files.
yifanlu is offline   Reply With Quote