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 10-03-2010, 02:43 PM   #1
enn
Member
enn began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Sep 2010
Device: Kindle 3, Kindle Voyage
Force reloading collections.json

Hello all,

Thanks to this site I see that the collections.json format is well understood, and there is some code out there to write it. However, it doesn't seem like anyone has yet found a way to get the Kindle to pick up on changes made to this file except by rebooting. I'm looking for a nicer and faster way to manage collections in code. Can anyone who is more familiar with the Kindle than I am suggest avenues of attack?
enn is offline   Reply With Quote
Old 10-03-2010, 04:58 PM   #2
enn
Member
enn began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Sep 2010
Device: Kindle 3, Kindle Voyage
It looks like the Kindle can sync collections across devices, if I'm reading this correctly and it's referring to the same kind of collection. Can anyone with multiple devices confirm?

from /opt/amazon/ebook/config/ServerConfig.conf:
Code:
#
# getDevicesWithCollections
# Args: 0 (filter) - should be one of: null (all), 'registered' or 'deregistered'
#
cmd.get.devices=getAllDevicesWithCollections
cmd.get.devices.urlkey=url.cde
cmd.get.devices.params=filter
cmd.get.devices.global.params=currentTransportMethod,currentCountry

#
# getCollections  
# Args: 0 (serialNumber) - Device serial number 
#       1 (deviceType) - Device type
#
cmd.get.collections=getCollections
cmd.get.collections.urlkey=url.cde
cmd.get.collections.params=serialNumber,deviceType
cmd.get.collections.global.params=currentTransportMethod,currentCountry
From the logs when a collection is created:
Code:
101002:235550 cvm[3805]: I CollectionsManagerImpl:Create:name=XXXXXXXX:
enn is offline   Reply With Quote
Advert
Old 10-03-2010, 06:57 PM   #3
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,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
The sync from another device is available in the Archive page, and, yes, it does work, and it is 'live', but it trims the collections content to only the books actually on the device you're syncing to.
NiLuJe is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DR1000 How can I force a re-index Spelly iRex 4 09-11-2010 09:30 AM
How to Force a F/W Update? NigelS Sony Reader Dev Corner 3 11-01-2009 08:44 PM
Creating collections within collections larlissm Sony Reader 2 10-04-2008 08:02 PM
Reloading Home page after USB transfer carld Amazon Kindle 0 07-04-2008 03:32 PM
Deleting and then Reloading Bookdesigner... Dr. Drib Sony Reader 5 04-26-2007 05:25 AM


All times are GMT -4. The time now is 06:32 AM.


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