I am implementing
SMSListener
in my app and I have set it's possibly highest priority asandroid:priority="2147483647"
so that I should get the call on new incoming sms.In my second sample app I have set the same priority as above for
SMSListener
but when I get call for new incoming SMS I am usingabortBroadcast();
.
When I ran both these app and I found that 1
is getting the call before 2
. Now I am seeking this behaviour will remain as it is or it is not constant and 2
can get call before 1
.
I want to make sure that my app get's the call whenever sms comes even if there exists some other app which has the highest priority and it is aborting the sms.
I hope I have put my point and looking for some convincing answer.
Thanks for devoting your time to my problem.