0
상태 표시 줄의 알림을 클릭 한 후 사용자를 리디렉션 할 수 있습니까? 전화/SMS/Gmail/..?Android API : 상태 표시 줄 - 전화/SMS/Gmail/기타로 리디렉션
미리 감사드립니다.
상태 표시 줄의 알림을 클릭 한 후 사용자를 리디렉션 할 수 있습니까? 전화/SMS/Gmail/..?Android API : 상태 표시 줄 - 전화/SMS/Gmail/기타로 리디렉션
미리 감사드립니다.
"setLatestEventInfo"- 메서드를 찾고 있습니다. 그것은 내 응용 프로그램에서 다음과 같습니다
보시다시피Intent msgIntent = new Intent(this, ExampleClass.class);
PendingIntent nManagerStart = PendingIntent.getActivity(this, 0,
msgIntent, 0);
msg.flags |= (Notification.FLAG_AUTO_CANCEL);
msg.setLatestEventInfo(this, contentTitle, contentText, nManagerStart);
notificationManager.notify(NOTIFY_ID, msg);
은, 하나는 통지에 pendingIntent를 추가 할 수 있습니다.
다음은 알림 관리자 용 가이드입니다. http://developer.android.com/guide/topics/ui/notifiers/notifications.html