S sorex Expert Licensed User Longtime User Sep 12, 2014 #1 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.)
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.)
S sorex Expert Licensed User Longtime User Sep 12, 2014 #2 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
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
S sorex Expert Licensed User Longtime User Sep 12, 2014 #3 tough luck, it doesn't work on the XP either it does work with another phone tho. Upvote 0
S sorex Expert Licensed User Longtime User Sep 12, 2014 #4 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
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?
Beja Expert Licensed User Longtime User Sep 13, 2014 #5 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
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
RandomCoder Well-Known Member Licensed User Longtime User Sep 13, 2014 #6 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
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