Power On/Off GPRS on windows mobile

此生再无相见时 提交于 2019-12-08 06:35:33

问题


i'm looking for a way to power on or off the GPRS adapter programatically.


回答1:


If you're already using the Smart Device Framework, the ability is already there in the API, as you can see in this blog entry (the blog is for WiFi but the phone radio and bluetooth work the same way).

THe other option is to call ChangeRadioState in ossvcs.dll yourself (that's what the SDF is doing).



来源:https://stackoverflow.com/questions/1164057/power-on-off-gprs-on-windows-mobile

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!