Android Question call a sub from java

nedium

Active Member
Licensed User
Longtime User
how do I do since

code JAVA:
#If JAVA
BA.Log("Entrando en modo PiP");
mostCurrent.activityBA.raiseEventFromUI(starter2, "OnEnterPipMode");
#EndIf

I can call a sub of a service.

Code Service:
Public Sub OnEnterPipMode
    Log("La actividad ha entrado en modo PiP")
    ' Aquí puedes iniciar procesos o lógica que desees mantener activos en PiP
End Sub


I have used many options but none of them work or give me an error when compiling

The only one that compiles but does not access correctly is this line but I don't know if it is correct

mostCurrent.activityBA.raiseEventFromUI(starter2, "OnEnterPipMode");


thank you
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…