I’m writing a logging API that I’ll deploy with an android application. It will ideally look to see when the phone is used and which number / contact the phone operator is contacting or receiving a phone call from.
I was wondering can anyone point me to which libraries I’d need to use to achieve this ?
For incoming calls: last known information is that you can see them, but can’t interfere. See How to block calls in android.
For outgoing calls: you can intercept the intent and act or it or just observe and pass it on. See http://groups.google.com/group/android-developers/browse_thread/thread/931e04811839326e.