navigator.network.connection.type 始终返回“未知”
我是电话间隙的新手。我用的是WP7。我一直在努力 执行简单的测试来获取连接类型。我用这个:
var networkState = navigator.network.connection.type;
console.log("networkState: "+networkState);
但总是显示“未知”连接。我正在使用窗户 SDK自带的手机模拟器。有人有类似问题吗?? 请帮忙..
I am new to the phonegap. I am using it for WP7. I've been trying to
perform a simple test to get the connection type. I use this:
var networkState = navigator.network.connection.type;
console.log("networkState: "+networkState);
But it always displays "unknown" connection. I am using the windows
phone emulator that came with SDK. Is anyone having similar issues??
Plz help..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论