Trapping incoming sms done, but affecting outgoing ones
| Thu, 2005-04-14 14:54 | |
|
Hi,
I created an exe that runs in the background, intercepts incoming sms, process them, and eventually delete them. I caught those sms using MMsvObserver::HandleSessionEventL, EMsvCreated. This rose a problem. N.B my exe is still running in the background; I try to send an sms, but as soon as i open "send message", i get an error that reads: "general - message deleted - 7005" Does anyone know how can i overcome it, i.e. trapping incoming sms and not affecting the outgoing ones? Thanks in advance, Regards. |
|






Forum posts: 45
Iam working on a project which listends for incoming sms, but when i try to create a EXE with the code the app just crashes but the same code runs if its normal .app file. can u please share the code.
Forum posts: 178
http://forum.newlc.com/index.php?topic=4097.0
Hopefully this will help.
Forum posts: 45
A million thanks for the link. It worked. Thanks again
Forum posts: 235
comment out the deletion part and check if it works...
Forum posts: 276
I think where you are getting the message creation event you are not checking where the message is created.... Anywhere(inbox, outbox, sent items, etc) a message is created u will get this event.....
So add a check that u tap only those messages which is created in inbox.....
// new entry has been created in Inbox folder
if (*entryId == KMsvGlobalInBoxIndexEntryId)
{
...
Do you your deletion part here....
....
}
Dennis
Today is a gift by GOD, that's why it is called the present.
Forum posts: 24
Can you please tell me when i can find information to setup my symbian app to run in background?
Thanks.
Sam
sam
Forum posts: 178
Check the following link: http://forum.newlc.com/index.php?topic=4097.0
dennis_george ,
Thanks a lot, that was the problem
Regards.