In my manifest I added in my activity:
<intent-filter>
<action android:name="webradio.disneychannel.ACTION_DIALOG_CLOSE" />
<category android:name="android.intent.category.DEFAULT" />
</ intent-filter>
And in my service I launch :
Intent close = new Intent(ACTION_DIALOG_CLOSE);
close.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
getApplicationContext().startActivity(close);
where ACTION_DIALOG_CLOSE
is an String = webradio.disneychannel.ACTION_DIALOG_CLOSE
But when the activity start, in the resume, this.getIntent().getAction()
always return null...