View Single Post
Old 10-22-2008, 03:39 PM   #15
jharker
Developer
jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.jharker could sell banana peel slippers to a Deveel.
 
Posts: 345
Karma: 3473
Join Date: Apr 2007
Location: Brooklyn, NY, USA
Device: iRex iLiad v1, Blackberry Tour, Kindle DX, iPad.
Quote:
Originally Posted by uso View Post
I doubt they will release the Mobipocket viewer... but depending on how they have structured their code, they may be able to release the code for interacting with the hardware buttons.
This code would be a library for use from other programs, not a complete program by itself.
Hardware buttons are handled via GTK/X as key presses. So you should be able to get that pretty easily from within Java. See my extensive discussion in this thread. All hardware buttons except the special folder buttons ("books", "news", etc.) are handled this way.

That thread also discusses how buttons are handled at a more basic level.
jharker is offline   Reply With Quote