Search code examples
androidloggingsmssmsmanager

How can I log all sent SMS along with package name?


I am trying to develop an app which logs all sent SMS along with UID or package name of the application which triggered that event. I am doing this for a research purpose.Thanks in advance ... I am looking to log the UID or package name of application which send that sms.

Sorry for my english if it is disgusting.


Solution

  • After a series of researches, I found that package name of application which triggered the SMS is explicitly stored in creator field(index 19) of SMS DB.