![]() |
[maemo5] tying an event to an sms from a specific sender
I originally posted this in "Applications" and realized later that it would probably better suit development but so far no-one has moved it so I'm reposting.
I'm an EMT and I would like to make my phone behave differently when it receives an SMS from dispatch. What do I mean by differently: most important: - vibrate & make noise longer then for normal sms'es and regardless of profile chosen for later stages: - display the message fullscreen until I acknowledge it or some timeout - add an applet to say whether I'm on call or not to control the noise behavior. My first instinct is that this may just tie in well with qtlockscreen however this should also happen when the phone is not locked. So is there some API/event that allows me to know from who an sms was just received so I can implement these actions? Thanks. |
Re: [maemo5] tying an event to an sms from a specific sender
You may want to check source code of package smscon, and scavenge how it's reacting to SMS from certain number with certain content. smscon is huge proram, but just this small piece of code should be sufficient as a base for Your needs, I think.
/Estel |
Re: [maemo5] tying an event to an sms from a specific sender
Quote:
Or you can just watch me feeding dogs with it here :D Intercepting the sms messages will probably be the easiest bit, it's all the other stuff you want to do after that may be more tricky. |
All times are GMT. The time now is 05:15. |
vBulletin® Version 3.8.8