Lets try to explain my question: I got an application and a service. The application is started with activity A. The service sends a broadcast that will let the application
I would suggest you use Intent.FLAG_ACTIVITY_CLEAR_TOP as it will remove all activities which start on top of your targeted activity.
eg :
Intent intent = new Intent(sourceActivity, Target activity); intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); startActivity(intent)