public class GcmIntentService extends IntentService
{
public static final int NOTIFICATION_ID = 1;
public GcmIntentService()
{
super("GcmIntentService");
}
@Override
protected void onHandleIntent(Intent intent)
{
/* Doit */
//notification을 보냅니다.
sendNotification();
}
private void sendNotification(){
/* Notification Do it */
}
}
핸들러에도 다이얼로그를 넣어봤는데
에러가 뜨면서 죽더라고요..
그래서 sendNotification에 넣어줘도 죽더라고요..
카카오톡 팝업처럼 보여주고싶어요
현재 화면 팝업위에 뜨고 싶습니다.
조언부탁드립니다.