android.content.ReceiverCallNotAllowedException
리모트 서비스등에서 발생하는 에러로 컨텍스트를 가지고 다니지 못할 때 발생한다. android.content.ReceiverCallNotAllowedException: components are not allowed to register to receive intents위젯, 브로드캐스트, 서비스등과 같이 유령같이 나타나는 얘들은 항상getContext가 아니라 getApplicationContext()를 써서 컨택스트를 들고 다녀야 한다. 스태틱 개념처럼 생각하면 될 듯.
[안드로이드 공부]/서비스
2016. 1. 7. 18:03
공지사항
최근에 올라온 글