View Single Post
Old 01-13-2013, 10:37 AM   #3
ichrispa
Enthusiast
ichrispa shines like a glazed doughnut.ichrispa shines like a glazed doughnut.ichrispa shines like a glazed doughnut.ichrispa shines like a glazed doughnut.ichrispa shines like a glazed doughnut.ichrispa shines like a glazed doughnut.ichrispa shines like a glazed doughnut.ichrispa shines like a glazed doughnut.ichrispa shines like a glazed doughnut.ichrispa shines like a glazed doughnut.ichrispa shines like a glazed doughnut.
 
Posts: 40
Karma: 8604
Join Date: Dec 2012
Location: Germany
Device: Kobo Touch
Hi jackie_w,

changing the sqlite DB is never safe... it was just an idea. The commandline and some restarting features are of much more interest to me - but of course I want to also point out the possibility of customizing the UI as needed. The mentioned features are just the ones needed by me

EDIT: The screenshot capability would is actually there already. you can cat /dev/fb0 into the rgb565torgb program which I crosscompiled to run on arm. LibPNG is already crosscompiled, so I would only need to write some extra code to get a screenshot. Currently, this does the trick:
Code:
rgb565torgb < /dev/fb0 > convert -depth 8 -size 800x1280 -rotate 90 "$(date %Y%M%d-%H%m).png"
You need imagemagick on the kobo for that of course.
END OF EDIT

As promised, here are some proof of concept screenshots:

The Bookstore Interface on KT 2.3.2 should be known to everyone:


I hooked my UI in the Category page:



Which calls the local webpage on the kobo touch:



The page is interactive (though not very usefull for now). Heres the reboot button being pressed. The link in the image calls a php script linked as "system.php?action=reboot", which in turn executes the reboot command. I had to disable the action for taking this screenshot of course.



Yes, rebooting via interface is silly, since there is a nice comfy slider for that. Just wanted to demonstrate that my idea is feasable.

Last edited by ichrispa; 01-13-2013 at 10:42 AM.
ichrispa is offline   Reply With Quote