사용자가 알림을 클릭했지만 알림 (?)에 대한 onclicked 이벤트가 없으므로 활동을 시작하고 싶습니다. 알림을 클릭하면 어떻게 알 수 있습니까?Android - 추적 알림 onclicked
감사합니다. 이 PendingIntent 설정에
사용자가 알림을 클릭했지만 알림 (?)에 대한 onclicked 이벤트가 없으므로 활동을 시작하고 싶습니다. 알림을 클릭하면 어떻게 알 수 있습니까?Android - 추적 알림 onclicked
감사합니다. 이 PendingIntent 설정에
http://developer.android.com/guide/topics/ui/notifiers/notifications.html
봐.
알림을 클릭하면 PendingIntent가 호출됩니다.
Intent notificationIntent = new Intent(this, MyClass.class);
PendingIntent contentIntent = PendingIntent.getActivity(this, 0, notificationIntent, 0);
notificationIntent
은 알림을 클릭 할 때 호출됩니다.