1.Can intercept short messages by condition I specify(means that the system's sms can't receive any messages and don't send any notification to user). If the short message isn't match my condition that my app will not intercept it and the sms can receive the short message.
2.When I intercept a sms successfully,I can handle this message such as store it to a custom table.
I implement the functionality above by ContentObserver class,but it not work well.Sometimes it can't intercept short message in time.I think it's due to system delay.In this case,the sms and my app will receive the short message and send notification at the same time.So,now I hope who can help me to solve this issue or give me some hints.
Thanks a lot.
You can download my source code below