마스터Q&A 안드로이드는 안드로이드 개발자들의 질문과 답변을 위한 지식 커뮤니티 사이트입니다. 안드로이드펍에서 운영하고 있습니다. [사용법, 운영진]

Notification intent가 안뜨는 이유

0 추천
v.postDelayed(new Runnable() {
            public void run() {
                Intent intent2 = new Intent(MainActivity.this, End.class);
                intent2.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
                PendingIntent content = PendingIntent.getActivity(MainActivity.this, 0, intent2, 0);


                Notification notification = new Notification(R.drawable.ic_launcher, ".", System.currentTimeMillis());
                notification.flags |= Notification.FLAG_AUTO_CANCEL;
                notification.setLatestEventInfo(MainActivity.this, "도착 알림", ".", content);
                mNotiManager.notify(1, notification);


            }
        }, 5 * 1000);

 

매니 페스트에  activity = mainActivty, End 두개 다 설정이 되어 있습니다.

 

탭을 클릭하면 End 액티비티가 떠야되는데 뜨질 않네요.

 

mflow (260 포인트) 님이 2015년 2월 19일 질문
mflow님이 2015년 2월 19일 reopened

1개의 답변

0 추천
아 제 폰이 이상한거 같네요.. 다른 폰으로 하니 되네요 ;
mflow (260 포인트) 님이 2015년 2월 19일 답변
...