View Single Post
Old 05-21-2008, 09:59 AM   #44
lisak
Member
lisak doesn't litterlisak doesn't litter
 
Posts: 20
Karma: 140
Join Date: Apr 2008
Device: Sony PRS-505
PRS505 javascript

Ok, so I finaly found some time to look at the source code and do some tests. I am especialy eager to find the solution for the large dictionary files, but so far it seems that I am stuck. ;(

Basicaly, I wasn't able to find any other method for reading from Stream object than readLine, which is used exclusively in all Sony Reader js applications I've found. stream.read(n) doesn't work, neither does stream.skip(n). Unless we find some way how to traverse through the stream faster, we won't be able to get significant speed boost, I am afraid.

I hoped I would be able to find something in /opt files in my PRS, but unfortunately, igorsk ebook.py dumper doesn't work for me (probably because I have PRS505) - it says that the device is not connected.

Does anybody have the idea how to progress? A dump of scripts from PRS might be usefull, maybe together with tinyhttp and libtinyhttp.so files, if somebody has it at hand...


EDITED:
Ok, I wish I read the previous posts here before I wrote this one - grep and runCommandResult would be probably the way to go.

Last edited by lisak; 05-21-2008 at 10:22 AM.
lisak is offline   Reply With Quote