Questions tagged [calllog]

A call log on a mobile phone is a historical list of all made and received phone calls.

296 questions
3
votes
4 answers

Looking for an explanation of Asterisk's cdr log fields

Asterisk has the following fields CREATE TABLE `cdr` ( `calldate` datetime NOT NULL default '0000-00-00 00:00:00', `clid` varchar(80) NOT NULL default '', `src` varchar(80) NOT NULL default '', `dst` varchar(80) NOT NULL default '', …
johnml
  • 453
  • 1
  • 6
  • 16
3
votes
2 answers

Delete all Missed Calls log entries

Is there a way to delete ALL missed calls in the Call Log? I have seen some posts where they tell you how to delete number by number. I just need to clear all of them (but just Missed calls, not Incoming and not Outgoing) Thanks
Ton
  • 9,235
  • 15
  • 59
  • 103
3
votes
1 answer

How to Clear Call Logs on Android 4.3?

I am developing an android app trying to clear the call logs as in below code. Uri uri = Uri.parse("content://call_log/calls"); getContentResolver().delete(uri, null, null); This is working on all phones but not on Galaxy nexus with Android 4.3. I…
sanjana
  • 641
  • 2
  • 15
  • 36
3
votes
1 answer

How/if to use android.provider.CallLog.Calls.LIMIT_PARAM_KEY

I ran into this const [android.provider.CallLog.Calls.LIMIT_PARAM_KEY][1]. It is for some reason greyed out in the documentation, and when I try to use it, the app crashes (sqlite error) Does anyone know how to use this? (if we at all should use…
dors
  • 5,802
  • 8
  • 45
  • 71
3
votes
1 answer

How do I get recently completed phone Call details in android?

I want to get recently completed phone call details of android phone and after getting those details I want to start my new activity of my personal app when phone call has been completed . Basically i want to get phone call details before this…
Vishal V
  • 31
  • 4
3
votes
2 answers

How to display local notification when PhoneGap application is minimized

I have a PhoneGap application where I am using Background Service, PhoneListner and CallLog plugins for Android. So when ever there is an incoming/outgoing call ends, my application shows the notification having the last call details. But if I…
sourav
  • 676
  • 5
  • 21
3
votes
3 answers

Can't remove SMS logs from call log on Samsung devices

I'm trying to remove all SMS messages from the device via my app, but for some reason SMS logs still appear on the call log on some of the Samsung devices. I've tried a more "radical" approach, and deleted the following URI's using the…
3
votes
2 answers

Delete call log in android for particular number

I am trying to delete all call logs of particular number. try { String strNumberOne[] = {number}; Cursor cursor = getContentResolver().query(CallLog.Calls.CONTENT_URI, null, CallLog.Calls.NUMBER + "=? ", strNumberOne, ""); boolean bol =…
umesh
  • 1,148
  • 1
  • 12
  • 25
3
votes
2 answers

about getContentResolver() query CallLog

Cursor c = getContentResolver().query(CallLog.Calls.CONTENT_URI, null, null, null, null); for (int i = 0; i < c.getColumnCount(); i++) { Log.i(getClass().getName(), "retrieveCall(): " + c.getColumnName(i)); } I can get all…
thecr0w
  • 2,148
  • 4
  • 33
  • 59
3
votes
3 answers

how make call log app in android

I'm a newbie programmer android I want to make an android app to record phone activities such as incoming calls, outgoing calls, or miss call and record the logs to a file .txt what should I do ? please help me ...
adrasa
  • 115
  • 1
  • 4
  • 13
2
votes
1 answer

Android: Get CallLog History from a certain contact

I query the CallLog.Calls provider in order to retrieve a list of calls from a certain contact, based on the contact's display name. In particular, I use this query: String selection = CallLog.Calls.CACHED_NAME + "= ?"; String dispName =…
millenseed
  • 223
  • 2
  • 9
2
votes
2 answers

how to stop phone calls to be log in the call log on android

I'm writing an application that block some phone calls. I use a broadcast receiver to listen to incoming calls:
BigDan
  • 517
  • 2
  • 6
  • 12
2
votes
1 answer

Count the number of outgoing calls (2.2 or above)

I need a snippet for counting the number of outgoing calls in Android. All I want to do is something like this: int num = getTheNumberOfOutgoingCalls(Context c);
Lukap
  • 31,523
  • 64
  • 157
  • 244
2
votes
2 answers

permission to READ_CALL_LOG is not working in react-native expo

why can't get the permission to READ_CALL_LOG in react-native expo with this code? is possible to access call log in expo? const CallLogFunc = async () => { try { const granted = await PermissionsAndroid.request( …
Asid
  • 41
  • 5
2
votes
2 answers

BlackBerry: How to get call log/delete a call log entry

In BlackBerry platform, I would like to know if it is possible / how to do the following: Retrieve the call log (I am particularly interested in the incomming call record); Delete a specific call log;
pandre
  • 6,685
  • 7
  • 42
  • 50