[Android] Uri로 Bitmap 추출

Posted by Find my true self Fimtrus
2014.01.09 11:15 Programming/Android
Bitmap bitmap = null;
try {
	bitmap = Images.Media.getBitmap(getActivity().getContentResolver(), uri);
} catch (FileNotFoundException e) {
	// TODO Auto-generated catch block
	e.printStackTrace();
} catch (IOException e) {
	// TODO Auto-generated catch block
	e.printStackTrace();
}
이 댓글을 비밀 댓글로