Hi all,
I used the GetPixelColor function as suggested on post#5 at this link: https://www.b4x.com/android/forum/threads/getpixelcolor.56922/
It works, but sometimes (very rarely) I receive an error like this:
I used a Try / Catch structure in order to solve the problem, but it was unsuccessful.
Do you have any suggestion to solve the problem ? Anybody else had the same problem ?
Thank you.
I used the GetPixelColor function as suggested on post#5 at this link: https://www.b4x.com/android/forum/threads/getpixelcolor.56922/
It works, but sometimes (very rarely) I receive an error like this:
Note that the function is called in a panel touch event (down and move). The problem arises touching the panel continuously. In debug mode I have the error message, in release mode the App simply ends.SignalHandler 11
Error occurred on line: 228 (Main)
Signal - 11
Stack Trace: (
"0 TestApp SignalHandler + 120",
"1 libsystem_platform.dylib 0x0000000181ff8b48 _sigtramp + 36",
"2 TestApp -[b4i_main GetPixelColor:::] + 152",
"3 CoreFoundation <redacted> + 144",
"4 CoreFoundation <redacted> + 284",
"5 TestApp +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1624",
"6 TestApp -[B4INativeObject RunMethod::] + 216",
"7 TestApp -[b4i_main _getpixelcolor:::] + 1924",
"8 TestApp -[b4i_main _pnlcolors_touch:::] + 2304",
"9 CoreFoundation <redacted> + 144"
)
I used a Try / Catch structure in order to solve the problem, but it was unsuccessful.
Do you have any suggestion to solve the problem ? Anybody else had the same problem ?
Thank you.