알림을 클릭하면 주 활동을 시작하겠습니다. 사용자가 앱에없는 경우에도 마찬가지입니다. 어떻게해야합니까? 모든클릭 알림에서 활동 시작
NotificationCompat.Builder mBuilder =new NotificationCompat.Builder(this)
.setSmallIcon(R.drawable.diamond)
.setContentTitle("Crystallise")
.setContentText("making your thoughts crystal clear");
NotificationManager mNotificationManager =
(NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
mNotificationManager.notify(notifyID, mBuilder.build());