Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to access the Android call list?

Hey, I want to access the Android call list, so I can see the contact name, the hour of the calling, the duration, the hour of the calling and the date. Where is it, and how can I access it?

Thanks.

like image 416
rogcg Avatar asked Nov 09 '10 17:11

rogcg


1 Answers

I believe you're looking for the CallLog class, which is part of android.provider.

See more info at http://developer.android.com/reference/android/provider/CallLog.html

You should be able to call it using the constructor listed there. Hope that helps!

EDIT: This may actually be more helpful to you: http://developer.android.com/reference/android/provider/CallLog.Calls.html

like image 53
spanky Avatar answered Sep 21 '22 08:09

spanky