Perform Long Running Operations When Receiving Sms On Api < 21
I'm building an app that will listen for incoming SMS messages, perform some potentially long running operations and send back a reply if some conditions are met. I've got the lis
Solution 1:
Just start a Service
in your BroadcastReceiver
to do the long-running operation and send back the result. You could use an IntentService
or a regular Service
.
Post a Comment for "Perform Long Running Operations When Receiving Sms On Api < 21"