Quantcast
Channel: MobileRead Forums - Kobo Developer's Corner
Viewing all articles
Browse latest Browse all 1570

Detecting if book being read / home screen in nickel

$
0
0
Hi,

I am trying to build an alternative way to launch koreader/other programs from within nickel, without relying on file monitoring.

My idea was to poll the /dev/input/event1 to check a particular region of the screen, and performing the desired action if touch coordinates are detected. Possibly print a small icon in the statusbar (if its possible to print to screen), which could be touched.

However I need a way to detect if the statusbar is hidden / we are reading something or if we are on the homescreen. Is there a way to accomplish something like this?

Viewing all articles
Browse latest Browse all 1570

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>