Receving binary SMS on port also stores a copy of SMS in inbox
I am developing a banking application. We have a binary SMS functionality where th开发者_StackOverflow社区e application listens to a specific port for SMS. The application is able to receive SMS but a copy of SMS is also stored in inbox. I do not want the SMS to be stored in inbox. It must be receid only by the application. Can you please help me on how to overcome this issue?
regards, Chinnadurai
you can set priority to your broadcast recevier like this if your are registering receiver in code filter.setPriority(10); otherwise like this in manifest
I do not think that this is possible using SMS. Your option is to delete the SMS as soon as possible. How to do that has already been answered here.
精彩评论