본문 바로가기

About Programing/05. Android

Android Service에서 Activity 실행하기


Context context = getApplicationContext();
Intent intent = new Intent(context, Action.class);
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 
context.startActivity(intent);