开发者

Get total Call Duration in Android

How can get the call duration from phone memory ? I get the calls duration from Android.provider.CallLogs.calls but if rem开发者_Python百科oved the CallLogs i am not able to fetch call log.


Use PhoneStateListener, store the start time when the phone goes off hook and the stop time when the phone goes on hook. Then calculate the duration.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