Quantcast
Channel: MobileRead Forums - Kindle Developer's Corner
Viewing all articles
Browse latest Browse all 4412

Kindlet HELP, about Kindlet-2.2.jar on 5.6.5

$
0
0
Hello Every body,
After I found Guide: How to write Kindlets, I plan to write a "hello world" for my PW2(5.6.5) too, But I got an error after running the program:
Quote:

Theitem you attempted to open is incompatible with this kindle. Please ...
Let's me show more details:
0. kindle PW2(hijacked) with firmware 5.6.5(KUAL running well)
1. download and install jdk_8u73_windows_i586_8.0.730.2.1455434099.exe
2. get the Kindlet-2.2.jar form my kindle
3. compile the "hello world" using
Quote:

"C:\Program Files (x86)\Java\jdk1.8.0_73\bin\javac.exe" -target 1.4 -source 1.4 -classpath D:\kindle_java\lib\Kindlet-2.2.jar;"C:\Program Files\Java\jdk1.7.0_25\bin";. test\main.java
"C:\Program Files (x86)\Java\jdk1.8.0_73\bin\jar.exe" cfm test.jar "test.manifest" "test/main.class"
4. sign test.jar with developer.keystore(got from MKK, same like KUAL)
5. copy jar to azw2
6. run it on kindle

I'm confused with the kindlet verison, KUAL supports firmware 4.x and 5.x both, So I think both Kindlet-1.x and Kindlet-2.2 are used in KUAL, But after check the source code of KUAL, I found only Kindlet-1.2.jar was used.

So, I have two questions:
1. why I got the Error when using the Kindlet-2.2.jar? how to fix this?
2. why KUAL still use Kindlet-1.2.jar for 5.x, Does the Kindlet-2.2.jar support V1.2 version kindlet app too?

Thank you for read and answer my questions, :p

Attached Files
File Type: zip Hello World.zip (8.6 KB)

Viewing all articles
Browse latest Browse all 4412

Trending Articles