In last few version of B4A I'm not able to take screenshot from B4A it self.
When I click on Take Picture in menu, I can see busy pointer and after approx 2 sec pointer return to normal state, with no image and no error. Tested on Nexus 5 Phone, Samsung Note 5 and on Genymotion emulator.
As workaround I'm using Android Monitor from SDK folder (\sdk\tools\monitor.bat).
Unfiltered log from genymotion emulator:
EDIT:
I'm using USB for connection between device and PC.
EDIT 2:
Android version don't play any role, tried on v5.0 - v9.0, same behavior on all versions.
When I click on Take Picture in menu, I can see busy pointer and after approx 2 sec pointer return to normal state, with no image and no error. Tested on Nexus 5 Phone, Samsung Note 5 and on Genymotion emulator.
As workaround I'm using Android Monitor from SDK folder (\sdk\tools\monitor.bat).
Unfiltered log from genymotion emulator:
The image is created on device on path: /storage/emulated/0/b4a_screenshot.png but is not transferred to B4A.gralloc_alloc: format 1 and usage 0x333 imply creation of host color buffer
HostConnection::get() New Host Connection established 0xf0f9b2c0, tid 1744
Process pipe failed
tid 544: eglCreateSyncKHR(1669): error 0x3004 (EGL_BAD_ATTRIBUTE)
>>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
CheckJNI is OFF
Unexpected CPU variant for X86 using defaults: x86
No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
Couldn't load memtrack module (No such file or directory)
failed to load memtrack module: -2
register_android_hardware_Radio DONE
Calling main entry com.android.commands.am.Am
action: android.intent.action.MEDIA_SCANNER_SCAN_FILE path: /storage/emulated/0/b4a_screenshot.png
Shutting down VM
EDIT:
I'm using USB for connection between device and PC.
EDIT 2:
Android version don't play any role, tried on v5.0 - v9.0, same behavior on all versions.
Last edited: