Thread: PRS-T1 Modified Sony home screen
View Single Post
Old 01-12-2012, 06:44 PM   #29
rupor
meat popsicle
rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!rupor rocks like Gibraltar!
 
rupor's Avatar
 
Posts: 225
Karma: 100000
Join Date: Jul 2007
Location: USA
Device: Kindles, Pixels, iPads
Quote:
Originally Posted by Morkl View Post
I don't know about the ContentManager, but EbookHome has a launchBook method that is used whenever a book is to be launched. I would expect the ContentManager to behave similarly.
In ContentManager each activity has its own launchBook method with slightly different bodies - which totals 5

By the way settings module remembers path to the last book it used to setup standby screen - so it should be safe to call it multiple times for the same book.

So after last reading time is properly set - you just need to do

Intent intent = new Intent("android.intent.action.book_selected");
sendBroadcast(intent);

to update standby picture from home page.

Last edited by rupor; 01-12-2012 at 06:48 PM.
rupor is offline