I want to create an app which wait for intent to be received (e.g. smsReceived).
When this happens I’ll start listen with my custom event (e.g. some change in the prox sensor) and when this triggered i want to launch an activity.
So I’m struggling how make it happen (service,intentservice, broadcastreceiver, activity)
which will manage/launch what?
thanks
Let a BroadcastReceiver receive the intent and launch a service from it, from the service you can start your activity.