|
|
#1 |
|
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3
Karma: 2602
Join Date: Jul 2012
Device: kidnle touch
|
any hints on how to approach this? I am not an expert so I probably miss something fundamental. |
|
|
|
|
|
#2 |
|
Всё гениальное просто.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,028
Karma: 6382209
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
|
For the GUI to work on the kindle, it needs eink support. Even if it has framebuffer support, you need to trigger eink updates. That can be added to the code, or it can run as a background script the way Jesse Vincent did it for Savory (Qt/Calibre ported to run on the kindle).
Depending on WHICH kindle, it needs some input handling too (DX and K3 use different keycodes for their keyboards, K4 needs a 5-way joypad controlled onscreen keyboard, K5 needs a touchscreen onscreen keyboard and touchscreen mouse emulation). None of these are trivial.
__________________
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
![]() |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 151
Karma: 164959
Join Date: Dec 2011
Device: Palm IIIx, (iPhone|Kindle) Touch
|
Googling suggests that there are eTcl versions with X11 support.
If yours has then you still have to set the correct window title for anything to be shown. The KT environment uses the X11 window title for deciding how to stack and display the X11 windows. See this thread http://www.mobileread.com/forums/sho...d.php?t=162022. For a quick test of a X11 program you don't need to do anything else as the touch event on the KT is mapped to a standard X11 left mouse click event. |
|
|
|
|
|
#4 | |
|
Всё гениальное просто.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,028
Karma: 6382209
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
|
Quote:
__________________
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
![]() |
|
|
|
|
|
|
#5 |
|
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3
Karma: 2602
Join Date: Jul 2012
Device: kidnle touch
|
I played some more and found that the only thing that was missing in the tcl code was the line:
wm overrideredirect $wname on (where wname is the window name) I was able to run the etcl demos of the calculator and the ataxx game after adding this line. I also created a launcher and then run nicely. This means that existing Tk application with slight modification can run nicely on the kindle. of course the Etcl demos with the additional line need no further modification. |
|
|
|
|
|
#6 | |
|
Всё гениальное просто.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,028
Karma: 6382209
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
|
Quote:
Now we need a new Tk prefix, and a new Tk index, for these new Tk apps. ![]() P.S. Welcome to the 2600 club!
__________________
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
![]() |
|
|
|
|
|
|
#7 |
|
Zombie's worst nightmare
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 481
Karma: 1351474
Join Date: Jan 2012
Location: Far, far away (from radio shack) :(
Device: Kindle touch (hacked to the core) 5.3.2.1
|
Where did you add that line?
__________________
Annoying orange: Creepers, Beepers, where'd ya get those peepers? Creepers, Beepers, where'd ya get those eyes? Steve: (Where did I put that diamond sword again?) |
|
|
|
|
|
#8 |
|
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3
Karma: 2602
Join Date: Jul 2012
Device: kidnle touch
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| $0.01 in Kindle Store: Interactive Sudoku for Kindle 2 and Kindle DX - Volume 1 | Xia | Deals, Freebies, and Resources (No Self-Promotion) | 2 | 11-07-2009 10:06 AM |