A call log on a mobile phone is a historical list of all made and received phone calls.
Questions tagged [calllog]
296 questions
3
votes
2 answers
How can I access call log history on IOS5
I used FMDatabase and this path (/private/var/wireless/Library/CallHistory/call_history.db) to access the call logs on IOS4. After I updated to IOS5, it just gave me a "permission denied" exception. I know the call log file is there, just apple…

TTT
- 183
- 1
- 10
3
votes
1 answer
Delete all phone call logs programmatically
I'm trying to make a method to delete all call logs with one click.
Here is my code:
private void deletePhoneCallLogs() {
Cursor cursor = getContext().getContentResolver().query(CallLog.Calls.CONTENT_URI, null, null, null, null);
while…

Louis Chabert
- 399
- 2
- 15
3
votes
5 answers
Android Get Contact Picture from Call Log
It was pretty easy to get the Contact picture when querying the People.CONTENT_URI, with a simple
People.loadContactPhoto(activity, ContentUris.withAppendedId(People.CONTENT_URI, contactId)
because I knew the contact Id. Now I need to do the…

Alin
- 14,809
- 40
- 129
- 218
3
votes
1 answer
Android: get call history of contact
i am using this code the get to the contact info of a contact (i am using it also - with a few modifications - to call, send sms or email the contact). I wonder if there is a way to show the call history of a certain contact:
String name3 is the…

erdomester
- 11,789
- 32
- 132
- 234
3
votes
2 answers
Identifying a SIM card slot with PHONE_ACCOUNT_ID in Android CallLogCalls
In dual-SIM card mobiles I manage to differentiate SIM cards in the calllog using the PHONE_ACCOUNT_ID property as shown in the code below. Now I need to know what SIM card actually was use (1 or 2) to make or receive the call. PHONE_ACCOUNT_ID…

Wrath
- 31
- 4
3
votes
1 answer
Call end listener in Android
I am developing an application in which I am storing call log details from CallLog provider.
Android stores call logs in a database and I am copying new rows from that database.
Now I want to copy call details when the user ends a call. For that I…

Dharmendra
- 33,296
- 22
- 86
- 129
3
votes
1 answer
Get the Extension details from list of Extensions that got the call in RingCentral
I have a question in RingCentral: if we have multiple Extensions or Users in our account, then how to get the details of the Extension or User which got the call.
A call can be received by a particular User or Extension, but how to check which…

Ashim Kumar
- 35
- 3
3
votes
2 answers
access call logs through iPhone
Is there any way to access the call logs.
The number from which the call has came and the duration for how long the call lasted?
Also can we record the call in our application if our application is running in the background.
Thanks,

Suresh Varma
- 9,750
- 1
- 60
- 91
3
votes
3 answers
How can I update the contents of an entry in the Call Log?
I would like to update the CallLog.Calls.TYPE field of the first entry in the Android Call Log from MISSED to INCOMING. I have read books, the developers reference and googled this to death and am reasonably sure that my code is correct. However,…

user600222
- 81
- 1
- 7
3
votes
0 answers
How to get SIM info from Calllog.calls in android for dual sim
I am looking to read all incomming calls from the calllog and listing them in my app, but I am unable to get SIM info.
I tried using Calllog.calls.PHONE_ACCOUNT_ID, but that seems to work for only single sim devices and not dual-sim.
I see theirs a…

user2060431
- 114
- 5
3
votes
1 answer
Error when trying to get the date on Android CallLog.Calls
Hey I'm trying to get the date from the CallLog.Calls in Android. I'm doing like this:
import org.apache.http.impl.cookie.DateUtils;
import android.database.Cursor;
Cursor cursor = getContentResolver().query(
…

rogcg
- 10,451
- 20
- 91
- 133
3
votes
3 answers
How to access call logs from J2ME apps?
I've been looking around and haven't found an answer to the above question. Many forums say it cannot be done in most phones, but most of those entries date back to 2006-2007 or more. I'm hoping J2ME's gotten better in the past few years. :)

Karthick
- 4,456
- 7
- 28
- 34
3
votes
0 answers
Should be able to access CallHistory.storedata on jailbroken phone? But unable to
I can access the call log (call_history.db) on older OS version but I can't access it (CallHistory.storedata) on jailbroken 9.0.1.
This will return false:
NSString *callHisoryDatabasePath = …

Gruntcakes
- 37,738
- 44
- 184
- 378
3
votes
0 answers
Is there a way to tell Android to show the "missed call" notification?
In a VoIP application that "catches" the system's outgoing calls, I also put information about the calls into the phone's call log. For a missed call the code is like below:
ContentValues values = new…

larshson
- 41
- 5
3
votes
2 answers
Android Call Log data between two dates and Total duration of calls from same number.
want to get the call log history by today, yesterday, last seven days and last 30days along with that i want to show the total duration of incoming and outgoing calls of that particular number.
suppose abc has 3 outgoing and 1 incoming calls. i…

Sree Reddy Menon
- 1,301
- 13
- 23