Advertisement
Guest User

Untitled

a guest
Oct 24th, 2014
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. Bitmap bitmap = Bitmap.createBitmap
  2. (surfaceView.getWidth(), surfaceView.getHeight(), Bitmap.Config.ARGB_8888);
  3. Canvas canvas = new Canvas(bitmap);
  4. surfaceView.draw(canvas);
  5. printBitmapToFile();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement