Android: How to Resume Application/Activity from BroadcastReceiver?
问题 If my procedure is following: Launch Activity A -> Activity B Press 'Home' button. Click on the application again. Result: 'Activity B' shows up (it resumes ). Launch Activity A -> Activity B Press 'Back' button. Click on the application again. Result: 'Activity A' shows up (it restarts ). I want to do exactly same from the BroadcastReceiver. Launch Activity A -> Activity B Press 'Home' button. BroadcastReceiver receives a broadcast and want to "resume" application. My expected result: