Intent intent = new Intent();
intent.setAction("android.intent.action.MAIN");
intent.addCategory("android.intent.category.HOME");
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
'소프트웨어 > Android/Java/Ndk' 카테고리의 다른 글
Android] unable to add window token null is not for an application 이슈 (0) | 2013.11.28 |
---|---|
Android] Wifi 연결상태 변경 체크(브로드케스트리시버) (0) | 2013.11.23 |
Android] ArrayList복사시 (깊은복사와 얕은복사) (1) | 2013.11.09 |
Android] WifiManager를 이용해서 앱 탈출시 Wifi 꺼버리기 (0) | 2013.11.09 |
ANDROID] Back Key 두번눌러서 끄기 (0) | 2013.11.09 |
JAVA] String class의 .equals()과 .equalsIgnoreCase()의 차이 (0) | 2013.11.04 |
Android] ListActivity에서 CustomAdapter 생성 (0) | 2013.11.03 |