라벨이 android인 게시물 표시

[Warning] Missing contentDescription attribute on image

Html의 alt태그처럼 그림이 나오지 않을 경우 대체하는 텍스트를 지정하지 않았다는 경고 image를 사용한 엘리먼트(뷰)에 android:contentDescription옵션을 설정해준다. 그 외에 경고는 경고일뿐 이클립스 설정을 바꿔서 경고는 안보이게 한다.

android.content.ReceiverCallNotAllowedException: IntentReceiver components are not allowed to register to receive intents

기억 안나는 오류... 리시버에서 activity 실행할경우 새로운 태스크로 실행해야 하는 모양인데 뭐 여튼...  Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. ->intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 추가 android.content.ReceiverCallNotAllowedException: IntentReceiver components are not allowed to register to receive intents ->리시버 안에서 리시버 등록 불가능 OR 리시버의 매개변수 context를 바로 사용하지 않고 context.getApplicationContext()를 이용한다.