BitmapDrawable d = (BitmapDrawable)((ImageView) findViewById(R.id.뷰이름)).getDrawable();
Bitmap b = d.getBitmap();
Bitmap형식의 b로 받아온다.
'Android' 카테고리의 다른 글
Change color of android:activatedBackgroundIndicator (0) | 2015.02.22 |
---|---|
Android Studio에서 ButterKnifeZelezny Plugin 설치 (0) | 2015.02.09 |
안드로이드에서 이미지 다루기 용현택 (0) | 2015.01.28 |
Android memory 관리 WeakReference ,SoftReference (0) | 2015.01.23 |
Android Studio compilesdkversion android-21 requires compiling with jdk 7 오류시 (0) | 2015.01.08 |