한 행을 클릭하면 알림 값을 전달하여 안드로이드에 세부 정보를 표시하는 다른 활동에 어떻게 전달합니까?Android 알림
0
A
답변
2
확인이 아웃 :
Notification n = new Notification(icon, text, when);
String contentTitle = "I am expanded title";
String contentText = "I am expanded text";
Intent intent = new Intent(this, TargetActivity.class);
// Put additional stuff into the created intent
PendingIntent contentIntent = PendingIntent.getActivity(this, 1, intent, 1);
n.setLatestEventInfo(this, contentTitle, contentText, contentIntent);
이 Intent.putExtra 방법을 사용하여, 의도에 정보를 넣어, 대상 활동을 검색 할 수 있습니다.
관련 문제
- 1. 알림 수신기에 알림 설정 android
- 2. Android 알림 타이머
- 3. Android 알림 바 번호
- 4. 알림 Android 3.0
- 5. Android 대화 상자 알림
- 6. Android 알림 삭제
- 7. Android 알림 반복
- 8. Android 알림 진동 시간
- 9. Android 근접 알림
- 10. Android 알림 대화 쿼리
- 11. Android 다중 알림
- 12. Android 용 간단한 알림
- 13. Android 알림 관리자 도움말
- 14. 수신 메일 알림 android
- 15. Android 알림 응용 프로그램
- 16. Android : 여러 알림 관리
- 17. Android : 알림 문제
- 18. Android : 코드로 모든 알림 받기
- 19. Android Keeping Alive (알림 유지)
- 20. Android 알림 자체를 지우려는 의도
- 21. Android SDK 웹 푸시 알림?
- 22. Android 알림 활동이 시작되지 않음
- 23. Android Emulator에서 Couchdb 복제 알림
- 24. 팝업 알림 가로 채기 android
- 25. Android C2DM 알림 상단 구석?
- 26. android - 블루투스를 통한 알림 음
- 27. Android 개발 알림 아이콘 문제
- 28. 코드 안의 Android 알림 아이콘
- 29. Android 상태 표시 줄 알림
- 30. Android 개발 : 맞춤 상태 표시 줄 알림 방법 알림?