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 11-03-2011, 08:56 AM   #601
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: 522
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Quote:
Originally Posted by VICTORSJG View Post
Ben thanks for fixed the problem, i want to ask you a modification for the non-touch readers, is it posible to modify the keyboard of the non-touch readers to have the same numbers of the keys on keyboard like touch reader? because i've seen this keyboard has a lot keys more than the non-touch (for example it incorporates numbers and othe symbols).

thanks
Hi Victor,

Unfortunately, what you ask for is impossible. With the non-touch version of the calendar, we have reached the limit of what the Sony readers can handle in one js file. Because the non-touch version requires SO much extra code in order to move the cursor around, when I recently extended the keyboard the whole application stopped working. I could only get it working again by deleting all the code that the non-touch version needed. It was then that the calendar code was forked: a touch (with the extended keyboard) and a non-touch (without) versions. Sorry about that, but there is nothing I can do!

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 11-03-2011, 02:58 PM   #602
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
Ok Ben, no problem, why isn't eastersunday shown on calendar?
VICTORSJG is offline   Reply With Quote
Advert
Old 11-04-2011, 01:19 AM   #603
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: 522
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Quote:
Originally Posted by VICTORSJG View Post
Ok Ben, no problem, why isn't eastersunday shown on calendar?
Hi Victor,

It is shown on mine. Are you sure the Easter Sunday event is in your calendar data file? It should look like this:

F;3;0;0;14;Easter Sunday

If it isn't there, you will have to add it manually, since the event editor popup cannot add zeros.

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 11-04-2011, 10:53 AM   #604
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
Quote:
Originally Posted by BenChen View Post
Hi Victor,

It is shown on mine. Are you sure the Easter Sunday event is in your calendar data file? It should look like this:

F;3;0;0;14;Easter Sunday

If it isn't there, you will have to add it manually, since the event editor popup cannot add zeros.

Sincerely,
Ben.
Ben i had other calendar.dat file with others adjustements, so the configuration of eastersunday was differente between both.

thanks
VICTORSJG is offline   Reply With Quote
Old 12-20-2011, 11:05 AM   #605
Mark Nord
2B || !2B
Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.
 
Posts: 851
Karma: 194010
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
latest changes to the Sim-Engine

Inspired by kartu's bubble-code for PRS+, I included similar functionality into the Sim-Engine. This way the simulated key-input now reaches the actual focus. (e.g. dialiog windows)

But unexpectedly some apps stopped working in PRS-505 mode after this change.

The problems is cause by the last lines of
Code:
    <function id="modelChanged">
            ...
            this.state = state;
            target.init();
             if (target.isEnabled())
                {
                target.focus(true);
                };
        }
        </function>
So that target.focus(true) wasn't called at all.

There are two solutions to this:
  • remove the condition
  • add this.enable(true); to target.init

BTW I can't figure out why some App's "become" enabled, while other need the explicit call?
Mark Nord is offline   Reply With Quote
Advert
Old 04-15-2012, 03:02 PM   #606
Mark Nord
2B || !2B
Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.
 
Posts: 851
Karma: 194010
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Hi,
just decapitated Frotz-App in the SIM (code is in the apps-repository) to be used as sandbox for 300/505 keyboard.
Changed key-layout to have 10 keys in each row -> numeric keys can be used for input,
added two "special" keys left and right of the space-bar (as seen on the T1)
Those keys can provide e.g. "/"
Added code to handle hold for center-key and numeric-keys -> PopUp with additional "accented" key.

Thats what I have so far.
Next: move keyboard in it's own XML, and integrate it into main.xml via <view> (See popUpMenu)
Move JS from sandbox to Core-level.
Intrioduce new button-assets with less hight, so that eventually a fifth row (with "soft-keys") or at least a line with number 1 to 0, as "helper" can be done. Should we try a vertical "helper" infront of the numeric-keys too?

IMHO for 600+ we should aim to use the standard-Sony-keyboard, with the same hold-functionality for touch-devices, or - at least - try to reproduce this functionality.
Which would be
A) check if we can use custom-hold with buttons
B) overload key-down to log the system-time and check in key-up for hold
Mark Nord is offline   Reply With Quote
Old 04-15-2012, 04:58 PM   #607
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 tested this version but when the lines written over the maximun of the lines per screen only the buttom up is shown apart from the lines are not shitf to up when the button is press.

thaks
Attached Thumbnails
Click image for larger version

Name:	Portapapeles01.jpg
Views:	351
Size:	45.5 KB
ID:	85322  
VICTORSJG is offline   Reply With Quote
Old 04-16-2012, 12:24 AM   #608
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: 522
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
Quote:
Originally Posted by Mark Nord View Post
IMHO for 600+ we should aim to use the standard-Sony-keyboard, with the same hold-functionality for touch-devices, or - at least - try to reproduce this functionality.
Which would be
A) check if we can use custom-hold with buttons
B) overload key-down to log the system-time and check in key-up for hold
Hi Mark,

Looks good.

For 600/x50, I would love to be able to use the standard Sony keyboard in IntFic and CLI (and Calendar?) if you know how to.

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 04-16-2012, 02:35 AM   #609
Mark Nord
2B || !2B
Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.
 
Posts: 851
Karma: 194010
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Quote:
Originally Posted by VICTORSJG View Post
Mark I've tested this version but when the lines written over the maximun of the lines per screen only the buttom up is shown apart from the lines are not shitf to up when the button is press.

thaks
Thats why I wrote "decapitated", this code state is just to show my intent.
Aiming to have a "system"-keyboard for 300/505 too. So that this code hadn't to be integrated into each separat app.
But thats another story, and way to go.
Mark Nord 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 02:11 AM.


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