View Single Post
Old 09-30-2011, 04:26 AM   #580
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 Mark Nord View Post
Ben,

there is no progress from my side. Go for it.

Regards
Mark
Hi Mark,

I have been adding multiple keyboard support to the Calendar app, but I have run into a major problem. After adding some code, I think it has become too big to run. I can't get it to work any more in the Sim, and when I tried it on my 600, it gives me the same result.

Now, I am pretty sure there is no serious error in the code. I have looked very hard and not found it. I have opened calendar.js in NetBeans and NetBeans found no formatting errors. And, most tellingly, if I remove one of the big functions required to handle the non-touch readers, either target.EVENTS_DIALOG.moveCursor or target.ntHandleEventsDlg, the code works. But leave them both in, and the code fails.

I am forced to conclude that the Calendar app, as it currently is, is at a dead end.

So, what I am proposing is that the Calendar app is forked: there will be a version for non-touch (basically, version currently in the default repository), and a touch version (with multiple keyboard functionality).

I will push the new version (unmodified, not working in the Sim) to the app repository, so you can take a look at the code, if you want to. But, unless you come up with something brilliant, I think I will have to go with Calendar_nt and Calendar, and modify the build script accordingly.

Sincerely,
Ben.
BenChen is offline   Reply With Quote