简体   繁体   English

iPhone通话记录/历史

[英]iPhone call log / history

I'm doing some research on the feasibility of an iPhone application, and can't find any indication in Apple's documentation that an iPhone app can read the call history of the phone, specifically the number called, when, and the duration... I also need the same information for SMS.我正在对 iPhone 应用程序的可行性进行一些研究,但在 Apple 的文档中找不到任何迹象表明 iPhone 应用程序可以读取手机的通话历史记录,特别是通话的号码、时间和持续时间......我也需要同样的短信信息。

First of all: I've done my research and googled around, searched around on this site, I know this question had been asked a lot of times before: and the answer was always.首先:我已经完成了我的研究和谷歌搜索,在这个网站上搜索,我知道这个问题以前被问过很多次:答案总是。 "It can't be done" (at least not on a non-jailbroken iPhone). “无法完成”(至少在未越狱的 iPhone 上不会)。

I searched the API including Core Telephony and didn't find anything myself either.我搜索了包括 Core Telephony 在内的 API,但我自己也没有找到任何东西。

So why this question?那么为什么要问这个问题呢? Because this app in the App Store seems to be doing this without a problem... : http://itunes.apple.com/us/app/callog/id327883585?mt=8因为App Store中的这个应用程序似乎没有问题......: http://itunes.apple.com/us/app/callog/id327883585?mt=8

This doesn't need jailbreak.这个不需要越狱。 U can use the FMDB to access the call_history.db.您可以使用 FMDB 访问 call_history.db。 It doesn't need any third party API's.它不需要任何第三方 API。 I don't know, Apple will accept it or not, but I know it can be accessed as I have already done that in one of my apps, I am currently working on.我不知道,Apple 是否会接受它,但我知道它可以被访问,因为我已经在我的一个应用程序中做到了这一点,我目前正在开发。

Sorry but right now it really can't be done..对不起,但现在真的做不到..

On iOS 5 there isn't any access to call_history.db -> Which is exactly what you were looking for.在 iOS 5 上,无法访问 call_history.db -> 这正是您要寻找的。

The app mentioned here: http://itunes.apple.com/us/app/callog/id327883585?mt=8 Does not work with iOS 5 (don't download but check the users' reviews..)这里提到的应用程序: http://itunes.apple.com/us/app/callog/id327883585?mt=8不适用于 iOS 5(不要下载,但要查看用户的评论。)

On iOS 4, you might still be able to get away with it: http://iosstuff.wordpress.com/2011/08/19/accessing-iphone-call-history/ But who develops solely for iOS 4 these days..? On iOS 4, you might still be able to get away with it: http://iosstuff.wordpress.com/2011/08/19/accessing-iphone-call-history/ But who develops solely for iOS 4 these days.. ?

This is possible since this https://itunes.apple.com/us/app/navita-tem-personal/id590228620?mt=8 application does that.这是可能的,因为这个https://itunes.apple.com/us/app/navita-tem-personal/id590228620?mt=8应用程序可以做到这一点。 The question is, how?问题是,怎么做?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM