黑莓中的通话记录

发布于 2024-09-03 22:16:37 字数 298 浏览 1 评论 0原文

我正在黑莓中开发 CallLogs Sync 应用程序,并且已经部分完成,我不明白的一点是如何向 CallLogs 添加信息。我已从 CallLogs 检索信息并存储在服务器上,但现在我从服务器检索信息,但我没有想到如何将信息添加到 CallLogs,因为我从服务器和 PhoneCallLog 构造函数检索字符串中的所有信息,如下所示:

PhoneCallLog call = new PhoneCallLog(日期,int 类型,int 持续时间,int 状态,participantID 参与者,字符串备注);

请尽快告诉我,我将非常感谢你。

i am working on CallLogs Sync Application in Blackberry and partially i have done it, one point that i didn't understand is how to add information to CallLogs. I have retrieved information from CallLogs and Store on Server but now i retrieved information from Server but how to add info to CallLogs didn't come in my mind as i retrieved all the information in Strings from Server and PhoneCallLog Constructor look like this:

PhoneCallLog call = new PhoneCallLog(Date,int Type,int Duration,int Status,participantID participant,String Notes);

Please tell me as soon as Possible, i will be very thankful to you.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

甜心小果奶 2024-09-10 22:16:37

net.rim.blackberry.api.phone.phonelogs.PhoneLogs 类具有添加日志项的方法 addCall(CallLog call)

使用您发布的构造函数创建 PhoneCallLog 实例并将其添加到 PhoneLogs 中。您需要对应用程序进行签名才能使用这些方法。 (请参阅 http://www.blackberry.com/go/codesigning

API 文档:
http:// docs.blackberry.com/en/developers/deliverables/6022/net/rim/blackberry/api/phone/phonelogs/PhoneLogs.html

http://docs.blackberry.com/en/developers/deliverables/6022/net/rim /blackberry/api/phone/phonelogs/PhoneCallLog.html

class net.rim.blackberry.api.phone.phonelogs.PhoneLogs has method addCall(CallLog call) that adds a log item.

create PhoneCallLog instance with the constructor you posted and add it to PhoneLogs. You need to have the app signed to use these methods. (see http://www.blackberry.com/go/codesigning )

API documentation:
http://docs.blackberry.com/en/developers/deliverables/6022/net/rim/blackberry/api/phone/phonelogs/PhoneLogs.html

http://docs.blackberry.com/en/developers/deliverables/6022/net/rim/blackberry/api/phone/phonelogs/PhoneCallLog.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文