Can a sub routine in another service be called from a widget?

rleiman

Well-Known Member
Licensed User
Longtime User
Hi Everyone,

I have a widget service module and would like to call a sub routine that exists in another service module. The sub routine I would like to call is here:

B4X:
Sub StopTheMediaPlayer
   mpMediaPlayer.Stop
End Sub

If this can be done, can you show a coding example?

Thanks.
 
Top