Practical way to find out if SMS has been sent

后端 未结 3 1430
闹比i
闹比i 2020-11-29 04:16

I am interested in how I can figure out if SMS has been sent from the device.

In order to get notification when SMS is recieved, we use a broadcaster with:



        
3条回答
  •  孤城傲影
    2020-11-29 04:44

    One thing that comes to mind is using the logcat log. Every time a SMS is sent/received there is a specific entry. Just hook up your phone in debug and test and you will observe the specific entry.

    I should mention this method is done from your app, so you can work it into your code.

    Take a pull of this. There may be other methods but that seems fairly easy and do-able.

提交回复
热议问题