Questions tagged [calllog]

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

296 questions
2
votes
1 answer

android call log retrieve just 500 record?

working on an android call log app , the call log of android retrieve just 500 records , is that because error in code or the OS just retrieve last 500 records .
Odai Nasser
  • 112
  • 10
2
votes
2 answers

Call logs for dual sim android device

I am using the below code to get the call log details which is working very fine for single SIM device, but the problem arises when it comes to the DUAL sim. I am trying to find work around for getting logs from dual sim device. /** * Get All…
Scorpion
  • 6,831
  • 16
  • 75
  • 123
2
votes
1 answer

Get Top Contacted data in android

I am trying to get the top contacted call log details in android. Say if the person A has been contacted for 5 times, B has been contacted for 3 times and C 10 times. Now, I want to extract C and A as my top contacted persons in my phone. Can any…
tejas
  • 2,435
  • 10
  • 37
  • 54
2
votes
1 answer

CallLog content provider returns 500 results max

For some reason, If I query the CallLog Content provider, I get maximum 500 results. Also, it seems I only get results up to 1 month ago (when my devices Phone app shows me about 8 months at the moment). I googled it, but all I found was 'Store…
dors
  • 5,802
  • 8
  • 45
  • 71
2
votes
2 answers

How to refresh call log

I'm trying to refresh the call log once a button is pressed. I have both a Uri and Cursor defined Cursor c; Uri allCalls = Uri.parse("content://call_log/calls"); and then this function is called in onCreate public void checkLogs() { c =…
Dzinic
  • 2,361
  • 2
  • 15
  • 16
2
votes
1 answer

Android - Hide calling phone number when call is made through my app?

I have button in my Android app to call a desired phone number. I want to hide this number from callers call log (Yes, I want to hide it from displaying androids call log) is there any possible way for me to display calls made by my app as strings…
DbxD
  • 540
  • 2
  • 15
  • 29
2
votes
1 answer

How to get Call Log by date in android?

I am trying to get Call Logs by date. But get stuck with the format of the date to be passed to the cursor to get the values. Call Log Cursor Calendar calendar = Calendar.getInstance(); SimpleDateFormat dateFormatter = new…
vinothp
  • 9,939
  • 19
  • 61
  • 103
2
votes
2 answers

Access call history in iphone.?

Possible Duplicate: Reading call history in iPhone OS Hi my new requirement is to access calllog (incoming/outgoing/missed calls) from iphone. Is there any framework or API for accessing that? Is it possible?
user1017932
  • 77
  • 2
  • 9
2
votes
1 answer

Fetching Call duration from Calllog after call ends using BroadcastListener

I need to try and get the call duration after a call has ended. I have a broadcast listener which using telephony manager keeps track of the phone states, that is 'offhook', 'idle' and all. Using this receiver i can find out when a outgoing call has…
2
votes
0 answers

When I made call through SIP phone, the mobile number edit into my dialed call log that I want to clear, how can I do that?

I have done the following changes into my code. I just want to clear the call log that written by the SIP phone, I have made my SIP phone using SIPDROID. If I delete the permissions from Android manifest it gives me an error. All I want is to remove…
2
votes
1 answer

last outgoing call duration android

I have a broadcast listener which looks for any outgoing call and then starts a service upon completion of an outgoing call. The thing is within the service, I need to try and fetch the last call duration. I try querying the…
user1043023
  • 31
  • 1
  • 6
1
vote
3 answers

Calls from Android to Salesforce

Is there any way to log incoming and outgoing calls from my Android and move them into Salesforce?
1
vote
1 answer

Android call log format time of call

I am collecting data from the call log. This is how I format the date of the call to my taste: DateFormat datePattern = DateFormat.getDateInstance(DateFormat.FULL); //Tuesday, October 18, 2011 Long datelong = Long.parseLong("1318950779497"); String…
erdomester
  • 11,789
  • 32
  • 132
  • 234
1
vote
3 answers

Android extract time of calls from call log

I am looping through the call log and saving the dates of the calls into an array. During this process, I get dates like 1315164925580. Part of the call log loop: int dateColumn = c.getColumnIndex(android.provider.CallLog.Calls.DATE); long callDate…
erdomester
  • 11,789
  • 32
  • 132
  • 234
1
vote
3 answers

Not getting first data of CallLog

I'm trying to get the call I just made/received. For that I'm using BroadcastReceiver and IntentServices. It happens like this: In my BroadcastReceiver class, I check if the state is OFFHOOK, if yes, I set the flag in SharedPreferences, so When the…
rogcg
  • 10,451
  • 20
  • 91
  • 133