Originally Posted by log
Just keep in mind that it's actually recently read and added items that will show up there after the hack. Maybe Recent Books or something more generic would make more sense.
Very nice hack though.
Right you are! Therefore, I have updated my EbookHome.apk again; changing the SQL query that fetches the recent books to order by reading_time instead of added_date
In the disassembled EbookHome.apk: HomePageActivity.smali, line 2557:
const-string v5, "added_date DESC LIMIT 3"
is changed into
const-string v5, "reading_time DESC LIMIT 1,3"
So now I don't have to rely on the database being modified; e.g. if I get a memory card or decide to wipe the internal storage or whatnot.
The updated version is available at http://morkl.se/reader/recentlyread_v2.zip
if anyone wants to check it out.