0

私のマニフェストでは、アクティビティに追加しました:

<intent-filter>
 <action android:name="webradio.disneychannel.ACTION_DIALOG_CLOSE" />
 <category android:name="android.intent.category.DEFAULT" />
</ intent-filter>

そして私のサービスでは、私は起動します:

Intent close = new Intent(ACTION_DIALOG_CLOSE);
close.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
getApplicationContext().startActivity(close);

はどこACTION_DIALOG_CLOSEですかString = webradio.disneychannel.ACTION_DIALOG_CLOSE

しかし、アクティビティの開始時、履歴書では、this.getIntent().getAction()常に null を返します...

4

0 に答える 0