0

我想检查 windows mobile 中特定时间间隔之间的 GPRS 可用性。我尝试了使用计时器每 30 秒请求 google 一次的代码,但它会挂起系统,并且每 30 秒检查一次似乎很昂贵。还有其他方法可以完成吗?并且不要挂起我的系统。

4

1 回答 1

0

如果您的开发环境是 .NET,则可以使用 SystemState 类来监视以下 SystemProperties 的更改:

ConnectionsCellularCount
ConnectionsCellularDescriptions

有关详细信息,请参阅:http: //msdn.microsoft.com/en-us/library/microsoft.windowsmobile.status.systemstate.aspx

于 2012-04-26T00:01:04.363 回答