A라는 메인 클래스가 있고 정상 실행시 서비스를 하나 띄웁니다.
서비스는 메인액티비티가 종료 된 걸 판단해서 다시 A라는 메인클래스를
Intent intent = new Intent(context, AD_Main.class);
PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, intent, 0);
pendingIntent.send();
생성 합니다
여기까지는 잘되는데 생성 후 Oncreate 여기 안들어오는것같네요? 다시 앱을 아이콘으로 클릭하면 logcat 에 정상 작동
하는걸로 나오고요
개념은 A라는게 꺼지면 다시 A클래스를 실행시키면 되는건데 이거 어떻게 해야되는지 아시는분 계세요?ㅠㅜㅜ