开发者

Putting of default SMS notification

开发者 https://www.devze.com 2023-03-20 19:13 出处:网络
What I am trying to do is developing an SMS notification system for our own application, whenever the sms is received from a specified number the application gets invoked but the problem is that whene

What I am trying to do is developing an SMS notification system for our own application, whenever the sms is received from a specified number the application gets invoked but the problem is that whenever the sms arrives from any other number then also the appli开发者_开发问答cation gets invoked and that is undesirable. I would be grateful to hear from u all .


Read this question and answers: how to stop the application from opening in android

Basically you need to extract the number from the message and if it is a number you are interested in, then you start your application, otherwise not.

0

精彩评论

暂无评论...
验证码 换一张
取 消