View Single Post
Old 08-15-2012, 07:58 AM   #29
Steve_Haley
CC iOS Developer
Steve_Haley is no e-book dilettante.Steve_Haley is no e-book dilettante.Steve_Haley is no e-book dilettante.Steve_Haley is no e-book dilettante.Steve_Haley is no e-book dilettante.Steve_Haley is no e-book dilettante.Steve_Haley is no e-book dilettante.Steve_Haley is no e-book dilettante.Steve_Haley is no e-book dilettante.Steve_Haley is no e-book dilettante.Steve_Haley is no e-book dilettante.
 
Posts: 142
Karma: 53024
Join Date: Jul 2012
Location: England
Device: Variety phones/tablets
Quote:
Originally Posted by Adoby View Post
OK. Perhaps use the database functionality in Android to store metadata? That way you could allow many more books, and also speed up start of the app? The transfer is rather slow so it should allow plenty of time to add/uppdate data in the database as each book is transfered.
Databases are actually rather slow, because it has to read from the device's hard-drive equivalent (flash storage). This is made worse by some phones/tablets having a restriction where only one app across the entire device can be accessing the flash drive. This means apps can end up waiting for the other ones to finish before being able to do their read/writes. Anyway, we do actually use the database, but we also store all the information in RAM for much quicker access. What Charles was saying was that we store *all* the info in RAM, including the thumbnails, and clearly that can't work with 1000+ books. We're going to have to change our system and make it be more choosy for this to work.

Regarding the transfer speed - we're also working on improving that. Maintaining compatibility with all desktop systems and all devices is a bit tricky, so please be patient
Steve_Haley is offline   Reply With Quote