1

My Device is rooted and I want to Programmatically take screenshot. I am trying to do it using framebuffer like this.

$ /system/bin/cat /dev/graphics/fb0 > /mnt/sdcard/screenshot.bin
/system/bin/cat /dev/graphics/fb0 > /mnt/sdcard/screenshot.bin

screenshot.bin file has been successfully created on sdcard and its file size is 4800KB

Can any one tell what should I do next to get Image.

Please help!! sorry for my poor English.

Thanks In advance.

Karan
  • 497
  • 10
  • 23

0 Answers0