안드로이드 개발 질문/답변
(글 수 358)
사진갤러리에서 불러온 이미지로 이너 클래스로 구현된 다이얼로그에 강제로 이미지뷰를 건드려야할 일이 있는데
inflate로 접근하니 로그캣에 에러 메세지는 아니고.. 이런 메세지가 뜨네요.
read threw an exception
SkImageDecoder::Factory returned null
값이 null일 경우인데.. 아무리 봐도 값은 null이 아니거든요 ㅠ_ㅠ
다이얼로그의 이미지뷰는 아래와 같이 접근했습니다.
View inflater = getLayoutInflater().inflate(R.
dialog_imv1 = (ImageView) inflater.findViewById(R.id.dia
Bitmap bm = BitmapFactory.decodeFile(image_src);
dialog_imv1.setImageBitmap(bm);
해결방법 있을까요~?