![]() |
#436 | |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
Quote:
What I am planning on doing is getting the calendar app to create a help file in the Calendar data folder with instructions about the different types of events that can be added when manually editing the data file. I am sorry about the crash. I haven't yet tested the settings pop up on my 600. If you want to change the setting so that the week starts on Monday, simply add a text file to the Calendar data folder called settings.dat with the following text: Code:
WeekBeginsWith:Mon Hope that helps! Sincerely, Ben. |
|
![]() |
![]() |
![]() |
#437 |
Enthusiast
![]() ![]() Posts: 44
Karma: 198
Join Date: Mar 2011
Location: Russia, Saratov
Device: Sony PRS-350
|
BenChen All work fine, but color of today square not different from other (on my 350)
P.S. In mode "Monday first" Last edited by TJ27; 07-18-2011 at 02:23 AM. |
![]() |
![]() |
![]() |
#438 |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
|
![]() |
![]() |
![]() |
#439 |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
Hi everyone,
I've fixed the problem with the "today" square not being marked in Monday first mode. Changes pushed to the repository. I haven't been able to do anything about checking the settings pop-up yet. Sorry! Sincerely, Ben. |
![]() |
![]() |
![]() |
#440 | |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
Quote:
Define a "REM" character like # and check for it before pushing to events. With this you can have the "documentation" within the dat-file #Y<early;Month; Day; Year; Description Y;1;1;2006;New Year's Day #V<alentine's Day Icon;Month;Day;Year; Description V;2;14;2005;Valentine's Day #F<loating; 3;0;0;Easter Sunday F;3;0;0;Easter Sunday #F<loating;Month;occurrence;DayofWeek; Description F;11;4;5;Thanksgiving Regard Mark PS: Will try to check with my PRS-505 Last edited by Mark Nord; 07-18-2011 at 06:09 AM. Reason: typos (as usual) |
|
![]() |
![]() |
![]() |
#441 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 318
Karma: 1846
Join Date: Dec 2009
Device: PRS-505
|
Quote:
thanks Last edited by VICTORSJG; 07-18-2011 at 11:31 AM. |
|
![]() |
![]() |
![]() |
#442 |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
Hi Victor,
the latter. BTW: folder (subdirectory) and calendar.dat will be created automatically after the first use. [EDIT] it wouldn't on PRS300/500 as doHold0() points only to exitif(), should be redirected to doRoot() [/EDIT] HTH Mark Last edited by Mark Nord; 07-18-2011 at 03:32 PM. |
![]() |
![]() |
![]() |
#443 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 318
Karma: 1846
Join Date: Dec 2009
Device: PRS-505
|
Ben, maybe these files might be of help to you, to create and keyboard (i suposse it should be better a keyboard as Mark created for the calculator instead this, but it's an idea to begin, i don't know if it's possible to create differente keyboards to select them like prs x50) to use in calendar and even dictionary. Apart from these files incorporate a shell to use on prsplus like as pc with linux.
Last edited by VICTORSJG; 07-18-2011 at 11:58 AM. |
![]() |
![]() |
![]() |
#444 |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
Ben,
fixed the settings-dialog for non-touch-readers by assigning doCenter = doCenterF() and pushed it to apps-repository. Some additional thoughts: doHold0 should call the same code as doRoot in calendar. Otherwise PRS300/505 will not save calendar.dat! wordDays[..] could be used instead of string-literals here Code:
if (weekBeginsWith=="Mon") { this.labelSun.setValue(wordDays[1]); this.labelMon.setValue(wordDays[2]); ... Giving a first approach for localization. Regards Mark PS: Virtual-Keyboard (re)posted by VictorSJG (originally writen by m-land) is xDicto in the Sim. Non-Touch-Skin is required to use it. But I'm nearly sure that the build in keyboard could be accessed for 600/x50 touch-type-readers, but as RL is realy busy right now I can't be of great help for the next few weeks. Last edited by Mark Nord; 07-18-2011 at 03:45 PM. |
![]() |
![]() |
![]() |
#445 | |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
Quote:
Thanks for the fix! I will certainly apply what you suggest. I have been thinking about keyboards, but the first step is to create an event browser popup. If I can get it working, I might include an English keyboard as well, but try and program it in a way that other keyboard layouts could be swapped in (might be difficult, though!) I go on holidays later this week, so I probably won't have a lot of time for programming, either. We'll see. At least the calendar app is at a reasonably usable stage, as long as people don't mind editing the event file manually. Sincerely, Ben. |
|
![]() |
![]() |
![]() |
#446 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
|
Hi Ben,
Please, a little help to edit events on Calendar.dat file. I write: Yearly events with icon: ![]() <letter;month;day;year;text> example: C;12;25;0;Christmas The year is 0 becouse the event is for all years. Letter and icons: C=Christmas V=Saint Valentin's Day B=Birhday A=anniversari Yearly events without icon: ![]() <Y;month;day;year;text> example: Y;11;6;0;Constitution day Weekly events (no icon); ![]() ![]() <W;0;day of week;0;Text> exemple: W;0;6;0;Sunday This event mark all sundays of calendar Mensualy events: ![]() I do not know how to write the event or I do not know how it works. Does it work well? Event on only a day: <D;month;day;year;text> example: D;7;22;2011;Go to the theatre ¿Is correct? I see the event on the calendar but but no text is written. ![]() Thanks Last edited by surquizu; 07-19-2011 at 05:24 AM. |
![]() |
![]() |
![]() |
#447 | |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
Quote:
For a one-off event (one that doesn't repeat), leave the first part blank. For example, Code:
;7;19;2011;One off event Ben. |
|
![]() |
![]() |
![]() |
#448 |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
Hi everyone,
I've just pushed an update to Calendar to the repository. This is an alpha release, suitable for the Sim, but please don't try this on your readers. @MARK: I was wondering, if you have the time, can you take a look at this, please. I cannot for the life of me work out why the doPlusMinus function is not triggering when the Event Popup is visible. I would greatly appreciate a second pair of eyes looking at this, since I cannot see why similar code works in MineSweeper and Chess but not here! Thanks in advance... Sincerely, Ben. |
![]() |
![]() |
![]() |
#449 |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
Ben,
At a first glimpse it might by the "debug"-code. Try target.bubble() instead of this.bubble() Can't try anything at work, but will have a closer look in the evening. Regard Mark |
![]() |
![]() |
![]() |
#450 | |
EPUB Metadata ******
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 525
Karma: 26874
Join Date: Dec 2010
Device: Kobo Glo HD
|
Quote:
Ooh, well done! That was it. Now, on with the rest of the debugging... Sincerely, Ben. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |