안드로이드 개발 질문/답변
(글 수 45,052)
아래와 같이 코딩해서 surfaceView를 통해 캔버스에 그려주니..
뭔가 화면 캡춰는 된 것 같은데요..
getDrawingCache()으로 만든 비트맵 이미지가
항상 검정색으로 나옵니다.
다른데 글들을 보면 쉽게 되는 것 같은데.. 왜 그런지 알려주세요ㅠㅠ...
--------------------
public Bitmap save;
.......
......
....
this.getRootView().setDrawingCacheEnabled(true);
this.getRootView().buildDrawingCache();
save = this.getRootView().getDrawingCache();
.....
...
뭔가 화면 캡춰는 된 것 같은데요..
getDrawingCache()으로 만든 비트맵 이미지가
항상 검정색으로 나옵니다.
다른데 글들을 보면 쉽게 되는 것 같은데.. 왜 그런지 알려주세요ㅠㅠ...
--------------------
public Bitmap save;
.......
......
....
this.getRootView().setDrawingCacheEnabled(true);
this.getRootView().buildDrawingCache();
save = this.getRootView().getDrawingCache();
.....
...



