Windows Phone 7 通话记录 - Mango API
我可以使用 Mango API 从手机获取当前通话记录以及通话号码和日期时间详细信息吗?我认为目前的情况是不可能的。
Am I able to get the current call history with the call number and DateTime details from the phone with the Mango API? I think it is not possible with the current one.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
没有用于检索通话记录的 API。这主要是出于隐私考虑,并保护用户免受在设备上表现不佳的恶意应用程序的影响。
您会注意到 API 中有一组启动器和选择器。其中之一是 PhoneNumberChooser 任务。此特定任务将启动“联系人”应用程序,并允许用户从应用程序中实际选择要拨打的联系人号码。您会注意到这需要用户的手动交互。许多数据检索 API 需要用户手动选择,再次保护用户免受应用程序做坏事的影响。例如,在后台跟踪您的联系人列表,并在用户不知情的情况下将该数据发送到网络服务。
我们对 API 给予了特别关注,以保护用户免受此类情况的影响。
如果您对需要 API 提供呼叫历史记录选择器有任何反馈,请将您的反馈提交至 http://wpdev.uservoice。 com。
There is no API to retrieve Call History. This is mainly due to privacy concerns and protecting the user from nefarious applications behaving badly on the device.
You will notice that among the API is a collection of Launchers and Choosers. One of which is the PhoneNumberChooser Task. This particular task launches the Contacts application and allows the user to physically select a contact number to dial from your application. You'll notice this requires a manual interaction from the user. Many of the data retrieval APIs require manual selection from the user, once again to protect the user from applications doing bad things. For example, trolling your contact list in the background and sending that data to a web service without the user's knowledge.
Special care was given to the API's to protect the user from these types of scenarios.
If you have feedback on the need for an API to provide a Call History Chooser, submit your feedback to http://wpdev.uservoice.com.
如果 Marketplace 筛选应用程序的行为,如果应用程序必须声明它们的行为,并且如果用户必须选择允许应用程序访问此信息,那么为应用程序开发人员和更重要的是用户提供以下选项似乎是合理的:决定这个。如果仍然担心这一点,那么操作系统可能会弹出一个用户响应屏幕,以在应用程序请求时允许或拒绝该操作。许多应用程序可以从了解此信息中受益,从而使用户不必在当前调用中输入信息,而用户可以轻松地允许应用程序获取数据。
If Marketplace screens apps for behavior, and if apps have to declare what they do, and if users have to opt in to allow an app to get access to this information, it would seem reasonable to give app developers and more importantly users the option to decide this. And if there is still fear about this, then the OS could pop up a user response screen to permit or deny the action when an app requests to do so. There are many applications that could benefit from knowing this information to save the user from having to enter information from the current call when it could be easy for them to permit an application to get the data.