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 05-07-2022, 09:46 AM   #1
Pinarius
Junior Member
Pinarius began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2021
Device: Kindle Basic 10th generation
How to make KUAL first in the listing?

Is there any way for KUAL to be at the top of the list? When opening other ebooks it leaves the home screen. Is there a way to make it stay on the home screen?
Pinarius is offline   Reply With Quote
Old 05-07-2022, 02:02 PM   #2
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,531
Karma: 100606001
Join Date: Apr 2011
Device: pb360
Whenever you open KUAL it goes to the top, so just open it before it leaves the screen.
j.p.s is online now   Reply With Quote
Advert
Old 05-08-2022, 04:44 PM   #3
cearp
Member
cearp will become famous soon enoughcearp will become famous soon enoughcearp will become famous soon enoughcearp will become famous soon enoughcearp will become famous soon enoughcearp will become famous soon enough
 
cearp's Avatar
 
Posts: 17
Karma: 512
Join Date: May 2022
Device: 📚
I haven't looked into how the kindle keeps a record of the most recently accessed books. BUT theoretically, if the 'most recent' list is done by checking a timestamp for each book in a database, we could set the time last accessed value of KUAL to something far in the future (like the year 3000).
This may be a trick to getting KUAL to always show first - just an idea.
cearp is offline   Reply With Quote
Old 05-08-2022, 04:53 PM   #4
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,531
Karma: 100606001
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by cearp View Post
I haven't looked into how the kindle keeps a record of the most recently accessed books. BUT theoretically, if the 'most recent' list is done by checking a timestamp for each book in a database, we could set the time last accessed value of KUAL to something far in the future (like the year 3000).
This may be a trick to getting KUAL to always show first - just an idea.
Kindles keep track of book acces time in the sqlite database /var/local/cc.db

The initial timestamp on the file is used for the first setting.

setting an initial timestamp or an access time into the future is a good way to make a book not show up at all. This can also happen when the kindle clock time is very worng.
j.p.s is online now   Reply With Quote
Old 05-08-2022, 05:33 PM   #5
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,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
The timestamp of a booklet being way off can indeed lead to an application startup failure .
NiLuJe is offline   Reply With Quote
Advert
Old 05-08-2022, 05:53 PM   #6
cearp
Member
cearp will become famous soon enoughcearp will become famous soon enoughcearp will become famous soon enoughcearp will become famous soon enoughcearp will become famous soon enoughcearp will become famous soon enough
 
cearp's Avatar
 
Posts: 17
Karma: 512
Join Date: May 2022
Device: 📚
Thanks j.p.s - I see it now.
cc.db, table 'Entries', the 'p_lastAccess' column.
Although per both of your posts above, I shall not try out my idea!
Even if it didn't cause issues, it would only be temporary, timestamp would get updated on each launch of course.

