This code is for Android, but how to do this in B4J?
Usage
Code
Attached is the solution source code example. Thanks to Daestrum for the B4J solution.
Usage
B4X:
SimulateClick(BtnTest1)
Code
B4X:
Public Sub SimulateClick(b As Button)
Dim r As Reflector
r.Target = b
r.RunMethod("fire")
End Sub
Attached is the solution source code example. Thanks to Daestrum for the B4J solution.
Attachments
Last edited: