Quote:
Originally Posted by knc1
Must it be QT?
We can fix you up with a cross-Kindle models GTK+
|
Thanks! But I'm a Qt-guy
Quote:
Originally Posted by ixtab
"Kindlet" and "QT" are mutually exclusive: Kindlets are pure Java apps, and you won't be able to access QT from within a Kindlet. Conversely, to start a native-mode app, you don't need a Kindlet.
1. No, no full-screen Kindlets.
2. developer/<Kindlet name>/work/crash.log on the usb storage.
|
ixtab,
Recently we use Qt over framebuffer in K3,K4,KT,KPW. Besides I use Qt over X11 for KT.
But ...
Qt programs are not interact with Kindle shell at all !
1. Qt programs - screen server is not working
2. Qt programs - we need to stop CVM and grab it's input - dirty hack
3. Kindle status bar with time and battery level is not visible
4. We use different Qt builds and different Qt plugins for each Kindle.
...
I want to write Qt plugins "Qt over kindlet" as I've made for Android.
The idea is:
1. Qt application is started from Kindlet.
2. Kindlet acts as server, Qt application - client
3. Kindlet -> Mouse and keyboard events -> Qt application
4. Qt application -> Bitmaps to draw -> Kindlet
Kindlet and Qt application uses socket for data exchange. For Android I'm going to change socket to shared memory (ashmem) for graphics output because socket is a bit slow. But it is not actual for eink.
It's simple for me to implement plugins for Qt for that but I need also to implement a Kindlet. I need to create the "BufferedImage" but the following code fails due to unknown reason:
BufferedImage img = new BufferedImage(20,20,BufferedImage.TYPE_USHORT_GRAY );
ixtab,
Thanks! Just I've opened crash.log and see error:
java.lang.IllegalArgumentException: Unknown image type 11
Now I need to find legal image type instead of TYPE_USHORT_GRAY.