Android Question taking screenshots

sorex

Expert
Licensed User
Longtime User
Erel,

I know most of the screenshot taking relies on the adb but what could be a reason that screenshots taken with B4A are just empty? (this is on Win8 on my other machine with XP it works fine.)
 
found the adb command but got this

Code:
c:\Program Files\Android\sdk\platform-tools>adb shell screencap -p /sdcard/screen.png
screencap: not found

which is bizar since it always worked fine, will give it another try on the machine where it always worked when I get home
 
Upvote 0
tough luck, it doesn't work on the XP either :(

it does work with another phone tho.
 
Upvote 0
I noticed that screencap & screenshot are not on this phone in /system/bin/ while this is the case for the 2.3.6 phone and the 4.x tablet.

I copied it over from the 2.3.6 and first got a permission denied error on the command in post 1.

Changing the rights to execute (777) gives

Code:
c:\Program Files\Android\android-sdk\platform-tools>adb shell screencap
link_image[1995]: failed to link screencap
CANNOT LINK EXECUTABLE

Any idea?

Weird thing is that the BACK+HOME combo is taking screenshot and writes it to the SD.

Is this using a custom method compared to the ADB/B4A one?
 
Upvote 0
May be I didn't understand the question correctly.
Long-pressing the home and power keys at the same time will take screenshot and save it to ...pictures/screenshots.
Pls ignore if offpoint
 
Upvote 0
It varies by device. On my Galaxy S3 its possible to take a screen shot by sweeping across the screen with the side of my hand or using the Home + Power key combination. Other phones frequently use the Volume Down + Power Button combination. You can read an article here about it...
http://www.androidpit.com/how-to-take-a-screenshot

Regards,
RandomCoder
 
Upvote 0
Back
Top