2011-08-10 2 views
1

"계류중인 의도가"이라고 이해시켜 주시겠습니까? 몇 가지 예가 도움이 될 것입니다.계류중인 의도와 용도는 무엇입니까? android

나는 그것을 검색하고 몇 가지 정보를 발견했지만, 나는 아직도 그것을 이해하는 데 문제가 있습니다.

NotificationManager notificationManager; 
PendingIntent pendingIntent; 

Updater() { 
    notificationManager = (NotificationManager) UpdaterService.this 
     .getSystemService(Context.NOTIFICATION_SERVICE); 
    notification = new Notification(android.R.drawable.stat_sys_download, 
     "MyTwitter", System.currentTimeMillis()); 
    pendingIntent = PendingIntent.getActivity(UpdaterService.this, 0, 
     new Intent(UpdaterService.this, Timeline.class), 0); 
} 
+1

정의하십시오 :'frnd는 QUS는 explian는 pls', 난 ..의 – Predator

+0

가능한 중복 그것을 이해하고 있지 않다 [무엇을 보류중인 의도인가?] (http://stackoverflow.com/questions/2808796/what-is-pending-intent) –

+0

@gens 이해할 필요가 없습니다. 그는 그 사람 – shyam

답변

6

계류중인 의도는 나중을 위해 의도를 설명하는 것과 같습니다. 그것은 동일한 의미를 다시 이루기 위해 제조법을 갖는 것과 같이 실제적으로 의미가 있습니다.

AlarmManager의 경우, 다른 곳의 PendingIntent를 저장하고 필요할 때만 인 텐트를 만들 수 있음을 의미합니다. 또한 의도는 쉽게 반복 될 수 있음을 의미합니다.

(I 어쨌든 알고 내가 틀렸다면 지금까지, 사람이 날 수정)

관련 문제