내 앱에 GCM을 구현했으며 here으로 GSMRegistrar을 사용하고 있습니다. 아니 나는이에서 이해할 수있는 어떤 로그 캣Google 클라우드 메시징에 유출 된 IntentReceiver
7-02 23:35:15.830: E/ActivityThread(10442): Activity com.abc.xyz.mnp has leaked IntentReceiver [email protected] that was originally registered here. Are you missing a call to unregisterReceiver()?
에 오류가 발생하고 GSMRegistrar
의 코드 내가 GSMRegistrar.onDestroy(this)
를 호출 할 필요가 있지만이를 호출해야합니다 어디 이해할 수 없었다이다에서 찾고 있어요? onDestroy()
액티비티 mnp
을 호출하면 다시 시도하지 않습니다. GSM Registartion
감사합니다. 도움이됩니다. 예 : 다음과 같이하십시오. GCMIntentService.register (getApplicationContext()); 대신 다음과 같이 입력하십시오. GCMIntentService.register (RegisterActivity.this); –