How can I log all sent SMS along with package name

2019-08-06 05:00发布

问题:

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.

回答1:

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.