A call log on a mobile phone is a historical list of all made and received phone calls.
Questions tagged [calllog]
296 questions
0
votes
1 answer
clear missed calls error in android.database.SQLite
I have the following code for clear missed logs:
ContentValues values = new ContentValues();
values.put(Calls.NEW, 0);
values.put(Calls.IS_READ, 1);
StringBuilder where = new StringBuilder();
where.append(Calls.NEW);
…

just ME
- 1,817
- 6
- 32
- 53
0
votes
1 answer
How to mask missed calls to read in Android?
I am working to an Android app that displays the missed calls using:
String[] projection = new String[]{
CallLog.Calls.NUMBER,
CallLog.Calls.TYPE,
CallLog.Calls.DURATION,
CallLog.Calls.CACHED_NAME,
CallLog.Calls._ID
};
String…

just ME
- 1,817
- 6
- 32
- 53
0
votes
1 answer
Get number from call log when contact is created
I have created a alternative app for creating a new contact in android. It works fine when we create a contact.
But when we create a contact from call log selecting "create contact" in context menu, I have not being able to get phone number that was…
0
votes
1 answer
Pop up notification when having missed calls
I am working on an android app.
I need to popup a message every time I have missed called.
I am retrieving missed calls using CallLog.Calls.CONTENT_URI.
I need some advices. How to do this?

just ME
- 1,817
- 6
- 32
- 53
0
votes
1 answer
Storing Calllog details into a SQLite DB
I am having some trouble with my application.
What I am trying to do is get the call records from the call Log, pass it into my DB for storage and then retrieve values as and when needed to be displayed.
The DB gets created but looks like the values…

Rabeeu Roohie
- 41
- 1
- 10
0
votes
2 answers
Open CllLog on Android and pick a number
I've read many posts of people trying to explain ho to open the call-log on Android and allow the user to pick an item but non of them work.
Does someone have a good working sample?

rbd
- 187
- 2
- 10
0
votes
1 answer
Android: Get unique contacts called from the call log
Lets say that i have 100 calls in my call log. I want to find the unique contacts (not numbers) that they have been called.
The problem is that if a contact has two phone numbers (e.g. for Contact A i have a number for home and another for mobile) i…

user2116122
- 13
- 1
- 7
0
votes
1 answer
Extracting call logs from a particular date to date(eg. 20th to 20th of every month)
I am creating an android application that fetches call logs from the device, format its date etc, show all calls in a list plus a piece of code to calculate duration into minutes. Its working fine, but I want my app to show call logs from let say…

Cyph3rCod3r
- 1,978
- 23
- 33
0
votes
1 answer
how to open call log from broadcastreceiver
how to open call log from broadcastreceiver
am using a broadcast receiver to monitor call is coming from which number...
and for that i need to open calllog to show to the user
how to open call log from broadcastreceiver?

786
- 71
- 1
- 2
- 6
0
votes
1 answer
Getting call log in android returning index out of bound when splitting result row on "\n"
while retrieving call log in android, I am getting an index out of bound when trying to split the result on "\n" based on the projection for index 1
/*
* projection string that will contain the values retrieved
*/
String[]…

wassim
- 277
- 1
- 6
- 22
0
votes
1 answer
how to open com.android.contacts/.CallDetalActivity
i want to open calldetail activity to see a contact call log info.
i take uri with this code
Uri lookupUri = Uri.withAppendedPath(CallLog.Calls.CONTENT_FILTER_URI, Uri.encode(c1.getString(c1.getColumnIndex(CallLog.Calls.NUMBER))));
now if i use
…

user1377034
- 21
- 1
- 5
0
votes
1 answer
Android - Sort calls by cached name if exist (use of ifnull in sqlite)
i would like sort the call logs by cached name. The cached name can be null.
So in the case of a null cached name, i would like to have the phone number for an alias.
in sqlite, there is the ifnull() function.
ifnull details
I try :
String[]…

user785975
- 169
- 1
- 3
- 11
0
votes
2 answers
Get the missed call notification
I am developing a application which will determine the phone state such as idle , ringing, off_hook. I am able to differentiate when the user ends the call. If the user doesn't end the call on his own, then obviously it is a missed call. I want to…

Cyril
- 1,216
- 3
- 19
- 40
0
votes
1 answer
Personal favourite and recent call list for android
I been trying out the other tutorials on the call log and favourite. But this method is always using the native android phonebook. Is there any way to make a favourite call list and recent call list just personal to my app (only my app can use it)?…

Akiff
- 69
- 1
- 9
0
votes
1 answer
Call a phone with out saving number in call logs
I am using following code to make a call.
private void callBack(String phone, Context context) {
Intent callIntent = new Intent(Intent.ACTION_CALL)
.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
callIntent.setData(Uri.parse("tel:" +…

Seshu Vinay
- 13,560
- 9
- 60
- 109