Message Interception API on WM6

O

oldsap

I used an vb.net application on my WM5 smartphone that uses message
interception API and it worked just fine. When i tried it on a WM6
emulator, it was also ok. But on a real WM6 smartphone device, it is
not able to intercept the incoming sms, instead, the sms goes directly
to the Inbox. How come?
 
P

Peter Foot [MVP]

The API for this is the same, can you show us a code-sample of how you are
using it.

Peter
 
O

oldsap

The API for this is the same, can you show us a code-sample of how you are
using it.

Peter

This is my code snippet sir:

Private WithEvents msgInterceptor As MessageInterceptor

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
msgInterceptor = New
MessageInterceptor(InterceptionAction.NotifyAndDelete, True)
AddHandler msgInterceptor.MessageReceived, AddressOf OnSMSRcvd
End Sub

Private Sub OnSMSRcvd(ByVal sender As Object, ByVal e As
MessageInterceptorEventArgs)
....
End Sub
 
P

Peter Foot [MVP]

Okay, this would be used to intercept all messages, what happens if you
specify a rule to only catch certain messages?

Peter
 
O

oldsap

Okay, this would be used to intercept all messages, what happens if you
specify a rule to only catch certain messages?

Peter

The sms goes directly to the inbox sir. the application is not able
to intercept it.
 
O

oldsap

Okay, this would be used to intercept all messages, what happens if you
specify a rule to only catch certain messages?

Peter

when sms arrives, it goes directly to the inbox. the application is
not able to intercept it.
 
G

Guest

I'm having a simular problem with Windows Mobile 6, and a Windows Mobile
Smart phone. Did you ever get an answer?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top