Reputation: 1239
I have an app, that send SMS when button is clicked. After thet I am expecting a answer SMS, so it goes like this:
So can i start new activity from BroadcastReceiver
after recived SMS is proccessed?
Upvotes: 1
Views: 314
Reputation: 24021
from receiver you can start the activity like this:
Intent launch = new Intent(context, ActivityToLaunch.class);
launch.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(launch);
Upvotes: 2