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 08-15-2011, 11:44 AM   #481
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 there,

Event descriptions can only have one line.

However, if there is more than one event on a particular day, you can move between them using the + and - buttons on either side of the "Event" number.

Sincerely,
Ben.


You can write multi-line events (the calendar has six lines) but in the event editor you do not see the letters written after the first line. Then do appear in the calendar.
surquizu is offline   Reply With Quote
Old 08-15-2011, 01:32 PM   #482
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
You can write multi-line events (the calendar has six lines) but in the event editor you do not see the letters written after the first line. Then do appear in the calendar.
That is true, I guess. It should be possible to make the event description box bigger. It may also be possible to add a "RETURN" key to the on-screen keyboard.

Until then, if you want to add or edit multi-line event descriptions, you can edit the calendar.dat file when your reader is connected to a PC.

Sincerely,
Ben.

P.S. Actually, I was just thinking about the save file. Each event is separated using "\r\n" (CR LF) characters. So I am guessing you are using just the "\n" character on its own to separate the lines of a multi-line description. Is that right?

Last edited by BenChen; 08-15-2011 at 01:40 PM. Reason: Added a P.S.
BenChen is offline   Reply With Quote
Advert
Old 08-15-2011, 09:24 PM   #483
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
That is true, I guess. It should be possible to make the event description box bigger. It may also be possible to add a "RETURN" key to the on-screen keyboard.

Until then, if you want to add or edit multi-line event descriptions, you can edit the calendar.dat file when your reader is connected to a PC.

Sincerely,
Ben.

P.S. Actually, I was just thinking about the save file. Each event is separated using "\r\n" (CR LF) characters. So I am guessing you are using just the "\n" character on its own to separate the lines of a multi-line description. Is that right?
I did not use tabs or line breaks. I write a long sentence and calendar automatically separates it into multiple lines.

It's the same editing calendar.dat that using the event editor, but with the editor I write without seeing the typed letters.

Thanks
surquizu is offline   Reply With Quote
Old 08-20-2011, 12:21 PM   #484
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,

I have a minor update to the calendar app. I moved the second line of icons onto the first line, and added three new icons (work, school and meeting). Will it mess you up if I push the changes to the repository?

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 08-21-2011, 03:59 AM   #485
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
Hello Ben,

no problem at all, just push.

Regards
Mark
Mark Nord is offline   Reply With Quote
Advert
Old 08-22-2011, 06:15 AM   #486
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
Guys, tab should be used for indentation (I see spaces from time to time).

Chess uses gazillion of puzzle files, please use more effective format, check how it is done in sudoku for instance, one line per puzzle would work nicely.

Calendar sprites would use much less memory, if all squares were on the same line. Minesweeper sprites could be improved as well.

Other than that, good job!
kartu is offline   Reply With Quote
Old 08-22-2011, 06:47 AM   #487
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
Guys, tab should be used for indentation (I see spaces from time to time).

Chess uses gazillion of puzzle files, please use more effective format, check how it is done in sudoku for instance, one line per puzzle would work nicely.

Calendar sprites would use much less memory, if all squares were on the same line. Minesweeper sprites could be improved as well.

Other than that, good job!
Hi kartu,

The reason Chess uses many puzzle files is that each puzzle file is a saved game which is then loaded, using the same loading code. I guess it could be re-programmed, but I am unwilling to do it at the moment: real life and all that!

I have already fixed the Calendar sprites onto one line and the results pushed to the apps repository. Marc (I think) is intending to do some more work on the Calendar app so that other keyboards can be used, so perhaps after he is done the final version can be pushed to the main repository.

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 08-23-2011, 03:42 AM   #488
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 kartu,

I have been thinking about re-working the way the Chess puzzles are handled and I will give it a go when I have some time.

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 08-23-2011, 09:50 AM   #489
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 kartu,

Chess puzzles have been fixed. There are now only three files. Changes pushed to apps and default repositories.

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 08-24-2011, 04:24 AM   #490
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
Games node on the 600/x50

Hi kartu,

I was just wondering whether it was worth adding a Games node to the 600 / x50 PRS+. There have been quite a few comments from people asking that the games not be installed. I know that you, kartu, have told them to simply ignore the games. I have been thinking that a compromise might be possible: if we put all the games into a custom node, then at least they are not seeing all these games on their "More" pages. It makes it easier to ignore the games.

I have been using a Games node on my custom build for a while now, and since Mark's recent changes to the MenuCustomiser (Revision: 120b70d3e901), the games node has been accessible and everything has been working fine.

There is one small difference, though, between my custom games node and the one already used on the 505/300 and that is I have just included games in mine. I have left the Calculator and Calendar on the "More" page.

And I've also changed core_ui_menu.js so that custom nodes can also have a shortName and a comment field. Is that worth doing, too?

What do you think?

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 08-26-2011, 02:20 AM   #491
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
Ben,

does that mean that people would need to go reconfigure something in menu customizer to see the games?
kartu is offline   Reply With Quote
Old 08-26-2011, 03:21 AM   #492
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
Ben,

does that mean that people would need to go reconfigure something in menu customizer to see the games?
Hi kartu,

No, they don't have to do anything to see the games. The games node would appear on the "More" page. It's just that after Mark's changes, the Games node can be assigned to the home page.

Sincerely,
Ben.
BenChen is offline   Reply With Quote
Old 08-27-2011, 04:14 AM   #493
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
Ben,

ok, got it. What about those that would complain that they have to do additional cklick to get to some game?
kartu is offline   Reply With Quote
Old 08-27-2011, 04:26 AM   #494
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
Ben,

ok, got it. What about those that would complain that they have to do additional cklick to get to some game?
Well, with ten games, they don't all fit on the first "More" page, so there will almost certainly be multiple clicks to get to some of the games anyway!
BenChen is offline   Reply With Quote
Old 08-27-2011, 09:40 AM   #495
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 Mark Nord View Post
Hi Victor,

A file-manager is on the FR-List for PRS+, don't know if kartu has started this or what are his plans on this.

Regarding other file-types beyond books in browse-folders this is done for 600 and x50.

Relevant code is in model-config.js
Spoiler:
here is the code for 505
Code:
       media: {
                // types to be used to determine media type using "xs.isInstanceOf"
                types: [FskCache.text],
                // what kind it is, supported are: "book", "picture", "note", "audio"
                kinds: ["book"],
                // node prototypes to use when creating media nodes
                prototypes: [FskCache.tree.bookNode]
        },
and here for x50
Code:
media: {
                // types to be used to determine media type using "xs.isInstanceOf"
                types: [ FskCache.text  , FskCache.image, FskCache.notepad],
                // what kind it is, supported are: "book", "picture", "note", "audio"
                kinds: [ "book", "picture", "note"],
                // node prototypes to use when creating media nodes
                prototypes: [ FskCache.tree.bookNode, kbook.root.children.applicationRoot.children.pictures.prototype, FskCache.tree.notepadFreehandNode]
        },

with the right prototypes set, I assume also PRS-505 can browse other file-types too
Mark i've modified the 505config.js with the modifications like models x50, and Surquizu tested this file, but the reader doesn't find the images on browse folders, do you know is it posible on prs 505 to seek images and songs (on the rest of the models) like the x50 models?

thanks
Attached Files
File Type: zip 505_config.zip (2.3 KB, 140 views)

Last edited by VICTORSJG; 08-27-2011 at 12:56 PM.
VICTORSJG 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 04:24 AM.


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