Finishing An Activity From Broadcastreceiver - Android
Possible Duplicate: Finishing an Activity from a Broadcast Receiver Please observe the scenario I have: Class A extends Activity Class B extends BroadcastReceiver How can I fini
Solution 1:
The best way to deal with this is to register a broadcast receiver in code inside your activity and listen for that particular broadcast message for which you want to finish your activity.
P.S. Independent Broadcast-Receivers and Services don't have right to manipulate Activities, except for launching Activities as new task.
Post a Comment for "Finishing An Activity From Broadcastreceiver - Android"