Message Interception
Any help on this please?
Hi,
Well, if possible, some code snippet will be helpful here. But I don't think it will run on Windows Mobile 5, while not on Windows Mobile 6. Could you please try to run it on emulator (both Windows Mobile 5 and 6)?
Regards,
Zero Dai - MSFT
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)
'Do something to the sms
End Sub
The application is able to intercept the incoming sms on my WM5 smartphone device but when i try it on a WM6
smartphone, the sms just goes directly to the inbox.
Is this working on device emulator? You can use Cell emulator to send SMS and test your app.
Manav
Hi friend,
So, we can make sure that your project has no problem. But, it's so amazing. I may guess it may have to do with device issue. e.g. Some settings controled by OEM may not allow you to do so due to the consideration on device security. Could you please try to contact with the OEM stuff?
Regards,
Zero Dai - MSFT
This is just strange. WM 6 is similar to WM 5 from program compat perspective and the applications are supposed to behave the same way on both devices.
I recommend debugging the application on real device so you can nail down the issue.
Manav
Im with the same situation. I tested on WM6 only and it works only when the form is on top. When its minimized, it does'nt intercept. Any way to overcome this? I want my form to be minimized or hidden, but intercept the messages..
Thankx for any suggestions/help.
Regards,
Carty..
some1sxi wrote:
Hello, Im with the same situation. I tested on WM6 only and it works only when the form is on top. When its minimized, it does'nt intercept. Any way to overcome this? I want my form to be minimized or hidden, but intercept the messages..
Thankx for any suggestions/help.
Regards,
Carty..
It is possible that the form is closed "OK" button on top instead of minimized state "x" on top of the form..
Manav