maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Missed Call Viewed notification (https://talk.maemo.org/showthread.php?t=46457)

omeriko9 2010-03-04 09:01

Missed Call Viewed notification
 
I'm trying to find the following notification:

After a received call that was not answered ( = missed call), the notification led is blinking.

If you:
1. View the yellow missed call windows in the "all windows view" - it stops blinking (please notice that when I say "view" I don't mean clicking on the window, just viewing the screen that shows all the current windows).
2. View the phone log call - it stops blinking.

The notification I'm looking for is the one that happens when the led stops blinking.

I've checked with mdbus2 and there is NO d-bus fired when the led stops.
Also I've inspected the sqlite db in /home/user/rtcom-eventlogger/el.db and there's no field change after the led stops blinking.

This is crucial for my application as I'm trying to show a notification for missed calls, and I want to stop the notification after the missed call has been viewed, in the same manner the led stops blinking after a missed call has been viewed.

Any ideas how can I know about this kind event?

noobmonkey 2010-03-04 13:30

Re: Missed Call Viewed notification
 
Surely it fires up the dbus activate - then a dbus deactivate... so it is just calling one pattern?

twaelti 2010-03-04 13:35

Re: Missed Call Viewed notification
 
Quote:

Originally Posted by omeriko9 (Post 555162)
I've checked with mdbus2 and there is NO d-bus fired when the led stops.

Just to be sure: you checked both buses, did you? (Session AND System bus)

omeriko9 2010-03-04 13:41

Re: Missed Call Viewed notification
 
Quote:

Originally Posted by twaelti (Post 555457)
Just to be sure: you checked both buses, did you? (Session AND System bus)

Ah, that's a good question... I used mdbus2 -sl, I don't know if it's only one of them or both...

omeriko9 2010-03-04 13:42

Re: Missed Call Viewed notification
 
Quote:

Originally Posted by noobmonkey (Post 555450)
Surely it fires up the dbus activate - then a dbus deactivate... so it is just calling one pattern?

Yes, you can try it - just call yourself and don't answer, you'll see the pattern fires up..

noobmonkey 2010-03-04 13:44

Re: Missed Call Viewed notification
 
Also, assuming the pattern is one of these?
Quote:

PatternError=0;5;0;r;9d8040007f007f0040ff7f007f000 000;9d800000
PatternDeviceOn=254;0;0;rgb;9d804000422043207f1000 00;9d800000
PatternDeviceSoftOff=253;0;0;rg;9d804000423f433f7f 100000;9d800000
PatternPowerOn=9;3;0;rgb;9d80400042ff02ffc000;9d80 0000
PatternPowerOff=10;3;0;rgb;9d80400001ff43ff7f007f0 0c000;9d800000
PatternCommunicationCall=30;1;0;b;9d80400002ff03ff 02ff03ff71080000;9d800000
PatternCommunicationIM=30;1;0;b;9d80400002ff03ff02 ff03ff71080000;9d800000
PatternCommunicationSMS=30;1;0;b;9d80400002ff03ff0 2ff03ff71080000;9d800000
PatternCommunicationEmail=30;1;0;b;9d80400002ff03f f02ff03ff71080000;9d800000
PatternCommonNotification=30;1;0;b;9d80400002ff03f f02ff03ff71080000;9d800000
PatternWebcamActive=20;1;0;r;9d80400004ffc0000000; 9d800000
PatternBatteryCharging=50;4;0;rg;9d804000427f0d7f7 f007f0042000000;9d800000
PatternBatteryFull=40;4;0;g;9d80407f0000;9d800000

omeriko9 2010-03-04 14:01

Re: Missed Call Viewed notification
 
Quote:

Originally Posted by noobmonkey (Post 555469)
Also, assuming the pattern is one of these?

Yes, it's the CommunicationCall pattern.

omeriko9 2010-03-04 19:41

Re: Missed Call Viewed notification
 
Quote:

Originally Posted by omeriko9 (Post 555494)
Yes, it's the CommunicationCall pattern.

Anybody knows what is the dbus path for the led patterns?

noobmonkey 2010-03-04 19:43

Re: Missed Call Viewed notification
 
Quote:

Originally Posted by omeriko9 (Post 555993)
Anybody knows what is the dbus path for the led patterns?


Code:

run-standalone.sh dbus-send --print-reply --system --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_vibrator_pattern_activate string:'PatternTouchscreen\'

noobmonkey 2010-03-04 19:44

Re: Missed Call Viewed notification
 
or was that not what you needed?


All times are GMT. The time now is 20:30.

vBulletin® Version 3.8.8