SteveTerrell Active Member Licensed User Longtime User Jan 15, 2014 #1 B4A 3.2 release - not tried on earlier versions I have found that using an Input list in the onDoubleTap event (and presumably other events as well), using legacy debugger (not tried with release) causes my program to (usually) crash. The gesture detector is listening to a panel with long press disabled. Crash is either "your program has stopped responding" or the program simply disappears from the tablet screen and the debugger drops back to the editor. There seems to be no log entries to indicate what happened (filtered or otherwise). Using CallSubDelayed to show the input list and handle the selection seems to fix the problem. Is this expected behaviour? I did not see this problem when using the panel touch event Steve
B4A 3.2 release - not tried on earlier versions I have found that using an Input list in the onDoubleTap event (and presumably other events as well), using legacy debugger (not tried with release) causes my program to (usually) crash. The gesture detector is listening to a panel with long press disabled. Crash is either "your program has stopped responding" or the program simply disappears from the tablet screen and the debugger drops back to the editor. There seems to be no log entries to indicate what happened (filtered or otherwise). Using CallSubDelayed to show the input list and handle the selection seems to fix the problem. Is this expected behaviour? I did not see this problem when using the panel touch event Steve
Erel B4X founder Staff member Licensed User Longtime User Jan 15, 2014 #2 This is the expected behavior on Android 4.0.3+. You cannot pause the program from inside such events. You will not encounter this with the core library views as the event is already handled as if CallSubDelayed was called. Upvote 0
This is the expected behavior on Android 4.0.3+. You cannot pause the program from inside such events. You will not encounter this with the core library views as the event is already handled as if CallSubDelayed was called.
SteveTerrell Active Member Licensed User Longtime User Jan 15, 2014 #3 Erel said: This is the expected behavior on Android 4.0.3+. You cannot pause the program from inside such events. You will not encounter this with the core library views as the event is already handled as if CallSubDelayed was called. Click to expand... As usual, thanks for the quick reply. Steve Upvote 0
Erel said: This is the expected behavior on Android 4.0.3+. You cannot pause the program from inside such events. You will not encounter this with the core library views as the event is already handled as if CallSubDelayed was called. Click to expand... As usual, thanks for the quick reply. Steve