I have app that intercepts outgoing call. With some filtering, I'm hanging up the call. The problem is, that I want to see that call in outgoing call log. Since I'm hanging up the call in code, it doesn't write the entry of it. How can I manually add to call log please?
Asked
Active
Viewed 915 times
1 Answers
0
You need android.permission.WRITE_CONTACTS
(and maybe READ_CONTACTS
as well), then you can access the call log.
Here is code to read the call log and to update an entry. You should be able to insert()
into the content provider the same way.