Reply
Thread Tools
Posts: 39 | Thanked: 10 times | Joined on Nov 2011 @ Innsbruck, Austria
#1
I have many contacts with included birtdays. I want to use the "birthday" calendar but dont't like automatic birthday reminders (1.5 days ahead) almost everyday for everybody in my contacts.

When anybody knows or programs a tweak, I would appriciate it with a paypal donation of 10 €!!

RockOn
 

The Following User Says Thank You to RockOn_23 For This Useful Post:
Posts: 119 | Thanked: 57 times | Joined on Dec 2009 @ Rotterdam, port to Europe !
#2
Why not use Google calendar en switch off notifications/reminders.
 

The Following User Says Thank You to eerde For This Useful Post:
flopjoke's Avatar
Posts: 426 | Thanked: 374 times | Joined on Apr 2012 @ Middle East
#3
A better option than reminders is to view them in the feeds screen as a notification.

Install the app called "Organizer Feed" (free from Nokia Store), refresh feed screen, when birthdays pop up in the feeds screen, tap and hold on one of them, click settings, then click the Organizer Feed button. Go in calendar settings and click birthdays. Now you'll get a lot of options to tweak how you can view the birthdays and how they appear.
 

The Following User Says Thank You to flopjoke For This Useful Post:
Posts: 435 | Thanked: 769 times | Joined on Apr 2010
#4
User calendar db raw data is NOT available to developers. But because QtOrganizer API doesn't allow to edit reminders (FROM Reference Docs: Detailed Description
The QOrganizerItemReminder class contains information about when and how the user wants to reminded of the item
Note that the Organizer API does not enforce that the user is reminded of the item; rather, it simply allows clients to store and manipulate data which might be used by the platform to implement alarms and reminders.) the only way I tought is to use it with inception.

USING INCEPTION AND DEVELOPER MODE MAY CAUSE YOUR N9 TO STOP WORKING AND MAY REQUIRE YOU TO FLASH YOUR DEVICE. IF YOU'RE NOT SURE ABOUT IT, DON'T KNOW WHAT FLASHING IS OR DON'T WANNA PLAY WITH TERMINAL COMMANDS, THAN SKIP IT.


You need the following packages:
Inception to be able to use opensh
OpenSh to access user calendar database. Should no longer be needed if using Inception 0.2.
SQLite3 to execute commands.

Inception can be get in https://endno.de/~itsnotabigtruck/inception/ .
I'm on PR 1.2 so I still use Inception 0.1 and Opensh, there is inception 0.2 and ariadne now it seams, so it should be "ariadne sh" instead of "opensh" command.


I don't remember where I have downloaded SQlite3, so I upload it on my dropbox account till I find again source link.
https://dl.dropbox.com/u/58218460/sq...B0m6_armel.deb
EDIT: you can get sqlite3 from http://harmattan-dev.nokia.com/pool/...ree/s/sqlite3/.

SQLite3 has to be installed from terminal:
-DeveloperMode enabled
-open terminal app
-type "devel-su"
-type password, which is "rootme" by default
-type "dpkg -i PATHTOSQLITEPACKAGE"
-close the terminal window now

To edit birthdays reminders:
-Open terminal app
-type "opensh" or "ariadne sh" if using inception 0.2
-type "aegisctl -s"
-type "sqlite3 /home/user/.calendar/db"
*type "UPDATE Alarm SET isEnabled = 0 WHERE Offset == -129600;" to DISABLE alarms
*type "UPDATE Alarm SET isEnabled = 1 WHERE Offset == -129600;" to ENABLE alarms back

You can also change alarms offset time, but this command requires alarms to keep having -129600seconds offset (36h, that's why they get triggered at midday of previous day) to recognize them from other alarms.

EDIT: Forgot to include "aegisctl -s" to let opensh/ariadne execute sqlite3.
__________________
My Fremantle projects: InternetRadioPlayer, QRadio, InternetRadioWidget, AutoRemoveSms, PSAutoLock, TodoListWidget, MediaPlayerWidget
My Harmattan projects: InternetRadioPlayer, QMLRadio, SigmaPlayer, WidgetCanvas, NotesExporter, 3DTris, NoStopPlayer, NotesImporter

Last edited by gionni88; 2012-07-08 at 10:38.
 

The Following 7 Users Say Thank You to gionni88 For This Useful Post:
trayhoper's Avatar
Posts: 149 | Thanked: 72 times | Joined on Mar 2012 @ Istanbul,Turkey
#5
gionni deserves the money
 

The Following User Says Thank You to trayhoper For This Useful Post:
flopjoke's Avatar
Posts: 426 | Thanked: 374 times | Joined on Apr 2012 @ Middle East
#6
oh come on! We can share.. We're friends of a dead platform.. We must stand together! Let's make it 50/50? No.. ? How about.. 90/10? :P
 

The Following 2 Users Say Thank You to flopjoke For This Useful Post:
Posts: 39 | Thanked: 10 times | Joined on Nov 2011 @ Innsbruck, Austria
#7
sorry for my late answer. I'm travelling around and I'm currently writing from my mobilephone.

Thank u very much for your really detailed tutorial. I will try it when I'm back home. Please PM me your paypal email :-)
 

The Following User Says Thank You to RockOn_23 For This Useful Post:
Posts: 228 | Thanked: 137 times | Joined on Jan 2012 @ UK
#8
Sorry to retsart old thread, but I only just found this. I have problem where I get duplicate alarms for some of my contacts birthdays. Could sqlite be used to fix problem?

I tried
Code:
SELECT * FROM Alarm where Offset == -129600;
but it didn't show any duplicates. I don't understand why N9 shows duplicate Alarms in UI when the event occurs?
 

The Following User Says Thank You to nbedford For This Useful Post:
bandora's Avatar
Posts: 1,338 | Thanked: 1,055 times | Joined on Oct 2009 @ California, USA / Jordan
#9
How about you donate the 10€ to the Hildon Foundation so we can continue having this awesome community and continue have helpful people like gionni88..

But it's you're money and you decide, all I am trying to do is just suggest another option of payment.
__________________
FarahFa.com
 

The Following 2 Users Say Thank You to bandora For This Useful Post:
Posts: 435 | Thanked: 769 times | Joined on Apr 2010
#10
Originally Posted by nbedford View Post
Sorry to retsart old thread, but I only just found this. I have problem where I get duplicate alarms for some of my contacts birthdays. Could sqlite be used to fix problem?

I tried
Code:
SELECT * FROM Alarm where Offset == -129600;
but it didn't show any duplicates. I don't understand why N9 shows duplicate Alarms in UI when the event occurs?
After updating to PR 1.3 (or 1.2) there is a proper calendar for contacts birthdays, it may be you have some contacts birthdays in old calendar? Like the one from one of the birthdays apps on Nokia store?

It may be that case because only the proper calendar creates offsets alarms of 36h, so your SQL query only shows those entries. You may try without the WHERE clausole and check which calendar has duplicate entries.
__________________
My Fremantle projects: InternetRadioPlayer, QRadio, InternetRadioWidget, AutoRemoveSms, PSAutoLock, TodoListWidget, MediaPlayerWidget
My Harmattan projects: InternetRadioPlayer, QMLRadio, SigmaPlayer, WidgetCanvas, NotesExporter, 3DTris, NoStopPlayer, NotesImporter
 

The Following 2 Users Say Thank You to gionni88 For This Useful Post:
Reply

Tags
thanks gionni88


 
Forum Jump


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