DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Tue, 7 Aug 2007 19:02:34 +0200,    posted on: microsoft.public.dotnet.framework.compactframework        back       

Thread Index
  1    Adam
          2    Fabien
          3    Adam


Resuming, suspending terminal, how catch an event.   
Hello,

i'have a problem. In my application on Symbol MC9090 (Windows Mobile 5.0) i 
use Symbol SDK to control WIFI signal quality. Just one event handler, 
something like 
myWlan.Adapters[0].SignalQualityChanged += mySignalQualityHandler;
but there is small problem. Fusion adapter is not available for couple of 
seconds after resuming terminal and within this period I cannot use the 
API.

So. I think the simpliest way is remove the event handler when use switched 
off (or remove the battery) the terminal and add event handler when user 
switched on (or insert battery) the terminal.
But I'dont know how catch the moment of disablig and enabling the terminal.

Does anybody know how to solve this problem?


PS. Maybe my idea is stupid :) So how use Symbol Fusion Api only when 
terminal is on...
Date:Tue, 7 Aug 2007 19:02:34 +0200   Author:  

Re: Resuming, suspending terminal, how catch an event.   
Hi,

Yes, you can use OpenNETCF to catch the wake up event.
You can also try to use SNAPI and add an event handler on
SystemProperty.ConnectionsNetworkCount changed value:
private SystemState m_connectionsCount = new
SystemState(SystemProperty.ConnectionsNetworkCount);

Then add an handler to the changed event :
m_connectionsCount.Changed = new
ChangeEventHandler(m_connectionsCount_Changed);

void m_connectionsCount_Changed(object sender, ChangeEventArgs args)
{
      if (m_connectionsCount.CurrentValue > 0)
      {
            // If you have only a WIFI network connection, the value
must be 1 when WIFI is activated
      }
}

BR

Fabien Decret (Device Application Development MVP)
Windows Embedded Consultant

ADENEO (ADESET)
http://www.adeneo.adetelgroup.com/ | http://fabdecret.blogspot.com/


On 7 août, 19:02, Adam  wrote:

> Hello,
>
> i'have a problem. In my application on Symbol MC9090 (Windows Mobile 5.0) i
> use Symbol SDK to control WIFI signal quality. Just one event handler,
> something like
> myWlan.Adapters[0].SignalQualityChanged = mySignalQualityHandler;
> but there is small problem. Fusion adapter is not available for couple of
> seconds after resuming terminal and within this period I cannot use the
> API.
>
> So. I think the simpliest way is remove the event handler when use switched
> off (or remove the battery) the terminal and add event handler when user
> switched on (or insert battery) the terminal.
> But I'dont know how catch the moment of disablig and enabling the terminal.
>
> Does anybody know how to solve this problem?
>
> PS. Maybe my idea is stupid :) So how use Symbol Fusion Api only when
> terminal is on...
Date:Wed, 08 Aug 2007 00:13:14 -0700   Author:  

Re: Resuming, suspending terminal, how catch an event.   
Fabien pisze:

> Hi,
> 
> Yes, you can use OpenNETCF to catch the wake up event.
[cut]
> }


Thanks for your reply but problem was with Symbol Mobile Developer kit 
patch. I again reinstall SMDK, apply patch and everything is ok.



Thanks.
Date:Wed, 08 Aug 2007 22:52:07 +0200   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us