View Single Post
Old 02-10-2016, 10:39 PM   #10
Xandaros
Junior Member
Xandaros began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Feb 2016
Device: Kindle PW3 G090 G105
@knc1: It's a post, not a wiki page. I even linked to it.

@NiLuJe: Luckily there's javap, which eventually allowed me to figure it out. I did actually look at KUAL, which is how I figured out that AWT stuff, but it didn't include orientation changes, which was what I was after.
We have a wiki, but the documentation on kindlet development seems lacking. I'm going to start a new page on that topic tomorrow if I can find the time, which will include basically everything I've figured out so far.
I'll even try to document the KDK 2.2. It doesn't look like it's very big, so it shouldn't be too much of an issue.
1.0, 1.3 and 2.0 do seem to have docs, though how to do the orientation change in 2.0 is beyond me. (Not that I could test it - I don't have 2.0)

That said, I don't really use java, so a lot of things I struggle with are probably not even problems of developing for the kindle.
For example, the beginner's guide I linked earlier (the one that is not a wiki page) tells you to just extract the KDK into your project. While it works, it seems awfully hacky to me, but I don't know how to do it the 'proper' way.
(I can write a class loader to dynamically load the KDK at runtime, but I have no idea how to tell it to statically include it. Seems somewhat ironic to me :P)
Xandaros is offline   Reply With Quote