Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Kindle SDK Language/Platform

Does anyone know what language/platform the new Kindle SDK will support?

like image 389
stepanian Avatar asked Jan 22 '10 06:01

stepanian


3 Answers

The Kindle Development Kit (KDK) is Java-based. From the FAQ:

What APIs are available to me in the KDK?

The KDK is comprised of two sets of APIs:

  • Java version 1.4 Personal Basis Profile (PBP) APIs for mobile devices. PBP JavaDocs can be found at http://java.sun.com/javame/reference/apis/jsr217/.
  • Kindle custom APIs which complement the PBP APIs and provide UI components, JSON and XML parsers, HTTP and HTTPS networking, secure storage, and other features. Other APIs like audio and dictionary access will be available in a future release of the KDK. KDK JavaDocs can be found at http://kdk-javadocs.s3.amazonaws.com/index.html.
like image 102
Kent Boogaart Avatar answered Nov 08 '22 21:11

Kent Boogaart


All the information currently available to the public on the KDK is available at Amazon.

Unfortunately, that doesn't seem to include much detailed info on the KDK other than the development platform including emulator appears to be cross-platform (Windows, Linux & Mac). This could imply the use of Java, but is obviously pure speculation at this point. The Freescale processor and Linux-based kernel certainly could handle a Java runtime and the stated per application memory limits (100mb) would jibe with Java. Of course, a C/C++ SDK would be a bit leaner and also entirely possible.

like image 39
rcw3 Avatar answered Nov 08 '22 20:11

rcw3


The entire existing GUI for the Kindle runs on an embedded flavor of Java. So, I'm pretty much assuming it's Java based. There may also be some security reasons (DRM, Whispernet abuse?) to confine people to a Java VM...

I really don't like this. Java is far from my first choice for embedded platforms. Why put a VM on a resource-limited device? Once, I played with an 8051 with a Java VM on it! Can you imagine?!? (I used the C route)

The one Java app I tried to port to the Kindle failed miserably because the embedded Java platform didn't support generics (which were used EVERYWHERE) or assertions (okay, not a big deal). Write once run anywhere? Riiight.

A huge number of platforms are running Linux, and it's dead easy to use Qt on just about any embedded Linux platform. I'd say Qt is better at cross platform than Java at this point. I am somewhat biased, though. :)

like image 42
darron Avatar answered Nov 08 '22 22:11

darron