Android Question Accessibility Click Event

GiovanniO

New Member
A while ago, I managed to generate a click at certain screen coordinates using the @moster67 accessibility library, but I haven't been able to get the event to generate for a while now. My that triggers the click is:


B4X:
public Sub RunDispatchGesture(mp11 As Map)

    Dim nativeMe As JavaObject
    nativeMe.InitializeContext
    nativeMe.RunMethod("DispatchGesture", Array(mp11.Get("GestX"),mp11.Get("GestY"),mp11.Get("EndPointGestX"),mp11.Get("EndPointGestY")))
    
'    ClickSendButton
    
End Sub

I call that sub with something like this:

RunDispatchGesture(670, 116, 670, 116)

Any idea how to get the click to happen? Thanks for your help!
 
Top