移动Web应用程序可以访问操作系统本机环境吗?
移动网络应用程序是否可以访问本机移动操作系统环境并与之交互?例如,假设我出于某种原因正在创建一个移动网络拨号器应用程序。网络拨号器应用程序是否能够提取手机上当前的联系人或能够添加新联系人?或者能够提取您的短信/图片/电话版本/服务类型/等。
由于移动 Web 应用程序是多平台的,因此可以理解的是,对于我所要求的功能,每个平台都有其优缺点,所以我们只说 iPhone 和 Android 平台怎么样?
Is it possible for a mobile web app to access and interact with the native mobile OS environment? For example lets say I am creating a mobile web dialer app for some reason.. can the web dialer app be able to pull up my current contacts on my phone or be able to add a new contacts? Or be able to pull up your text msgs/pictures/phone version/type of service/etc.
Since mobile web applications are multi-platform its understandable that each platform would have its pros and cons for the capability that I am asking for so lets just say what about the iPhone and Android platform?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不确定这是否是您想要的,但 PhoneGap (http://www.phonegap.com/) 允许 html 页面访问移动操作系统 API。
不过,您仍然需要通过应用程序商店打包和分发您的应用程序。
Not sure if it's what you looking for but PhoneGap (http://www.phonegap.com/) enables html pages to access the mobile OS APIs.
You still need to package and distribute you app through tha app store though.
取决于您运行的设备。例如,出于安全原因,iPhone 被沙箱化,因此您不太可能访问操作系统的其他部分。 Android 则相反,因为它是开源的并且更加免费,所以可能是一个不同的故事。这一切都取决于您所谈论的操作系统。
Depends on the device you're running on. For example, iPhone's are sandboxed for security reasons so it's highly unlikely that you'll be able to access other parts of the OS. Android on the other since it's open source and more free, might be a different story. It all comes down to what OS you're talking about.