URL : http://diyall.tistory.com/786
Activity 를 실행할 때 Intent 를 만들어 StartActivity 를 호출하여 실행하게 됩니다.
그러면 onCreate() 부터 onResume() 을 통해 쭉~ 호출되어 Activity 가 실행되는데..
실행한 Activity 가 foreground 상태에서 Intent 에 Extra 값을 추가하고 StartActivity 를 호출하면 onCraete() 대신에
onNewIntent(Intent intent) 가 호출이 되고 그 다음 onResume() 이 호출이 됨
.....
'Programming > Android Java' 카테고리의 다른 글
Thread 2(간단한 URL 검색 스레드) (0) | 2014.08.27 |
---|---|
안드로이드 단말기 정보 얻기 (IMEI, IMSI, MSISDN 등등) (0) | 2014.08.24 |
Broadcast Receiver 에 대해 알아보자. (0) | 2014.08.24 |
Processing Ordered Broadcasts (0) | 2014.08.24 |
android wear관련 모듬 (0) | 2014.08.17 |