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 09-06-2011, 07:42 PM   #526
surquizu
Evangelist
surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.
 
surquizu's Avatar
 
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
Quote:
Originally Posted by BenChen View Post
Hi kartu,

I just had to add one more thing to Calendar, anticipating a future complaint! Now there is an indicator on each day showing how many events are on that day (if greater than zero). Changes have been pushed to the repositories.

And with that, I won't add anything more! Let me know if there is something specific you would like me to help with (other than the 950 problem - that one is beyond me, I am afraid...)

Sincerely,
Ben.
Hi Ben,

I have redesigned the events pop-up panel to write and see the text of the events as in the main screen. Ben, you think that is interesting?

Thanks
Attached Thumbnails
Click image for larger version

Name:	2011-9-7_1.jpg
Views:	234
Size:	61.9 KB
ID:	76208   Click image for larger version

Name:	2011-9-7_0.jpg
Views:	251
Size:	54.5 KB
ID:	76209  
Attached Files
File Type: xml calendar.xml (39.0 KB, 402 views)

Last edited by surquizu; 09-06-2011 at 07:45 PM.
surquizu is offline   Reply With Quote
Old 09-06-2011, 08:27 PM   #527
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
Mark, i've seen some translations of bookmanager missing in lang.ods and others they have different name that in the script.
VICTORSJG is offline   Reply With Quote
Old 09-07-2011, 03:49 AM   #528
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Quote:
Originally Posted by surquizu View Post
Hi Ben,

I have redesigned the events pop-up panel to write and see the text of the events as in the main screen. Ben, you think that is interesting?

Thanks
Hi surquizu,

I understand why you want to do this. But actually I don't want to encourage people to use long event descriptions. Recently, I changed the program so that if there are more than 6 events on a particular day, then the user can scroll down to see them. But it only works correctly if the event description takes up only one line.

So I don't want to change the layout just yet. However, you can still use your layout in your custom build!

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 09-07-2011, 10:24 AM   #529
surquizu
Evangelist
surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.
 
surquizu's Avatar
 
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
Quote:
Originally Posted by BenChen View Post
Hi surquizu,

So I don't want to change the layout just yet. However, you can still use your layout in your custom build!

Sincerely,
Ben.
So I will . For I want to use I prefer more than one line per event. Thank you.

A question: I tried putting in the design of pop-up another button "cancel" next to the button "delete" to get easy a second way to exit events panel for PRS-505 (non-touch reader). I get to the button and works with the touch, but I can not select it with the joypad. Can you give me a clue to the necessary programming?

surquizu is offline   Reply With Quote
Old 09-07-2011, 10:43 AM   #530
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Quote:
Originally Posted by surquizu View Post
So I will . For I want to use I prefer more than one line per event. Thank you.

A question: I tried putting in the design of pop-up another button "cancel" next to the button "delete" to get easy a second way to exit events panel for PRS-505 (non-touch reader). I get to the button and works with the touch, but I can not select it with the joypad. Can you give me a clue to the necessary programming?

Hi surqizu,

That's really difficult to explain here! A much easier option would be to use one of the 505's physical buttons that performs the cancel when the event popup is visible. For example, if we use the "Mark" button, change the procedure

Code:
	target.doMark = function () {
		monthNum=todaysMonth;
		yearNum=todaysYear;
		this.dateChanged();			
		return;
	}
to

Code:
	target.doMark = function () {
		if (eventsDlgOpen) {
			target.EVENTS_DIALOG.btn_Cancel.click();
		} else {
			monthNum=todaysMonth;
			yearNum=todaysYear;
			this.dateChanged();
		}
		return;
	}
Then you just need to add a label on the event popup that says "[Mark] Cancel".

Now, all this programming was not tested, so it might not work as I expect! Let me know how you get on...

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 09-07-2011, 12:07 PM   #531
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Hi surquizu,

Actually, you would also need to add another function line (somewhere around line 469 of calendar.xml) that says

Code:
<function id="doMark">		this.container.doMark(); </function>
Hope that makes it work!

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 09-07-2011, 01:49 PM   #532
surquizu
Evangelist
surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.
 
surquizu's Avatar
 
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
Quote:
Originally Posted by BenChen View Post
Hi surqizu,

That's really difficult to explain here! A much easier option would be to use one of the 505's physical buttons that performs the cancel when the event popup is visible. For example, if we use the "Mark" button, change the procedure

Code:
	target.doMark = function () {
		monthNum=todaysMonth;
		yearNum=todaysYear;
		this.dateChanged();			
		return;
	}
to

Code:
	target.doMark = function () {
		if (eventsDlgOpen) {
			target.EVENTS_DIALOG.btn_Cancel.click();
		} else {
			monthNum=todaysMonth;
			yearNum=todaysYear;
			this.dateChanged();
		}
		return;
	}
Then you just need to add a label on the event popup that says "[Mark] Cancel".

Now, all this programming was not tested, so it might not work as I expect! Let me know how you get on...

Sincerely,
Ben.
Quote:
Originally Posted by BenChen View Post
Hi surquizu,

