Riho
Riho

Reputation: 4595

Screen incoming SMS in Symbian

I'm using sockets to read all incoming SMS:

 `smsAddr.SetTextMatch(KNullDesC8);`

The ones that belong to me I accept:

iReadSocket.Ioctl(KIoctlReadMessageSucceeded, iStatus, NULL, KSolSmsProv);

The ones that are malicious (like current Silence SMS threat) I would stop and the others I would like to pass into Inbox.

Currently my problem is in forwarding SMS into Inbox - they will appear there only after rebooting device.

Is there any API or solution to force Symbian to retry writing SMS into Inbox?

Upvotes: 5

Views: 719

Answers (1)

KevinD
KevinD

Reputation: 1789

You can insert messages manually - take a look at this example in the Forum Nokia Wiki. Note, however, that the example does not set character set and encoding - you may have to deal with character set conversion and encoding, which will be particularly complicated for binary messages.

How are you currently forwarding messages to the Inbox?

Upvotes: 1

Related Questions