通知コード:
NotificationCompat.Builder noti = new NotificationCompat.Builder(context)
.setSmallIcon(R.drawable.work_alarm_icon)
.setContentTitle("Alarm")
.setContentText(w.toString())
.setContentIntent(pintent)
.setSound(Uri.parse("android.resource://com.google.app.workalarm/" + R.raw.alarm))
.setStyle(new NotificationCompat.BigTextStyle().bigText("..."));
noti.build().flags |= Notification.FLAG_INSISTENT;
noti.setLights(Color.WHITE, 1000, 500);
noti.setVibrate(new long[]{0,500,250,500});
解除するまで音・バイブとLEDを聴きたいです。(新しいアクティビティでキャンセルボタンをクリックすると)。助けて !ありがとうございました !