Actually, you would also need to add another function line (somewhere around line 469 of calendar.xml) that says

Code:
<function id="doMark">		this.container.doMark(); </function>
Hope that makes it work!

Sincerely,
Ben.

Thanks, but..

I do not understand , it works perfect in eBookSim but not work on reader
surquizu is offline   Reply With Quote
Old 09-07-2011, 02:25 PM   #533
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
surqizu,

I assume the button works if clicked on with the mouse, but you can't access it by only using the cursor-key's and ENTER.
Sim's mouse-input is similar to the touch-input on 600/x50 but there is no representation for this with the 505.

So there is extensive code to allow the selection of on-screen-elements with the help of the cursor-keys in "target.ntHandleEventsDlg = function () " nt in the function-name stands for NonTouch
You will have to add handler-code to process your new button here.

So basically Ben is perfectly right if he suggest to simply use an standard-hardware-button instead of a FSK-Button on-screen, which couldn't be access without extensive additional code.

Hope that makes any sense to you

Regards
Mark

Last edited by Mark Nord; 09-08-2011 at 02:35 AM.
Mark Nord is offline   Reply With Quote
Old 09-07-2011, 02:52 PM   #534
surquizu
Evangelist
surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.
 
surquizu's Avatar
 
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
It works well with instructions from Ben. It was my mistake in the location code.

The changes are made ​​on the files of the repository. Here the files for upload if Ben wants.

Thanks Ben, Thanks Mark
Attached Thumbnails
Click image for larger version

Name:	2011-9-8.jpg
Views:	212
Size:	50.3 KB
ID:	76249  
Attached Files
File Type: rar calendar.rar (17.6 KB, 174 views)

Last edited by surquizu; 09-07-2011 at 07:29 PM.
surquizu is offline   Reply With Quote
Old 09-09-2011, 12:39 PM   #535
surquizu
Evangelist
surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.
 
surquizu's Avatar
 
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
Quote:
Comment by project member ben.chen...@gmail.com, Today (8 hours ago)
Hi there,

If anyone discovers that the arrow characters do not appear correctly (on the up/down scroll buttons next to the event description box, and the SHIFT and BACK buttons on the event popup) please let me know. As far as I know, the arrows are not yet included in the fonts on the 600, but I was told that all the other models would be OK.

Once the arrows are added to the fonts on the 600, I can delete the model check code...

Sincerely,
Ben.

Ben, the arrow characters do not appear correctly on the 505 (only arrows up and down).

PS
Perfect the OK and CLOSE with physical buttons. Thanks
Attached Thumbnails
Click image for larger version

Name:	2011-9-9.jpg
Views:	195
Size:	49.3 KB
ID:	76318  
surquizu is offline   Reply With Quote
Old 09-09-2011, 01:30 PM   #536
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Quote:
Originally Posted by surquizu View Post
Ben, the arrow characters do not appear correctly on the 505 (only arrows up and down).
Hi there,

I have pushed a temporary fix. It changes the labels back to the way they used to be. When the up and down arrows get added to the font, I can remove the fix.

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 09-18-2011, 10:25 AM   #537
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Bug report for Checkers

Hi there,

I saw this bug report on the-ebook.org, but Google translate did not help much. Can someone tell me what the problem is?

"В игре "шашки" есть ошибка - игра позволяет не бить вражескую шашку, а делать любой другой ход. Однако правила шашек обязывают игрока побить шашку противника, если у него есть такая возможность." (http://www.the-ebook.org/forum/viewt...=745358#745358)

Thanks!

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 09-18-2011, 10:43 AM   #538
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
Hi Ben,

the reported problem is, that capturing is not mandatory.

PS
Wanted to raise issue of not being able to capture backwards, but I guess it's ok according to English Draughts rules.
kartu is offline   Reply With Quote
Old 09-18-2011, 12:01 PM   #539
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Quote:
Originally Posted by kartu View Post
Hi Ben,

the reported problem is, that capturing is not mandatory.

PS
Wanted to raise issue of not being able to capture backwards, but I guess it's ok according to English Draughts rules.
Hi kartu,

Looks like I might have to add some options!

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 09-19-2011, 05:38 AM   #540
BenChen
EPUB Metadata ******
BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.BenChen is not intimidated by interfenestral monkeys.
 
Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Hi Mark,

Do you know if it is possible to do string translations in the Sim? There has been a request to internationalise the Calendar app and I don't want to do it without the Sim!

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fsk error, code = -13 Brian Charles Sony Reader 4 04-23-2010 04:21 PM
Fsk error code= -43 shrktank Sony Reader 1 12-24-2009 09:32 AM
Just a silly tweak: AUTORUN.INF for Windows Rootman Kindle Developer's Corner 3 12-04-2009 10:17 AM
Request for test in Windows XP kovidgoyal Calibre 5 08-26-2009 01:14 PM
Windows Develpment Environment issue itimpi Calibre 20 01-17-2009 07:15 PM


All times are GMT -4. The time now is 12:43 PM.


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