What is cool though, is being able to set a cover for KUAL.
Just set 'p_thumbnail' for the KUAL row to something (I was lazy and just copied the path of a different book's thumbnail) - and that worked great.
Do we have any cover image for KUAL that we can use for this?

Last edited by cearp; 05-08-2022 at 05:55 PM.
cearp is offline   Reply With Quote
Old 05-08-2022, 07:15 PM   #7
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,531
Karma: 100606001
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by cearp View Post
Thanks j.p.s - I see it now.
cc.db, table 'Entries', the 'p_lastAccess' column.
Although per both of your posts above, I shall not try out my idea!
Even if it didn't cause issues, it would only be temporary, timestamp would get updated on each launch of course.

What is cool though, is being able to set a cover for KUAL.
Just set 'p_thumbnail' for the KUAL row to something (I was lazy and just copied the path of a different book's thumbnail) - and that worked great.
Do we have any cover image for KUAL that we can use for this?
twobob's avatar might be a good candidate.

It would likely need to be resized.
j.p.s is online now   Reply With Quote
Old 05-08-2022, 07:45 PM   #8
shamanNS
Guru
shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.
 
Posts: 998
Karma: 11500000
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5, Kobo Libra 2, Kindle PW1
Or the image used for non-booklet version of KUAL?

shamanNS is offline   Reply With Quote
Old 05-10-2022, 02:01 PM   #9
cearp
Member
cearp will become famous soon enoughcearp will become famous soon enoughcearp will become famous soon enoughcearp will become famous soon enoughcearp will become famous soon enoughcearp will become famous soon enough
 
cearp's Avatar
 
Posts: 17
Karma: 512
Join Date: May 2022
Device: 📚
Quote:
Originally Posted by shamanNS View Post
Or the image used for non-booklet version of KUAL?
Perfect - I haven't seen that for ages, thank you!
cearp is offline   Reply With Quote
Old 05-10-2022, 05:52 PM   #10
shamanNS
Guru
shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.
 
Posts: 998
Karma: 11500000
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5, Kobo Libra 2, Kindle PW1
I had to find it in KUAL's source code repository
shamanNS is offline   Reply With Quote
Old 05-10-2022, 10:05 PM   #11
Gaqs
Enthusiast
Gaqs began at the beginning.
 
Posts: 49
Karma: 10
Join Date: Dec 2019
Device: KT4, PW3
Quote:
Originally Posted by cearp View Post
Thanks j.p.s - I see it now.
cc.db, table 'Entries', the 'p_lastAccess' column.
Although per both of your posts above, I shall not try out my idea!
Even if it didn't cause issues, it would only be temporary, timestamp would get updated on each launch of course.

What is cool though, is being able to set a cover for KUAL.
Just set 'p_thumbnail' for the KUAL row to something (I was lazy and just copied the path of a different book's thumbnail) - and that worked great.
Do we have any cover image for KUAL that we can use for this?
Could you please go over on how to do that for a noob? I don't think I can access /var/local/cc.db from usb on my computer.
Gaqs is offline   Reply With Quote
Old 05-11-2022, 03:11 AM   #12
aguy
Junior Member
aguy began at the beginning.
 
Posts: 9
Karma: 10
Join Date: May 2022
Device: pw
Quote:
Originally Posted by cearp View Post
Thanks j.p.s - I see it now.
cc.db, table 'Entries', the 'p_lastAccess' column.
Although per both of your posts above, I shall not try out my idea!
Even if it didn't cause issues, it would only be temporary, timestamp would get updated on each launch of course.

What is cool though, is being able to set a cover for KUAL.
Just set 'p_thumbnail' for the KUAL row to something (I was lazy and just copied the path of a different book's thumbnail) - and that worked great.
Do we have any cover image for KUAL that we can use for this?
I think the cover is in the azw2 file
aguy is offline   Reply With Quote
Old 05-11-2022, 05:10 PM   #13
cearp
Member
cearp will become famous soon enoughcearp will become famous soon enoughcearp will become famous soon enoughcearp will become famous soon enoughcearp will become famous soon enoughcearp will become famous soon enough
 
cearp's Avatar
 
Posts: 17
Karma: 512
Join Date: May 2022
Device: 📚
Quote:
Originally Posted by Gaqs View Post
Could you please go over on how to do that for a noob? I don't think I can access /var/local/cc.db from usb on my computer.
I made a tiny extension to do it for you:
https://www.mobileread.com/forums/sh...13&postcount=3
cearp is offline   Reply With Quote
Old 05-11-2022, 07:57 PM   #14
Gaqs
Enthusiast
Gaqs began at the beginning.
 
Posts: 49
Karma: 10
Join Date: Dec 2019
Device: KT4, PW3
Quote:
Originally Posted by cearp View Post
I made a tiny extension to do it for you:
https://www.mobileread.com/forums/sh...13&postcount=3
Just saw that, thanks.

I was going to try to do it myself using kterm and vim but this is way better.
Gaqs is offline   Reply With Quote
Old 05-14-2022, 07:21 PM   #15
EndlessEggroll
Junior Member
EndlessEggroll began at the beginning.
 
Posts: 8
Karma: 12
Join Date: May 2022
Device: Kindle Oasis 3
Quote:
Originally Posted by cearp View Post
I made a tiny extension to do it for you:
https://www.mobileread.com/forums/sh...13&postcount=3
Thanks for the script, cearp!

I applied it on my KOA3 and it doesn't seem to work though... Do you have any idea why that could be?

I checked in cc.db and the change has been made but somehow the thumbnail still doesn't appear in the library.
EndlessEggroll is offline   Reply With Quote
Reply

Tags
kual


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bump KUAL KUAL+ extention j.p.s Kindle Developer's Corner 10 10-24-2019 04:04 PM
KUAL "listing bump" proof of concept j.p.s Kindle Developer's Corner 18 01-26-2019 08:05 PM
Library Listing? historybuff3737 Library Management 2 12-24-2017 05:30 AM
Touch Double listing.... kevenv Kobo Reader 2 01-26-2013 07:15 AM
Need help with library listing geko Calibre 2 06-29-2010 04:10 PM


All times are GMT -4. The time now is 02:35 PM.


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