chaiwatt Member Licensed User Longtime User Oct 29, 2014 #1 Hi experts, This's look silly question, Is it possible that I can receive/send SMS if app is closed?. real doubt!,5555. Regards, chaiwatt
Hi experts, This's look silly question, Is it possible that I can receive/send SMS if app is closed?. real doubt!,5555. Regards, chaiwatt
lemonisdead Well-Known Member Licensed User Longtime User Oct 29, 2014 #2 Hello, This is not a silly question and you'll be glad to know it is of course possible. You'll find a Tutorial about. This is done by registering a broadcast receiver which starts a service when the SMS is received. When the message is received, your service will be in charge of starting any activity of your app. But intercepting totally won't work since KitKat as the SMS app should be declared as the default SMS app. Depending on what you want to achieve, you can use Data SMS too. Upvote 0
Hello, This is not a silly question and you'll be glad to know it is of course possible. You'll find a Tutorial about. This is done by registering a broadcast receiver which starts a service when the SMS is received. When the message is received, your service will be in charge of starting any activity of your app. But intercepting totally won't work since KitKat as the SMS app should be declared as the default SMS app. Depending on what you want to achieve, you can use Data SMS too.