View Single Post
Old 02-07-2012, 06:18 PM   #4
bhaak
Groupie
bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.bhaak can program the VCR without an owner's manual.
 
bhaak's Avatar
 
Posts: 164
Karma: 164969
Join Date: Dec 2011
Device: Palm IIIx, (iPhone|Kindle) Touch
Quote:
Originally Posted by MatzeMatz View Post

Am I doing something wrong with that tools?
And how can I get (re-)compilable code or derive from a built-in class?

I currently don't get it:
How am I able to write own code which uses amazon's existing functionality and how do I compile it, that it works on the device?.
No, you're not doing anything wrong. If you look at the compiled classes with a bytecode viewer, you'll see that all the parameters and variables are correctly id-ed (of course, otherwise the classes wouldn't be valid java classes) but that they are all named "a".

JAD and JD-GUI are both too stupid for such (slightly obfuscated) java classes as they rename all the variables without looking if there are any name clashes.

You'd need a decompiler that has the option of not trying to restore the "original" variable names.
bhaak is offline   Reply With Quote