maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Call Notify (https://talk.maemo.org/showthread.php?t=48501)

omeriko9 2010-03-27 23:53

[Announce] Call Notify
 
4 Attachment(s)
I'm happy to present the first version of the call and SMS notifier, called CallNotify, and available in extras-devel (with all the usual disclaimers), as I promised.

It's a simple python app that shows a status-menu icon after a missed call or a SMS, and also displays the number of missed calls and SMS's (up to 5, above 5 it shows "+5").
The icon disappears when the missed call notification (or SMS) has been viewed or the yellow window is closed.
If both SMS and missed call has been received, the icon blinks between the two kinds without showing the number.

changes from first release are documented in the "package" link.

Features:

* Missed Call notification in the status area
* Missed SMS notification in the status area
* Number of missed calls/SMS's , if only one of them has been missed
* Sound notification in a preset interval
* Vibration notification in a preset interval
* Configuration of these settings in the Settings menu

If everything works fine you should see the icon after a missed call or a SMS.
If not, please reply in this post for further exploration.

Some pictures for the icons are attached below.

garage: https://garage.maemo.org/projects/callnotify/
package: http://maemo.org/packages/view/callnotify/
Vote for it, if you feel it's time for it to be in the extras repository.

I owe a very big thank you to qwerty12, twaelti, lizardo, and of course - noobmonkey, as this is my first python & N900 code, and without them the road would have been a lot more mazy. Also, a thank you to joppu for providing me the polished icons for missed call and SMS.

Ronaldo 2010-03-27 23:58

Re: [Announce] Call Notify
 
gonna install and test, thanks

omeriko9 2010-03-28 00:02

Re: [Announce] Call Notify
 
Quote:

Originally Posted by Ronaldo (Post 584855)
gonna install and test, thanks

Great, thanks. Please let me know if it's working for you.

joppu 2010-03-28 00:03

Re: [Announce] Call Notify
 
What is the icon size? I might as well draw a email icon for you.

nilchak 2010-03-28 00:04

Re: [Announce] Call Notify
 
Nice implementation and great work. While the default behaviour of the pulsating cornor icon whenever a call or SMS is missed is fine - he number of missed call feature is a add-on I believe. Will try this.

Thanks

omeriko9 2010-03-28 00:09

Re: [Announce] Call Notify
 
Quote:

Originally Posted by joppu (Post 584861)
What is the icon size? I might as well draw a email icon for you.

The icons sizes are 18x18. There's an email icon built into Hildon, I think it was takes from Gnome, looks like an envelope with a "@".

I guess you are implying about an enhancement to notify for incoming emails - may I ask if you mean the "Mail for Exchange" or the email application?

Ronaldo 2010-03-28 00:10

Re: [Announce] Call Notify
 
tested call and text, i sent a text to my self and didnt get the yellow box because i had conversations open but your status is still showing the 1 text even tho i have viewed it. sent another now 2 but i am not able to get rid of the notification

joppu 2010-03-28 00:11

Re: [Announce] Call Notify
 
Email? I meant SMS, sorry for the confusion.

Ronaldo 2010-03-28 00:12

Re: [Announce] Call Notify
 
i had to send a text from another phone to get rid of the status, also there was no notification for emails.

omeriko9 2010-03-28 00:15

Re: [Announce] Call Notify
 
Quote:

Originally Posted by Ronaldo (Post 584869)
tested call and text, i sent a text to my self and didnt get the yellow box because i had conversations open but your status is still showing the 1 text even tho i have viewed it. sent another now 2 but i am not able to get rid of the notification

Hmm.. yeah, sending SMS to yourself is a bit problematic because, as you said, the conversation app is open, and in order to hide the notification I capture the event of closing the yellow notification window.

If it's stuck, you can get rid of it by using "killall hildon-status-menu" from x-term, but sometimes it doesn't work (I don't know why), and then you can close a missed call yellow window or in the worst case, restart.

omeriko9 2010-03-28 00:16

Re: [Announce] Call Notify
 
Quote:

Originally Posted by Ronaldo (Post 584873)
i had to send a text from another phone to get rid of the status, also there was no notification for emails.

Yes, from another phone it will work ok.

Nope, no emails for now :)

omeriko9 2010-03-28 00:17

Re: [Announce] Call Notify
 
Quote:

Originally Posted by joppu (Post 584872)
Email? I meant SMS, sorry for the confusion.

Oh :) that's great.

