[英]Logging calls after hanging up on smart phones
In the various smartphone APIs/SDKs, I was wondering if it is possible to prompt a user if they'd like to log a phone call after they hang up. 在各种智能手机API / SDK中,我想知道是否有可能提示用户他们是否想在挂机后记录电话。 The most basic functionality would be after calling out or receiving a call, the phone would ask
最基本的功能是在呼叫或接听电话之后,电话会询问
Do you want to log the call to|from 555-555-5555? 您要将呼叫记录到555-555-5555吗?
Yes | 是的| No |
没有| Never this number
从来没有这个号码
(then it might take the user to a small form and then post the info to a webservice) (然后它可能会将用户带到一个小表单,然后将信息发布到Web服务)
The business use is for lawyers who have company phones and need to track billing. 商业用途适用于拥有公司电话且需要跟踪账单的律师。
this is a bit different question than Accessing the iPhone's Call log with the iPhone SDK . 这与使用iPhone SDK访问iPhone的通话记录有点不同。
在Android手机上,您可以注册一个PhoneStateListener,以接收呼叫挂断的通知,并按您希望的方式记录该号码。
Blackberries have call logging out of the box. 黑莓已经开箱即用。 Blackberry Enterprise Server activated units sync the log with the server.
Blackberry Enterprise Server激活的单元将日志与服务器同步。
On iPhone, no way. 在iPhone上, 没办法。
Apple would have to allow (shudder) background applications. Apple必须允许(颤抖)后台应用程序。
Note: Shraptnel is right, you may be able to monitor the phone state with some private API's if you jailbroke your phone and ran your program in the background. 注意:Shraptnel是正确的,如果您越狱手机并在后台运行程序,您可以使用某些私有API来监控手机状态。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.