Skip to content
Advertisement

Tag: broadcastreceiver

startActivity() in BroadcastReceiver

I am trying to create an application that calls the sender of an SMS as soon as the smartphone receives an SMS. This is my code: But it dials and calls the sender only when the application is in foreground, while I’d like it to work always. Using the debugger, the execution flows, but it is unable to start the

Advertisement