Not able to catch each sms status

偶尔善良 提交于 2019-12-04 17:14:44

This is now solved after I modified my pending intent. Request code must be unique and also i added this PendingIntent.FLAG_CANCEL_CURRENT to cancel the current intent or you can update current intent.

PendingIntent sentPI = PendingIntent.getBroadcast(MyApplication.getAppContext(),smsID++,intentExtra, PendingIntent.FLAG_CANCEL_CURRENT);
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!