Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Sony Reader > Sony Reader Dev Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 06-09-2010, 01:29 PM   #1276
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
m-land
Quote:
Is there any reason why they are not loaded one by one (load single script, run single script)..
Performance.

You should create minified combine addons js using build script (you'll find it in one of tmp subdirectories) then just have that file + yours, it should fit.
kartu is offline   Reply With Quote
Old 06-10-2010, 03:42 AM   #1277
m-land
Enthusiast
m-land has learned how to buy an e-book online
 
Posts: 41
Karma: 86
Join Date: Jul 2009
Device: PRS-505
Quote:
Originally Posted by kartu View Post
m-land
You should create minified combine addons js using build script (you'll find it in one of tmp subdirectories) then just have that file + yours, it should fit.
Thanks for response but it does not help. (OK, it helps a little but I'm confused even more now)
I used addon.js, removed dictionaryCL (I want to use my own) and put into directory addon.js+dictionaryCL.js+my file VirtualKeyboard.js = script is too big (total of about 48K - much less than 'estimated limit' of 100K). When I remove dictionaryCL.js it works (44K). On the other hand original content of addon directory has 72K (on my own even 76K) and it works!

I still have some work to do which I can test in Mark's TestEnvironment anyhow so I can postpone my 'field-test'
m-land is offline   Reply With Quote
Old 06-10-2010, 03:49 AM   #1278
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
m-land
100k was a rough guess and it seems that it's not necessarily bound to file size.

Quote:
On the other hand original content of addon directory has 72K (on my own even 76K) and it works!
You've probably overlooked something, it cannot be that compressed version doesn't start, when uncompressed works.

You could also drop KeyBindings addon, which is the biggest one so far..
kartu is offline   Reply With Quote
Old 06-10-2010, 04:28 AM   #1279
kravitz
Connoisseur
kravitz doesn't litterkravitz doesn't litter
 
Posts: 51
Karma: 104
Join Date: Mar 2010
Device: 505, Kindle PW
Quote:
Originally Posted by m-land View Post
I still have some work to do which I can test in Mark's TestEnvironment anyhow so I can postpone my 'field-test'
Why you are not using Beta Tester Pack for testing?
kravitz is offline   Reply With Quote
Old 06-10-2010, 04:38 AM   #1280
m-land
Enthusiast
m-land has learned how to buy an e-book online
 
Posts: 41
Karma: 86
Join Date: Jul 2009
Device: PRS-505
Quote:
Originally Posted by kravitz View Post
Why you are not using Beta Tester Pack for testing?
Does 'Beta tester pack' mean that Core and Addon files/folders are on SD card or it is something else?
Anyhow basic testing and developement is much easier and faster for me with Mark's TestEnviro (no need to copy files, no need to of connecting USB and waiting, no need to play with SD card).
When it is working I start testing with SD card and real reader - but with VirtualKeyboard I have problem - 'script too big' error as discussed in previous posts.
m-land is offline   Reply With Quote
Old 06-10-2010, 05:31 AM   #1281
kravitz
Connoisseur
kravitz doesn't litterkravitz doesn't litter
 
Posts: 51
Karma: 104
Join Date: Mar 2010
Device: 505, Kindle PW
Quote:
Originally Posted by m-land View Post
When it is working I start testing with SD card and real reader - but with VirtualKeyboard I have problem - 'script too big' error as discussed in previous posts.
A few days ago I have tried to run yours keyb (xDictionaryCL) and it worked.
Please attach version which you can't start. VK.zip is not full archive, isn't it?
kravitz is offline   Reply With Quote
Old 06-10-2010, 06:26 AM   #1282
m-land
Enthusiast
m-land has learned how to buy an e-book online
 
Posts: 41
Karma: 86
Join Date: Jul 2009
Device: PRS-505
Quote:
Originally Posted by kravitz View Post
A few days ago I have tried to run yours keyb (xDictionaryCL) and it worked.
Please attach version which you can't start. VK.zip is not full archive, isn't it?
VK.zip was ony to demonstrate my problems. Here is current version. Still the same, put it into xDictionaryCL directory.
Some Kartu's remarks are included there (hiding of private methods to mention most important) but VirtualKeyboard.js is still loaded by xml file. I want to put it into addons file directly (and add some settings pages) but I have 'big script' problem. Would be nice if you can take a look - perhaps I'm doing something horribly wrong.
Attached Files
File Type: zip kb.zip (26.1 KB, 178 views)
m-land is offline   Reply With Quote
Old 06-10-2010, 10:41 AM   #1283
kravitz
Connoisseur
kravitz doesn't litterkravitz doesn't litter
 
Posts: 51
Karma: 104
Join Date: Mar 2010
Device: 505, Kindle PW
m-land
Try this Beta tester pack
1. Place yours addon into addons1 folder
2. Use Core.config.addonsPath1 instead Core.config.addonsPath
Attached Files
File Type: zip btpv4.zip (303.1 KB, 202 views)
kravitz is offline   Reply With Quote
Old 06-10-2010, 02:05 PM   #1284
enooch
Enooch Root
enooch began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2010
Location: N-sk
Device: prs-505,prs-600
btp v4 don't load from ms card

Kravitz
Prs+ 1.1.3.
I copy btp in root folder ms card, disconnect from usb, but calc not appear in games menu.
What did I do wrong?
enooch is offline   Reply With Quote
Old 06-10-2010, 02:09 PM   #1285
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
enooch
Works only with SD, sorry.
kartu is offline   Reply With Quote
Old 06-10-2010, 02:33 PM   #1286
enooch
Enooch Root
enooch began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2010
Location: N-sk
Device: prs-505,prs-600
Kartu.
Tnx for the quick response I'm going to sleep. Sleep on it. Buy tomorrow SD card.
enooch is offline   Reply With Quote
Old 06-10-2010, 03:14 PM   #1287
m-land
Enthusiast
m-land has learned how to buy an e-book online
 
Posts: 41
Karma: 86
Join Date: Jul 2009
Device: PRS-505
Quote:
Originally Posted by kravitz View Post
m-land
Try this Beta tester pack
1. Place yours addon into addons1 folder
2. Use Core.config.addonsPath1 instead Core.config.addonsPath
so simple thanks
m-land is offline   Reply With Quote
Old 06-10-2010, 04:50 PM   #1288
VICTORSJG
Addict
VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.
 
Posts: 318
Karma: 1846
Join Date: Dec 2009
Device: PRS-505
Kartu & Kravitz, how can i localized a text of a file.xml?

thanks

Last edited by VICTORSJG; 06-10-2010 at 05:04 PM.
VICTORSJG is offline   Reply With Quote
Old 06-11-2010, 03:25 AM   #1289
kravitz
Connoisseur
kravitz doesn't litterkravitz doesn't litter
 
Posts: 51
Karma: 104
Join Date: Mar 2010
Device: 505, Kindle PW
Quote:
Originally Posted by VICTORSJG View Post
Kartu & Kravitz, how can i localized a text of a file.xml?
Which file do you wish to localize? Give an example, please.
kravitz is offline   Reply With Quote
Old 06-11-2010, 04:11 AM   #1290
m-land
Enthusiast
m-land has learned how to buy an e-book online
 
Posts: 41
Karma: 86
Join Date: Jul 2009
Device: PRS-505
I found following file fragment inside applicationStart.xml:
Code:
			<boolean key="0x41" do="doQuiet"/>
			<boolean key="0x41-hold" do="doMute"/>
			<boolean key="0x40" do="doLoud"/>
			<boolean key="0x40-hold" do="doMute"/>
Please notice there is twice doMute. Error?
m-land is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using HD Folders as Collections on Sony PRS-505 fglaysher Calibre 8 07-26-2010 09:55 PM
Enhanced Firmware for V3 keng2000 HanLin eBook 12 04-12-2010 09:30 AM
Poll: Sony Reader PRS-505 upgrade to Sony PRS-700 Kris777 Sony Reader 70 02-18-2009 06:34 PM
Sony Reader PRS-505 upgrade to Sony PRS-700 Kris777 Sony Reader 23 12-08-2008 06:56 AM
Sub folders in firmware v1.08 Prince Hal Amazon Kindle 28 10-23-2008 03:20 PM


All times are GMT -4. The time now is 10:44 PM.


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