intent를 받아 bundle에서 getExtra를 하면 계속 Null 값이 받아집니다.
검색해보면 onStartCommand 를 오버라이드 해서 쓰라고 하여 그렇게도 해보았는데 결과가 같습니다.
서비스가 처음 시작될때 한번만 쓰면 되는 값이라 aidl 은 쓰지 않습니다.
서비스 호출부는 이러합니다. 별 특이한것은 없습니다.
Intent itd = new Intent(DetailView.this, PopupService.class);
itd.putExtra("number", data.getNum());
startService(new Intent(DetailView.this, PopupService.class));
onCreate(), onStartCommand(), 혹시 몰라서 onBind에서도 구현해보았는데 getExtras 자체가 아예 null값으로 넘어옵니다.
어떻게 해결해야 하나요ㅠ