android localnotification을 사용하면


알람 후 알림창에 알림을 선택하면 앱이 실행되지 않는다.


알림창의 알림을 선택하면 앱이 실행하게 하려면


플러그인 파일중


AlarmReceiver.java 파일을 수정해야 한다.


파일을 열고


final PendingIntent contentIntent = PendingIntent.getActivity(context, 0, new Intent(), 0);  -->이부분을


final PendingIntent contentIntent = PendingIntent.getActivity(context, 0, new Intent(context, 프로젝트이름.class), 0);


다음과 같이 고치면 된다.

+ Recent posts