Programmatic screencapture on mobile device

Something like that might work for you:

View v = view.getRootView();
v.setDrawingCacheEnabled(true);
Bitmap b = v.getDrawingCache();

Leave a Comment