PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
Message Interception API on WM6
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
Message Interception API on WM6
![]() |
Message Interception API on WM6 |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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? |
|
|
|
#2 |
|
Guest
Posts: n/a
|
The API for this is the same, can you show us a code-sample of how you are
using it. Peter -- Peter Foot Microsoft Device Application Development MVP www.peterfoot.net | www.inthehand.com "oldsap" <charliesl45@gmail.com> wrote in message news:1183017748.757254.176960@e16g2000pri.googlegroups.com... >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? > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
On Jun 28, 4:43 pm, "Peter Foot [MVP]" <feedb...@nospam-inthehand.com>
wrote: > The API for this is the same, can you show us a code-sample of how you are > using it. > > Peter > > -- > Peter Foot > Microsoft Device Application Development MVPwww.peterfoot.net|www.inthehand.com > > "oldsap" <charlies...@gmail.com> wrote in message > > news:1183017748.757254.176960@e16g2000pri.googlegroups.com... > > >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? 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 |
|
|
|
#4 |
|
Guest
Posts: n/a
|
Okay, this would be used to intercept all messages, what happens if you
specify a rule to only catch certain messages? Peter -- Peter Foot Microsoft Device Application Development MVP www.peterfoot.net | www.inthehand.com In The Hand Ltd - .NET Solutions for Mobility "oldsap" <charliesl45@gmail.com> wrote in message news:1183021943.563611.251140@g37g2000prf.googlegroups.com... > On Jun 28, 4:43 pm, "Peter Foot [MVP]" <feedb...@nospam-inthehand.com> > wrote: >> The API for this is the same, can you show us a code-sample of how you >> are >> using it. >> >> Peter >> >> -- >> Peter Foot >> Microsoft Device Application Development >> MVPwww.peterfoot.net|www.inthehand.com >> >> "oldsap" <charlies...@gmail.com> wrote in message >> >> news:1183017748.757254.176960@e16g2000pri.googlegroups.com... >> >> >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? > > 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 > |
|
|
|
#5 |
|
Guest
Posts: n/a
|
On Jul 3, 2:05 am, "Peter Foot [MVP]" <feedb...@nospam-inthehand.com>
wrote: > Okay, this would be used to intercept all messages, what happens if you > specify a rule to only catch certain messages? > > Peter > > -- > Peter Foot > Microsoft Device Application Development MVPwww.peterfoot.net|www.inthehand.com > In The Hand Ltd - .NET Solutions for Mobility > > "oldsap" <charlies...@gmail.com> wrote inmessage > > news:1183021943.563611.251140@g37g2000prf.googlegroups.com... > > > On Jun 28, 4:43 pm, "Peter Foot [MVP]" <feedb...@nospam-inthehand.com> > > wrote: > >> The API for this is the same, can you show us a code-sample of how you > >> are > >> using it. > > >> Peter > > >> -- > >> Peter Foot > >> Microsoft Device Application Development > >> MVPwww.peterfoot.net|www.inthehand.com > > >> "oldsap" <charlies...@gmail.com> wrote inmessage > > >>news:1183017748.757254.176960@e16g2000pri.googlegroups.com... > > >> >I used an vb.net application on my WM5 smartphone that usesmessage > >> >interceptionAPI 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? > > > 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 The sms goes directly to the inbox sir. the application is not able to intercept it. |
|
|
|
#6 |
|
Guest
Posts: n/a
|
On Jul 3, 2:05 am, "Peter Foot [MVP]" <feedb...@nospam-inthehand.com>
wrote: > Okay, this would be used to intercept all messages, what happens if you > specify a rule to only catch certain messages? > > Peter > > -- > Peter Foot > Microsoft Device Application Development MVPwww.peterfoot.net|www.inthehand.com > In The Hand Ltd - .NET Solutions for Mobility > > "oldsap" <charlies...@gmail.com> wrote inmessage > > news:1183021943.563611.251140@g37g2000prf.googlegroups.com... > > > On Jun 28, 4:43 pm, "Peter Foot [MVP]" <feedb...@nospam-inthehand.com> > > wrote: > >> The API for this is the same, can you show us a code-sample of how you > >> are > >> using it. > > >> Peter > > >> -- > >> Peter Foot > >> Microsoft Device Application Development > >> MVPwww.peterfoot.net|www.inthehand.com > > >> "oldsap" <charlies...@gmail.com> wrote inmessage > > >>news:1183017748.757254.176960@e16g2000pri.googlegroups.com... > > >> >I used an vb.net application on my WM5 smartphone that usesmessage > >> >interceptionAPI 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? > > > 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 when sms arrives, it goes directly to the inbox. the application is not able to intercept it. |
|
|
|
#7 |
|
Guest
Posts: n/a
|
I'm having a simular problem with Windows Mobile 6, and a Windows Mobile
Smart phone. Did you ever get an answer? -- Ken S "oldsap" wrote: > 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? > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

