Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 12-29-2021, 01:36 PM   #1
Kindleschokolade
Connoisseur
Kindleschokolade began at the beginning.
 
Posts: 59
Karma: 14
Join Date: Dec 2021
Device: kindle PW3
how to activate to previous application

Hello,
i am making extensive use of eips within a python script to write data to the screen.
Now when I am done with the script I would like to go reactivate whatever was on the screen before.
For example I had kual open but after my script the screen is just blank.
when I touch the screen where a kual button is, kual reactivates,.
How can I achieve that from a script?

Thanks
Kindleschokolade is offline   Reply With Quote
Old 01-09-2022, 12:29 PM   #2
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
cat /dev/fb0 > screen.dump

do stuff

cat screen.dump > /dev/fb0

<whatever eips flag does a simple refresh> (or fbink -s -f).

(There's an example of this in the ScreenSavers KUAL extension for the preview option. Also, probably in the KOReader startup script, IIRC).

Can also be handled via FBInk in a prettier way for API users via the fbink_dump/fbink_restore set of calls.
NiLuJe is offline   Reply With Quote
Advert
Old 01-11-2022, 08:05 AM   #3
Kindleschokolade
Connoisseur
Kindleschokolade began at the beginning.
 
Posts: 59
Karma: 14
Join Date: Dec 2021
Device: kindle PW3
Fantastic! Thanks.
Kindleschokolade is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle PW, Application Error, The selected application could not be started Imran Ahmad Kindle Developer's Corner 3 05-16-2021 09:52 AM
Activate 3G and wifi at once sjheiss Kindle Developer's Corner 4 02-21-2012 11:48 PM
Need to activate cookies to go online??? suechef2 Kobo Tablets 3 01-04-2012 09:22 PM
Application update: application not installed error Merischino Kindle Fire 4 12-01-2011 10:30 PM
Can i activate the reader in the UK barnetda Sony Reader 9 08-21-2007 09:00 AM


All times are GMT -4. The time now is 04:13 PM.


MobileRead.com is a privately owned, operated and funded community.