Firefox OS - 导航器中不存在mozMobileConnection(Firefox OS - mozMobileConnection doesn't exist in navigator)
我目前正在开发Firefox OS,我必须处理移动连接,所以我已经阅读了Mozilla的一些教程和文档,我找到了navigator对象和它的一个属性mozMobileConnection 。
不幸的是,这种原则并不存在......我真的不知道为什么。 有人有个主意吗?
提前致谢!
I'm currently developing on Firefox OS and I have to handle mobile connection so I've read some tutorials and the documentation from Mozilla and I found the navigator object and one of its attribute mozMobileConnection.
Unfortunatelly, this atrtibute doesn't exist... I don't really know why. Anybody got an idea?
Thanks in advance!
最满意答案
我修好了!
我没有在我的清单中添加任何权限,我的申请没有“认证”。 我只需要添加以下行:
"type":"certified", "permissions": { "mobileconnection": { "description": "Required for handle mobile connection" } }我希望这会对别人有所帮助!
I've fixed this !
I didn't add any permission in my manifest and my application wasn't "certified". I'd just have to add these lines :
"type":"certified", "permissions": { "mobileconnection": { "description": "Required for handle mobile connection" } }I hope this will help others !
更多推荐
发布评论