Saving WebView with Canvas drawing

view story

http://stackoverflow.com – I'm trying to save as an image the contents of a WebView with a canvas drawing on top of it. I've tried two methods: Picture picture = drawView.capturePicture(); Bitmap bmp = pictureDrawable2Bitmap(new PictureDrawable(picture)); MediaStore.Images.Media.insertImage( getContentResolver(), bitmap, "image" + ".png", "drawing"); private static Bitmap pictureDrawable2Bitmap(PictureDrawable pictureDrawable){ Bitmap bitmap = Bitmap.createBitmap( pictureDrawable.getIntrinsicWidth() ,pictureDrawable.getIntrinsicHeight(),Config.ARGB_8888); Canvas canvas = new C (HowTos)