--- emulator
what exactly is that?
possible for me to get it on my Windows 10?
--- it returns ADBDevice: captureDeviceScreenMat: image type not RGBA
adbscr.newRegion(0, 0, 1600, 900)
does it mean the whole screen?
if yes try:
adbscr = adbStart()
img = adbscr.capture()
if still error:
adb::executeShell("screencap")
returns different image type than the only expected (RGBA)
You have to check, what your emulator should return in response to this request and wether there are any options for screencap to ensure RGBA
--- getDevices()
currently only one device is supported anyways (though more than one can be attached)
... but since after having started adb successfully, you can select another device using getScreenWithDevice(int id), there should be a function like ADBScreen.getScreens() that lists the attached devices.
--- menuToolAndroid
Should also be aware of more than one device attached.
Generally my environment (only a Nexus7) and lack of Android/adb knowledge limits my possibilities to really help with this "experimental" implementation.
--- IDE: Jython IDE
what is that?
--- emulator
what exactly is that?
possible for me to get it on my Windows 10?
--- it returns ADBDevice: captureDeviceSc reenMat: image type not RGBA
adbscr.newRegion(0, 0, 1600, 900)
does it mean the whole screen?
if yes try:
adbscr = adbStart()
img = adbscr.capture()
if still error: ll("screencap" )
adb::executeShe
returns different image type than the only expected (RGBA)
You have to check, what your emulator should return in response to this request and wether there are any options for screencap to ensure RGBA
--- getDevices() vice(int id), there should be a function like ADBScreen. getScreens( ) that lists the attached devices.
currently only one device is supported anyways (though more than one can be attached)
... but since after having started adb successfully, you can select another device using getScreenWithDe
--- menuToolAndroid
Should also be aware of more than one device attached.
Generally my environment (only a Nexus7) and lack of Android/adb knowledge limits my possibilities to really help with this "experimental" implementation.
If it helps: /github. com/Genymobile/ scrcpy
https:/