A call log on a mobile phone is a historical list of all made and received phone calls.
Questions tagged [calllog]
296 questions
1
vote
1 answer
What do the values mean for the CallLog.Calls.CACHED_NUMBER_TYPE field?
I have queried the call log on Android. Some calls have 0 and other have 1 for the CallLog.Calls.CACHED_NUMBER_TYPE field. What do these numbers mean? Does 1 mean "Home"? Where is this documented?

Will
- 812
- 3
- 11
- 21
1
vote
0 answers
CallLog.Calls.CACHED_LOOKUP_URI not working on Xiaomi/MIUI devices
I need to get the contact URI given the Call Log in order to be able to open the native "Contacts" app to show the info of the Contact that made a call, if any. In order to do this, CallLog.Calls have the property CACHED_LOOKUP_URI so you can access…

6uzm4n
- 65
- 8
1
vote
1 answer
App does not display the call log after allowing android.permission.READ_CALL_LOG once
// READ_CALL_LOG permission works only once after first installation of the app. when I install it again from android studio the permission does not appear and the app does not read the call logs. This also happens after installing the app and…

Elegante Blink
- 13
- 2
1
vote
1 answer
Error while writing phone-callLogs in android
For writing a CallLog, I have used the following code:
public void callLog(View view){
//textView.setText("Call Logging Started ... ");
ContentValues values = new ContentValues();
values.put(CallLog.Calls.NUMBER, 1234567890);
…

CoolCoder
- 786
- 7
- 20
1
vote
1 answer
Android: how to provide data about numbers from application database to android phone app - recents
How can I make android default phone app take the assigned name to the number from my application database and show it?
An example of what I want to achieve:
Number XXX-XXX-XXX called me yesterday and I don't have its name in my Contact Book BUT…

Buupr
- 13
- 3
1
vote
1 answer
CallLog.Calls.CACHED_PHOTO_URI always return empty
I have facing very critical issue. I developing call log related apps but when i getting call log from content provider i am not able to find CallLog.Calls.CACHED_PHOTO_URI. It's always returning empty. I am using VIVO 1917( Funtouch OS_10)
public…

Samset
- 109
- 7
1
vote
1 answer
Samsung's mobiles call logs details saving to Cursor in reverse order
I'm writing an app for getting the latest call logs details from the Android mobile phone. I'm successfully receiving Last call details while running my app in Huawei mobiles. but if I run my app in Samsung mobiles I'm getting very oldest calls…

FGH
- 2,900
- 6
- 26
- 59
1
vote
1 answer
How to use Cursor's in non Activity Classes
I wan't to get data's from CallLog.Calls.CONTENT_URI in non Activity classes. Am using cursor to get these data's from CallLog. But in non activity class cursor shows some error so how i can how i can do this?
Presently am doing like this,
public…

Adhi
- 21
- 1
- 3
1
vote
1 answer
Identify Call logs from Sim1 and Sim2
I'm trying to show call logs from Sim1 and Sim2 separately. I'm getting all call logs, but not able to differentiate it whether it is from Sim1 or Sim2. I have tried below code,
val managedCursor =…

Sachin Varma
- 2,175
- 4
- 28
- 39
1
vote
1 answer
Getting a 404 error when using the call log API
I'm using Node and trying to do a simple API call to the call log. My code came from the docs, but modified a bit. Login works just fine so my credentials are ok.
const fetch = require('node-fetch');
const SDK =…

Raymond Camden
- 10,661
- 3
- 34
- 68
1
vote
1 answer
Simply accessing call logs in flutter (?)
I need to access the call log of android mobile phone in my project and I don't have that much experience in Flutter. Found a package named 'call_log' but don't know how to implement. I would very much appreciate any help here.
Here is the readme…

kamranbekirovyz
- 1,208
- 1
- 13
- 33
1
vote
1 answer
How to get the call log (contact name, number, date, type , duration ) in android studio
I wrote a small program to get the call log from a device. So far It works fine. But now I want to get the contact name as well. Currently, It only shows contact number, call type (incoming, outgoing or missed call), duration, date. I tried to get…

vihaga yohan94
- 99
- 3
- 9
1
vote
0 answers
How can save call History in phone storage?like as a backup
I want to make a calls log backup and recovery Application.
I have done some initial work. like call the CallLog API and show in ListView. but now How can save in internal or external storage.after that we can recover this call history through…

Hamza Gillani
- 11
- 2
1
vote
1 answer
How to populate numbers from call log into a onClick list?
I am building an app where I am suppose to view my call log in a list and make a call when pressing an item in the list.
What is the best option for this?
I wanna try to make a custom adapter but I am unsure if it is the right way to do or if…

mrzipper
- 11
- 5
1
vote
1 answer
How to associate RingCentral call data and Glip post data by user?
How can I associate the call data from the RingCentral API to the user data in the Glip API. As far as I can tell, the only overlap is the proper names located in the call logs to and from fields (which aren't always present), which can be mapped…

Grokify
- 15,092
- 6
- 60
- 81