[안드로이드] Performing stop of activity that is not resumed
안드로이드 액티비티 포즈시에 아래와 같은 에러가 발생 한다면 Performing stop of activity that is not resumed @Override public void onPause() { super.onPause(); Handler handler = new Handler(); handler.postDelayed(new Runnable() { @Override public void run() { abcdefg(); } }, 100); } 포즈시 오래 걸리는 작업은 위와 같이 좀 지연을 시키면 된다.
[안드로이드 공부]/동기화
2016. 2. 11. 08:49
java.lang.RuntimeException: Performing stop of activity that is not resumed
보통 스플래시, 로딩화면을 넣은 경우 발생함. 이런 경우 앱 포즈시 발생하는 에러! 에러: java.lang.RuntimeException: Performing stop of activity that is not resumed 해결 : private final int SPLASH_DELAY_MESSAGE = 100; Handler splashHandler = new Handler(new Handler.Callback() { @Override public boolean handleMessage(Message msg) { switch (msg.what) { case SPLASH_DELAY_MESSAGE: startActivity(new Intent(mContext, MainActivity.class)); d..
[안드로이드 공부]/UI
2016. 1. 14. 10:11
공지사항
최근에 올라온 글