View Single Post
Old 06-10-2013, 09:07 AM   #414
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
@taming: The answer is not really. The tile is created from an entry in the Activity table. This is updated by the device when it processes the books, or you do some action based on the book.

My utilities plugin has an option to dismiss types of tiles. It dismisses all the tiles of that type. There is one type missing from the list. This is the "RecentBooks" tile. Any book by itself on the home screen is a "RecentBook" tile. The text under it depends on the reading status of the book. Newly added books will have an unread status and shown as "New" in the tile.

To dismiss these means checking the Activity table for the "RecentBooks" status and then the "content" table for the book. It might be possible to do something with the Data column, but I haven't spent much time decoding that.

The only way to really achieve what you want is to add a database trigger. This would set the enabled flag for the Activity row to false whenever the row was added or changed. Doing this for all of the tiles of a particular type is easy. The more selective case you want, is a little harder. I haven't looked at this because the new book tiles don't bug me.

Last edited by davidfor; 06-10-2013 at 10:13 PM. Reason: Had "RecentRead" in place that should have been "RecentBooks"
davidfor is offline   Reply With Quote