Screenshotting Android 2.3 without screencap
Gingerbread has no screencap. Read /dev/graphics/fb0 directly and use the panel's real stride, which almost never matches the visible width.
Gingerbread has no screencap. Read /dev/graphics/fb0 directly and use the panel's real stride, which almost never matches the visible width.
input tap, swipe and am force-stop don't exist on Gingerbread, but the shell's $((...)) arithmetic does. I checked it on a real phone.