GestureLibrary stopped working

NeoTechni

Well-Known Member
Licensed User
Longtime User
I've tested it on 2 devices, and for some reason it's no longer capturing move or up events.

I've removed my code, so I'm just watching:
Sub GesturesTouch(View As Object, PointerID As Int, Action As Int, X As Float, Y As Float) As Boolean


And I can only get action = g.ACTION_DOWN or g.ACTION_POINTER_DOWN

EDIT: I cant even get it to support multiple downs, only one.
And I tested the painting example afterwards and it still works
 
Last edited:

NeoTechni

Well-Known Member
Licensed User
Longtime User
Are you referring to the multitouch example? Is it working correctly?

No, i couldnt get that one to do anything. The log view says it cant find the file specified when i click start but i didnt even specify one

theres an example somewhere here that just draws randomly colored lines
that one works

but i dont understand how it couldbt in mine when im just watching the event itself with none of my code and its just not triggering for up move or multiple touches
 
Upvote 0

NeoTechni

Well-Known Member
Licensed User
Longtime User
The multitouch events can be tricky. I think that you should start with the multitouch example. Which file is missing?

The log viewer just says it cant find the file specified when I open it.
And then the log viewer shows nothing when I run the multitouch example
The gestures paint example however does work.

But its not my code thats the problem, the gesture monitor is just not calling the event for up/move/multitouch events. Just the first down.
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
The logs should appear in the logs tab:
SS-2011-09-18_08.43.29.png


You should just press on the Connect button.
 
Upvote 0

NeoTechni

Well-Known Member
Licensed User
Longtime User
Thank you.

got it, the return true vanished somehow (probably me)

that log tab is really handy, is there a way to separate it from the main window like in VB? I'd like to put it and the global/local variables frames on a separate monitor.
 
Upvote 0

NeoTechni

Well-Known Member
Licensed User
Longtime User
But I want the variables on the other monitor too, opening a different program will not get me that.
 
Upvote 0
Top