PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework Intercept a phone call and have custom module run instead of WM5 inbuilt handler

Reply

Intercept a phone call and have custom module run instead of WM5 inbuilt handler

 
Thread Tools Rate Thread
Old 28-06-2006, 10:44 AM   #1
Sanjay Shetty
Guest
 
Posts: n/a
Default Intercept a phone call and have custom module run instead of WM5 inbuilt handler


Is it possible to intercept a phone call via Managed Code on WM5 and have my
custom code run instead of the the inbuild WM5 handler?
If so could you provide some sample code or point to an
article/documentation etc.

thanks in advance,

Regards,
sanjay shetty


  Reply With Quote
Old 28-06-2006, 04:22 PM   #2
=?Utf-8?B?QWxleCBZYWtobmluIFtNVlBd?=
Guest
 
Posts: n/a
Default RE: Intercept a phone call and have custom module run instead of WM5 i

You should be able to intercept the phone call. Take a look at the
SystemState class in the Microsoft.WindowsMobile assemblies:

http://msdn.microsoft.com/library/d...anaged_apis.asp

--
--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com | www.opennetcf.org


"Sanjay Shetty" wrote:

> Is it possible to intercept a phone call via Managed Code on WM5 and have my
> custom code run instead of the the inbuild WM5 handler?
> If so could you provide some sample code or point to an
> article/documentation etc.
>
> thanks in advance,
>
> Regards,
> sanjay shetty
>
>
>

  Reply With Quote
Old 29-06-2006, 07:00 AM   #3
Sanjay Shetty
Guest
 
Posts: n/a
Default Re: Intercept a phone call and have custom module run instead of WM5 i

Hi Alex,

Thanks for your reply, I'm aware of how to intercept a phone call via
managed code. I'm able to sucessfully invoke my managed code by checking
state notifications. However the default WM5 handler also kicks in, is there
a way to prevent that from happening?

Alternatively is there a way to extend the WM5 handler and add additional
menu's or buttons to that form which loads up.

Thanks in advance,

Regards,

Sanjay Shetty

"Alex Yakhnin [MVP]" <a.yakhnin@online.att.net> wrote in message
news:E944C812-02A8-40B8-8B84-47D1658BD568@microsoft.com...
> You should be able to intercept the phone call. Take a look at the
> SystemState class in the Microsoft.WindowsMobile assemblies:
>
> http://msdn.microsoft.com/library/d...anaged_apis.asp
>
> --
> --
> Alex Yakhnin, .NET CF MVP
> www.intelliprog.com | www.opennetcf.org
>
>
> "Sanjay Shetty" wrote:
>
>> Is it possible to intercept a phone call via Managed Code on WM5 and have
>> my
>> custom code run instead of the the inbuild WM5 handler?
>> If so could you provide some sample code or point to an
>> article/documentation etc.
>>
>> thanks in advance,
>>
>> Regards,
>> sanjay shetty
>>
>>
>>



  Reply With Quote
Old 02-07-2006, 11:31 AM   #4
Tym
Guest
 
Posts: n/a
Default Re: Intercept a phone call and have custom module run instead of WM5 i

On Thu, 29 Jun 2006 10:30:53 +0530, "Sanjay Shetty"
<sanjay@wirelessstrategist.com> wrote:

>> http://msdn.microsoft.com/library/d...anaged_apis.asp
>>


This looks very interesting, but I'm a VB programmer - is there a VB
alteratnive - can't find one!!

Tym

~There's no place like 127.0.0.1~
  Reply With Quote
Old 02-07-2006, 03:14 PM   #5
Guest
 
Posts: n/a
Default Re: Intercept a phone call and have custom module run instead of WM5 i

Samples aren't going to always be in your language of choice, so learning to
read C# is a skill you really can't avoid if you have any desire to have
ever reasonably good development skills. There are online converters that
can help you as well.

-Chris



"Tym" <no_spam@ictis.net> wrote in message
news:fi4fa2ta5f7pnmpaglmvggevda5sr9cimm@4ax.com...
> On Thu, 29 Jun 2006 10:30:53 +0530, "Sanjay Shetty"
> <sanjay@wirelessstrategist.com> wrote:
>
>>> http://msdn.microsoft.com/library/d...anaged_apis.asp
>>>

>
> This looks very interesting, but I'm a VB programmer - is there a VB
> alteratnive - can't find one!!
>
> Tym
>
> ~There's no place like 127.0.0.1~



  Reply With Quote
Old 02-07-2006, 06:52 PM   #6
Tym
Guest
 
Posts: n/a
Default Re: Intercept a phone call and have custom module run instead of WM5 i

On Sun, 2 Jul 2006 09:14:39 -0400, "<ctacke/>"
<ctacke[@]opennetcf[dot]com> wrote:

>Samples aren't going to always be in your language of choice, so learning to
>read C# is a skill you really can't avoid if you have any desire to have
>ever reasonably good development skills. There are online converters that
>can help you as well.


Kinda guessed that might be thae case ~LOL~

My C# reading is coming along!!! (good skype bot tutorial in C#!!!)

Tym

~There's no place like 127.0.0.1~
  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off