I'll update the app whenever I'll get one from you :)

Ronaldo 2010-03-28 00:18

Re: [Announce] Call Notify
 
does the icon flash when the screen is off, i.e process still running or just when screen is on? any chance of a control panel to turn feature off and on. i like the idea of the app.

joppu 2010-03-28 00:20

Re: [Announce] Call Notify
 
here, improved sms icon:
http://cdn.solidfiles.net/i/6Isc.png

omeriko9 2010-03-28 00:22

Re: [Announce] Call Notify
 
Quote:

Originally Posted by Ronaldo (Post 584885)
does the icon flash when the screen is off, i.e process still running or just when screen is on? any chance of a control panel to turn feature off and on. i like the idea of the app.

That's a good question - I don't have enough linux knowledge in that area but I know that some processes can "sleep" at certain times, so if the "hildon-status-menu" process sleeps during screen-off, it doesn't flash.

But I guess it does, otherwise the signal meter would have been active as well during screen-off.

About a GUI for this - I guess it's kinda evident that there should be one, so I promise to add one as soon as I'll have some more spare time :)

Ronaldo 2010-03-28 00:24

Re: [Announce] Call Notify
 
Quote:

Originally Posted by joppu (Post 584890)
here, improved sms icon:
http://cdn.solidfiles.net/i/6Isc.png

teh coloured version is better me thinks

omeriko9 2010-03-28 00:31

Re: [Announce] Call Notify
 
Quote:

Originally Posted by Ronaldo (Post 584894)
teh coloured version is better me thinks

Well... one can't argue with taste, right? :)

I do prefer a dedicated icon, as this one was "pulled" out of google-pictures, and it's not really interlaced nicely with the other white icon in the status bar. Maybe in the GUI I'll give the option to choose :p

omeriko9 2010-03-28 00:36

Re: [Announce] Call Notify
 
Quote:

Originally Posted by joppu (Post 584890)
here, improved sms icon:
http://cdn.solidfiles.net/i/6Isc.png

Updated. Thanks again, joppu!
I'll edit the first post.

Ronaldo 2010-03-28 00:47

Re: [Announce] Call Notify
 
in the picture it looks like you have GPRS and Wifi on? or is it something else?

thanks

omeriko9 2010-03-28 00:53

Re: [Announce] Call Notify
 
Quote:

Originally Posted by Ronaldo (Post 584915)
in the picture it looks like you have GPRS and Wifi on? or is it something else?

thanks

The two arrow icon is the GPRS and the one that looks like WiFi is actually the "connection switcher" app.

qwerty12 2010-03-28 00:56

Re: [Announce] Call Notify
 
Quote:

Originally Posted by omeriko9 (Post 584891)
That's a good question - I don't have enough linux knowledge in that area but I know that some processes can "sleep" at certain times, so if the "hildon-status-menu" process sleeps during screen-off, it doesn't flash.

Something like http://slexy.org/view/s2QqdkIbi6 will let you know when the display state changes; use that to stop any timeouts :)

nMIK-3 2010-03-28 01:16

Re: [Announce] Call Notify
 
Congrats mate!!
I wish you all the luck to make this hard-rock stable as soon as possible.

This is an ultra-basic functionality that sadly Maemo 5 lacks...

Ronaldo 2010-03-28 02:18

Re: [Announce] Call Notify
 
was on msn and the text icon kept flashing 5+ after each msg revieved even if i had the msn chat window open. started to bug me lol

Shady 91' 2010-03-28 06:53

Re: [Announce] Call Notify
 
why you don't introduce the notify in lock screen?

