Reputation: 8810
How to get the total incoming call duration and total outgoing call duration in Android.
Anyone's help will be much appreciated.
Thanks to all, Madan.
Upvotes: 2
Views: 12897
Reputation: 26547
You should use android.provider.CallLog.Calls. With this class you can get the content of the Call Log (incoming, outgoing, missed calls) which contains the duration of every call.
Here is a tutorial about it.
Upvotes: 4