如何将新的领域(S)和记录添加到通话记录(通话记录)的数据库? [英] How to add new field(s) and records to the call logs(call history) database?

查看:113
本文介绍了如何将新的领域(S)和记录添加到通话记录(通话记录)的数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使VoIP应用,我想知道是否有可能做的通话记录内容提供商如下 -

I am trying to make a VoIP application and I wanted to know if it is possible to do the following with the Call Logs content provider -

  1. 我要沿着与普通电话的通话记录的VoIP呼叫添加新的呼叫记录。如何添加新的记录到现有的通话记录内容提供商?

  1. I want to add new Call Log records for the VoIP call along with the call logs for the regular call. How can I add new records to the existing Call logs content provider?

我要自定义字段添加到呼叫日志就像一个会话ID和SIP地址(名称@域)领域。如何自定义通话记录数据库?

I want to add custom fields to the Call Logs like a session ID and SIP address(name@domain) field. How can I customize the call logs database?

这将是巨大的,如果有人可以给我一个例子。

It'll be great if someone can give me an example.

推荐答案

从一个标准的SDK应用程序,你不能直接扩展或修改 CallLog 数据库或内容提供商。对于SDK平台的VoIP应用程序,你应该维护自己的通话记录。

From a standard SDK application, you cannot directly extend or modify the CallLog database or content provider. For an SDK-based VOIP application, you should maintain your own call log.

如果你正在写自己的固件自己的设备,我相信有办法可以修改通话记录数据库。

If you are writing your own firmware for your own device, I am sure there are ways you can modify the call log database.

这篇关于如何将新的领域(S)和记录添加到通话记录(通话记录)的数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