(i'm italian and I don't speak english well :()

plaban 2010-03-28 07:05

Re: [Announce] Call Notify
 
Really nice app.Thanks for this.

Hannu 2010-03-28 10:00

Re: [Announce] Call Notify
 
I think would be very useful if you could put sound notification in this app too.

The sound and interval could be modified like in this application for S60, http://www.mobifunsoft.com/remindme

Very often I cant hear if someone calls me or sends me a message so this would really help to notice if someone tried to contact you.

This is one app I`ve been missing from symbian.

omeriko9 2010-03-28 12:30

Re: [Announce] Call Notify
 
@qwerty12: I've added the listener, and now turns notification off when the screen goes off. Thank you!!

@Ronaldo: I'm very sorry for your inconvenience... I've refined the way I'm detecting a message, and now notification will only be shown for a text message. Please help me verify that :) Thank you :)

@Shady91': Hi, Please see this thread:
http://talk.maemo.org/showthread.php...ht=missed+call
Apperantly, it's in progress. I'll wait to see how it goes and I don't see any technical problem to combine the two packages.

@Hannu: This is definitely something that will require GUI, which currently the app doesn't have. But when I'll work on the GUI i'll add this feature too.

F2thaK 2010-03-28 12:37

Re: [Announce] Call Notify
 
sweet app, this was a missing feature !! THANKS

dbs11 2010-03-28 12:50

Re: [Announce] Call Notify
 
NICE1 - Works well

jer006 2010-03-28 13:55

Re: [Announce] Call Notify
 
Great idea and works pretty well. The phone notifications work perfectly, when I open the phone app the notifications stop as expected. However SMS notifications do not stop for me. I just got a new SMS notification so I get the flashing envelope alternating with the letter S. I then open up the conversations application, open the SMS and reply to it and the notification continues to flash. If I go to the taskbar I do not see any SMS notification window which needs to be dismissed but the notification continues...

Is there any way to configure the notifications?

blwthompson 2010-03-28 15:43

Re: [Announce] Call Notify
 
excellent app love it so simple yet so important! cant wait for the GUI

omeriko9 2010-03-28 15:50

Re: [Announce] Call Notify
 
Quote:

Originally Posted by jer006 (Post 585420)
Great idea and works pretty well. The phone notifications work perfectly, when I open the phone app the notifications stop as expected. However SMS notifications do not stop for me. I just got a new SMS notification so I get the flashing envelope alternating with the letter S. I then open up the conversations application, open the SMS and reply to it and the notification continues to flash. If I go to the taskbar I do not see any SMS notification window which needs to be dismissed but the notification continues...

Was it an SMS you sent to yourself? or an SMS you received from someone else?

Quote:

Originally Posted by jer006 (Post 585420)
Is there any way to configure the notifications?

I will start working on a GUI for this purpose soon.

omeriko9 2010-03-28 15:51

Re: [Announce] Call Notify
 
Quote:

Originally Posted by blwthompson (Post 585505)
excellent app love it so simple yet so important! cant wait for the GUI

By the way - where do you think the GUI should be?
options are:

1. Separate standard application
2. Status menu (where the "Clock & Alarms" and "Internet Connection" buttons)
3. Settings menu

HRZ 2010-03-28 15:56

Re: [Announce] Call Notify
 
Quote:

Originally Posted by omeriko9 (Post 585513)
By the way - where do you think the GUI should be?
options are:

1. Separate standard application
2. Status menu (where the "Clock & Alarms" and "Internet Connection" buttons)
3. Settings menu

I vote settings menu!

skalogre 2010-03-28 15:57

Re: [Announce] Call Notify
 
Settings menu :)

qwerty12 2010-03-28 16:02

Re: [Announce] Call Notify
 
Quote:

Originally Posted by omeriko9 (Post 585513)
1. Separate standard application
2. Status menu (where the "Clock & Alarms" and "Internet Connection" buttons)
3. Settings menu

I'd count out nr. 1 right away. :p
I vote for the Status menu, simply because I'd expect to find it there due to the applet being in the status area anyway, and I don't think the Control Panel actually has proper support for Python Control Panel Applets (I used g_spawn_sync from a C applet to load up a script from the Control Panel once)...

Ronaldo 2010-03-28 16:43

Re: [Announce] Call Notify
 
Quote:

Originally Posted by omeriko9 (Post 585343)

@Ronaldo: I'm very sorry for your inconvenience... I've refined the way I'm detecting a message, and now notification will only be shown for a text message. Please help me verify that :) Thank you :)

.

Thanks will reinstall later and test again :)

jer006 2010-03-28 18:11

Re: [Announce] Call Notify
 
the sms messages were sent by other people, currently it is now blinking for 3 new messages yet all three have been read and replied to already!

i would vote for settings menu for the gui, also maybe a separate way to dismiss the notifications from the status bar too via an addition in the status bar menu maybe?

great app though, something that is badly missing from the n900 right now.

Shady 91' 2010-03-28 18:18

Re: [Announce] Call Notify
 
setting menu in customer (the first "group")

joppu 2010-03-28 18:53

Re: [Announce] Call Notify
 
I made a white "missed call" icon for you for increased visibility over the green one:

http://cdn.solidfiles.net/i/KirJ.png


All times are GMT. The time now is 05:17.

vBulletin® Version 3.8.8