Re: Add to inbox new message by droll
droll
Thu Dec 15 03:28:27 CST 2005
ok, what triggers your program to insert the new SMS? i had a similar
scenario and in the end, i had to do this via a MAPI mail filter rule. i
could do so only because my trigger scenario was a new incoming SMS.
there are some classes you can use to create a notification bubble at the
top like when an SMS arrives but i really wouldn't take this approach since
there's a whole nightmare of different "profile" and "settings" the user
could have configured which u have to honour when spitting out the
notification.
if your trigger event is a new incoming SMS, the mail rule filter can
intercept, examine, and modify the body of the SMS, and subsequently pass it
to the Inbox / Messages app to handle and all the usual notifications will
fire off. the mail rule filters get to see the incoming SMS from the
underlying messaging subsystem before higher level applications like Inbox /
Messages will get it.
"Kamal Al-Haddad" <kamal.elhaddad@gmail.com> wrote in message
news:%23b3n$xUAGHA.2560@TK2MSFTNGP12.phx.gbl...
>I am so sorry for this ambiguity...
> anyway, I am using pocket pc device,and want to insert new sms in
> inbox,then notifay user that new sms come,then load my program again
>
> thanks
>
> "droll" <droll@invalid.com> wrote in message
> news:uQdzP5TAGHA.1340@TK2MSFTNGP10.phx.gbl...
>> doing the first part is easy with MAPI.
>>
>> the second part though............??! no idea!
>>
>> wait, what are you trying to do? it helps to describe this rather than
>> how you want to do it. maybe there are better ways. :)
>>
>> "Kamal Al-Haddad" <kamal.elhaddad@gmail.com> wrote in message
>> news:%23CIDxrTAGHA.272@TK2MSFTNGP09.phx.gbl...
>>> How can I add from my program new text messag and notifay system that
>>> new sms come to inbox???
>>>
>>
>>
>
>