검색을 좀 해봤는데
webview의 capture() 를 쓰라는 말이 있었는데,
webview는 애초에 URL에 해당하는 화면을 저장하는 게 아닌가요?
레퍼런스를 다 뒤져봤는데, 적당한 걸 찾지 못했네요...
View를 저장하는 데 적합한 것 같지도 않아보이고...

레퍼런스를 뒤지다가 몇 개 찾아낸 건,

public boolean savePicture (Bundle b, File dest)

Since: API Level 3

Save the current display data to the Bundle given. Used in conjunction with saveState(Bundle).

Parameters
bA Bundle to store the display data.
destThe file to store the serialized picture data. Will be overwritten with this WebView's picture data.
Returns
  • True if the picture was successfully saved.
이것도 webkit에 있는거... 적합해보이진 않고

-->

public Bitmap getDrawingCache ()

Since: API Level 1

Calling this method is equivalent to calling getDrawingCache(false).

Returns
  • A non-scaled bitmap representing this view or null if cache is disabled.
See Also
이건 view에 있는 건데 Bitmap 객체는 어떤 형태인가요?
그림파일을 이진형태로 변환한건가요
혹은 .jpg나 .png?

-->

voidgetLocationInWindow(int[] location)

Computes the coordinates of this view in its window.

voidgetLocationOnScreen(int[] location)

Computes the coordinates of this view on the screen.

이것도 view에 있는 건데
좌표 계산해서 넘겨줘야할텐데, 일반적인 해결방법 같지는 않아보이구요...
캡쳐할 때 뜨는 대화창에서 정확한 픽셀수를 알아내서 넣어줘야 할 텐데...

-->

voidbuildDrawingCache(boolean autoScale)

Forces the drawing cache to be built if the drawing cache is invalid.

이건 잘 모르겠고 뭔지...

public class MyView extends View{
이런 형식으로 만든 커스텀 뷰를
뷰 단위로 캡쳐해서 그림파일로 저장하는 방법이 없을까요?
분명 방법이 있을 것 같은데...

도와주세요!! ㅠ