ComponentName compName = new ComponentName("com.google.android.gm",
"com.google.android.gm.ConversationListActivityGmail");
Intent actIntent = new Intent(Intent.ACTION_MAIN);
actIntent.addCategory(Intent.CATEGORY_LAUNCHER);
actIntent.setComponent(compName);
startActivity(actIntent);
이렇게 하면 구글 지메일을 띄울수 있는데..
구글 지메일 띄우듯이 현재 전화걸리고 있는 com.google.phone 어플로 화면 전환을 하는 방법이 궁금합니다.
아래는 startActivity(intent); 로 전화를 걸때 로그캣이고...
그밑은 홈으로 갔다가 최근실행에서 전화걸기를 불러왔을때 로그캣입니다.....
먼가 낫놓고 기억자 모르는거 같아 답답합니다...ㅜㅜ
전화걸기후.. 다른작업후..다시전화걸던 화면 불러오는거..
윈도우로 치면 알트탭인데.ㅜㅜ
06-26 21:34:22.747: INFO/ActivityManager(141): Starting: Intent { act=android.intent.action.MAIN flg=0x10840000 cmp=com.android.phone/.InCallScreen } from pid 236
이렇게 해봤는데 안되더라구요.ㅜㅜ
ComponentName compName = new ComponentName("com.android.phone", "com.android.phone.InCallScreen");
Intent actIntent = new Intent(Intent.ACTION_MAIN);
actIntent.addCategory(Intent.CATEGORY_LAUNCHER);
actIntent.setComponent(compName);
startActivity(actIntent);