Reputation: 8373
I want to write an application in which every call information should be logged. Till now I can log all incoming calls by making use of PhoneStateListener
but dont know how to listen outgoing calls. If anyone had worked on such issue please let me know the way how to do the same.
Thanks in advance.
Upvotes: 0
Views: 473
Reputation: 1932
Try to look at following thread
How to get Call number as well as the duration of the call made by a user in Android?
from the following thread you can fetch whether the call is incomng or outgoing or missed
// type can be: Incoming, Outgoing or Missed
int typeColumn = c.getColumnIndex(android.provider.CallLog.Calls.TYPE);
Thanks
Upvotes: 1