maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [ANNOUNCE] Organiser Feed - Show upcoming calendar events on your event feed (https://talk.maemo.org/showthread.php?t=80141)

chillip 2011-11-22 12:35

Re: [ANNOUNCE] CalendarFeed - Show upcoming calendar events on your event feed
 
Quote:

Originally Posted by dkormalev (Post 1127316)
If you mean this one - http://store.ovi.com/content/221735, when I'm the author. Sometimes same ideas come to different minds, sorry for it. I think we even started development at same day (less or more). I've started at Nov, 14.

Yes, that's the one. No need to apologise - it's quite a coincidence (the name was just the first thing that came to my mind). I have been quite busy in the past month so I haven't really been developing it steadily (I think i started some time in early November).

Changing the name of this implementation would still be the best choice due to package name collisions and other things. Out of curiosity: which namespace in gconf are you using for the settings (I am currently using /apps/CalendarFeed) and I should make sure that they don't collide.

dkormalev 2011-11-22 12:39

Re: [ANNOUNCE] CalendarFeed - Show upcoming calendar events on your event feed
 
Quote:

Originally Posted by chillip (Post 1127326)
Changing the name of this implementation would still be the best choice due to package name collisions and other things. Out of curiosity: which namespace in gconf are you using for the settings (I am currently using /apps/CalendarFeed) and I should make sure that they don't collide.

I'm using /apps/ControlPanel/CalendarFeed

Try Catch 2011-11-22 17:03

Re: [ANNOUNCE] CalendarFeed - Show upcoming calendar events on your event feed
 
Excellent :). But I've had a look at your source code with regards to the power consumption guidelines.

I could see that you use a fair amount of QTimers and such. Maybe you could in those cases use the Harmattan system heartbeat to optimise power consumption instead?

chillip 2011-11-22 17:48

Re: [ANNOUNCE] CalendarFeed - Show upcoming calendar events on your event feed
 
Quote:

Originally Posted by Try Catch (Post 1127460)
Excellent :). But I've had a look at your source code with regards to the power consumption guidelines.

I could see that you use a fair amount of QTimers and such. Maybe you could in those cases use the Harmattan system heartbeat to optimise power consumption instead?

It does use a couple of timers but most of them are relatively long lived:
1. Day change timer: Fires once a day at midnight to update labels
2. Reload event timer (if the calendar doesn't change this timer fires after the maximum look-ahead time and +- 12 hours)
3. Expiry timer (fires every time soon as the first event expires)
4. Calendar close timer (to prevent constant reloading of the calendar backend in case a lot of items are being edited - it is only activated if the calendar was previously changed)

Timer 1 & 2 should be negligible for power consumption. 3 & 4 could be more problematic but should not have a noticable impact on battery life. The issue with global timers is the interval in which they should be run and whether the daemon will not end up being the only process waking up the system in that case. I will look into adding that functionality in the next version. Thanks for letting me know.

elieserleao 2011-11-22 18:41

Re: [ANNOUNCE] CalendarFeed - Show upcoming calendar events on your event feed
 
Why you two chillip and dkormalev not merge in a single powerfull and customizable notifications feed app?!

I miss things, like Twitter mentions and DM's, and Facebook on my notifications.

This would be great.
;)

kjmackey 2011-11-23 06:40

Re: [ANNOUNCE] CalendarFeed - Show upcoming calendar events on your event feed
 
1 Attachment(s)
Quote:

Originally Posted by chillip (Post 1126678)
I have added compatibility for PR 1.0. It will not be able to open recurring events (well it will open something but not the exact event you tapped on). Can you report back if it works for you now?

Hi, .9.3 opens the calendar now (under PR 1.0) but I get a weird error message as the image shows - and the calendar doesn't open on the day of the event but rather the last day the calendar was showing.

I'm still on PR 1.0.

Thanks for the good work on this - it's a valuable addition to the Notifications screen

skripis 2011-11-23 07:07

Re: [ANNOUNCE] CalendarFeed - Show upcoming calendar events on your event feed
 
Many thanks for this - I appreciate your work done. And I like your version over the one in the store since yours show separate events.

Now, one request though - would it be possible to have it pull events for more than 1 week ahead?

chillip 2011-11-23 08:08

Re: [ANNOUNCE] CalendarFeed - Show upcoming calendar events on your event feed
 
Quote:

Originally Posted by kjmackey (Post 1127685)
Hi, .9.3 opens the calendar now (under PR 1.0) but I get a weird error message as the image shows - and the calendar doesn't open on the day of the event but rather the last day the calendar was showing.

I'm still on PR 1.0.

Thanks for the good work on this - it's a valuable addition to the Notifications screen

Does this happen for all events or only recurring (or an exception of a recurring event)? If it does there's nothing I can do it's an API limitation (PR 1.1 should be out for you soon though http://www.developer.nokia.com/Commu...e-going-global)

Quote:

Originally Posted by skripis (Post 1127692)
Many thanks for this - I appreciate your work done. And I like your version over the one in the store since yours show separate events.

Now, one request though - would it be possible to have it pull events for more than 1 week ahead?

It is possible. I'm nore sure whether it should be shown in the graphical user interface as the longer the period is the more events have to be kept in memory which may degrade performance. You can force a longer period via gconftool manually e.g.:
  1. Use gconftool-2 --all-dirs /apps/CalendarFeed/calendars to list the UIDs of all calendars (default refers to the default settings for all calendars)
  2. Modify the look ahead value for the calendar you want to change - e.g.:
    gconftool-2 -s --type=int/apps/CalendarFeed/calendars/default/lookAhead <time in seconds>

kjmackey 2011-11-23 17:05

Re: [ANNOUNCE] CalendarFeed - Show upcoming calendar events on your event feed
 
Quote:

Originally Posted by chillip (Post 1127711)
Does this happen for all events or only recurring (or an exception of a recurring event)? If it does there's nothing I can do it's an API limitation (PR 1.1 should be out for you soon though http://www.developer.nokia.com/Commu...e-going-global)

For all events, recurring or otherwise. Thanks for trying. I get it that's the PR 1.0 API doesn't allow for this. No worries - PR 1.1 will show up soon enough.

jalyst 2011-11-24 05:42

Re: [ANNOUNCE] CalendarFeed - Show upcoming calendar events on your event feed
 
Quote:

Originally Posted by elieserleao (Post 1127494)
Why you two chillip and dkormalev not merge in a single powerfull and customizable notifications feed app?!
I miss things, like Twitter mentions and DM's, and Facebook on my notifications.
This would be great. ;)

I second that, assuming they're both of the same nature.
i.e. F/OSS + F/OSS OR closed/commercial + closed/commercial.
Would be tricky for them to collaborate otherwise...

*EDIT*
Noticed the title of the thread's wrong....
Name of the app's Calendar Feed, but in the title you've called it Organiser Feed.


All times are GMT. The time now is 10:21.

vBulletin® Version 3.8.8