Android phonegap本地通知

Android phonegap本地通知,android,cordova,notifications,local,Android,Cordova,Notifications,Local,我已经在我的android应用程序中使用phonegap实现了本地通知 本地通知插件 通知正确触发,但在单击通知时 应用程序未打开 我想在点击状态通知后重新启动应用程序 感谢并问候在AlarmReceiver类中,在OnReceive事件中,更改第79行 final PendingIntent contentIntent = PendingIntent.getActivity(context, 0, new Intent(), 0); 到 它在AlarmReceiver类中启动新活动,在OnR

我已经在我的android应用程序中使用phonegap实现了本地通知 本地通知插件

通知正确触发,但在单击通知时 应用程序未打开

我想在点击状态通知后重新启动应用程序


感谢并问候

在AlarmReceiver类中,在OnReceive事件中,更改第79行

final PendingIntent contentIntent = PendingIntent.getActivity(context, 0, new Intent(), 0);


它在AlarmReceiver类中启动新活动,在OnReceive事件中更改第79行

final PendingIntent contentIntent = PendingIntent.getActivity(context, 0, new Intent(), 0);

它开始了,新的活动