본문 바로가기
프로그래밍 놀이터/안드로이드, Java

[android air] Activity lifecycle on the flash ( onResume, onPause, onStart, onStop )

by 돼지왕 왕돼지 2014. 5. 7.
반응형


 [android air] Activity lifecycle on the flash ( onResume, onPause, onStart, onStop )

 

NativeApplication.nativeApplication.addEventListener( Event.ACTIVATE, onStart );

NativeApplication.nativeApplication.addEventListener( Event.DEACTIVATE, onStop );


function onStart( e : Event ){

// Do sth..

}


function onStop ( e : Event ){

// Do sth..

}






반응형

댓글