Hi
I want to handle the sms when it recived to phone but before it get store to inbox.
means i want to interepret the sms before get stored to the inbox
Thanks,
Pandharinath
Hi
I want to handle the sms when it recived to phone but before it get store to inbox.
means i want to interepret the sms before get stored to the inbox
Thanks,
Pandharinath
You can interpret it simultaneously when it reaches to Inbox. Check this Wiki article: SMS Operations
By the way do you want to show modified message in the Inbox somehow? What is your use case?
Nokia Developer Wiki Moderation team
note that you might not able to remove the notification (beep) to user given by system.
I don't get what the beep here means, but if it is the ringtone played after the message is received then it CAN be silenced.
If the message is marked as "read" as we receive the notification of its arrival the phone will not play any tone.
As Kiran asked, what is your use case?
Regards,
Sainagakishore Srikantham (Kishore)
Don't Hope, KNOW!!! ---------- Visit me at http://ssnkishore.blogspot.com ----------
Hi
I want to develop application in S60 2nd edition that catching incoming messages before the user gets any notification .
I got the same thing in 3rd edition but it is not working may some thing missing in that.
can u help me?
Thanks,
pandhari
The code given of this link works for S602nd and S603rd editions.
As you said, you've already done that for 3rd edition, compare your code with the one on the link.
Regards,
Sainagakishore Srikantham (Kishore)
Don't Hope, KNOW!!! ---------- Visit me at http://ssnkishore.blogspot.com ----------
Hi
i think in that code SMS is read after the recving the sms in to mail box.
I want that it should not received to the Inbox.
and I want to control on "new sms notification" (can block or can unblock).
I want to handle it before get stored in to inbox.
i want control on going sms in to inbox i.e. block and unblock
Thanks,
Pandhari
Last edited by pandhari.gorde; 2008-11-26 at 14:56.
Have you looked at MMsvSessionObserver
and especially MMsvSessionObserver::HandleSessionEventL(TMsvSessionEvent aEvent, TAny *aArg1, TAny *aArg2, TAny *aArg3)?
I think there are some code examples from nokia that uses this as well,
can't remember which ones though - have a look at their sms code examples.
Hello Pandhari,
What you want to do is surely possible. If you look at the code at this link, there is a function HandleEntryL() in which the first statement is
If you comment that statement the message will not move to the inbox. You can play with the statement according to your "block / unblock" logic. I hope I've answered your question.Code:CMsvEntry* entry = iSession->GetEntryL(aEntId); //adding this line to it will move it to the inbox entry->MoveL(aEntId, KMsvGlobalInBoxIndexEntryId, iStatus);
Regards,
Sainagakishore Srikantham (Kishore)
Don't Hope, KNOW!!! ---------- Visit me at http://ssnkishore.blogspot.com ----------
Hi
I saw MMsvSessionObserver.
but problem with this that MMsvSessionObserver this notifies event to both my application + to the default sms receiving application. so default application thread my app thread runn simultaniously and sms go in to inbox.
That's my problem.
Now i am looking for remove observer of the default sms appl
and keep in my app and so i can control incoming sms.
Actually there is an SMS Utilities API (part of the plugin packs: http://wiki.forum.nokia.com/index.php/SDK_API_Plug-in), but if you capture an SMS that way, it will not be automatically delivered to the Inbox, even if you want it to get there. So you have to provide your own way of storing the SMS.
Even though both the applications receive notifications, you can control the SMS being stored in the Inbox. Have you tried the code I posted earlier?
Regards,
Sainagakishore Srikantham (Kishore)
Don't Hope, KNOW!!! ---------- Visit me at http://ssnkishore.blogspot.com ----------
Hi kishore
a/c to u are saying
code:
if ( *entryId == KMsvGlobalInBoxIndexEntryId ) // new entry has been created in Inbox folder
is clearly saying that when entry is going to made in inbox.
Well, my friend you can check the condition well before what you've mentioned.
You can show you pop up dialog or whatever when this happens and manage the movement of the message to Inbox.Code:case EMsvEntriesCreated: { if(msgType == KUidMsgTypeSMS) // this is when you know its an SMS }
But, let me warn you that this code will also execute when the user will create a message (SMS) to be sent. You'll have to manage the logic somehow. If I can come up with something, I'll post, till then implement the code for the incoming messages.
Regards,
Sainagakishore Srikantham (Kishore)
Don't Hope, KNOW!!! ---------- Visit me at http://ssnkishore.blogspot.com ----------
I've done an app for the phone, but now i need to make an app for the PC.
This app will wait for incoming sms and as soon as it is received, it'll be extracted.
I'm using nokia 6101 connected via dku-5 cable. I used gnokii tools and smsd but it gives me a problem something like this:
Getting SMS...
Getting SMS...
Getting SMS...
Deleting SMS... ( this happens the moment a msg is recd)
Getting SMS Folders...
Message sent: 0x14 / 0x0006
00 01 00 12 00 00 |
SM_Block: exiting the retry loop
Message sent: 0x14 / 0x0006
00 01 00 12 00 00 |
SM_Block: exiting the retry loop (... and so on)
Why is all this happening ??
Someone please help !!!
also,
to send an sms, i had kept one in outbox, but it faced error 11 (command timed out).
Why is all thid