We need to find a way to capture the Android screen, without using any external software that will work on a non-root phone.
My research shows that there is no way to do this. In any case, you must have root privileges in order to be able to capture the device screen.
Further research, however, shows that for a limited number of devices, there is a way to do this without root privileges. As evidence, I can bring the following application to the Android market: UX screenshot.
He claims that the application does not require root privileges to capture the screen on the following devices:
- Galaxy Series (S, S2, ...)
- HTC Phones (Sensation, ...)
- Motorola (Atrix, ...).
- LG Optimus Series (G2X, ...)
Some say Tegra devices also support this.
Can anyone point out any documentation, at least on specific devices, so that we can at least support HTC phones, for example.
EDIT: At the moment, we are trying to use "/ system / bin / screencap", but without success on the emulator. Is it possible to take screenshots on some specific devices, just means that they allow you to use "/ system / bin / screencap" or read directly from / dev / graphics / fb 0?
Or do they provide an API for taking screenshots?
Thanks.
source share