Hello friends I have this code in the button Stop to stop playback
and this one I should take it up but does not work never resets.
Why?
B4X:
Sub StopButton_Click
If MP.IsPlaying Then
MP.Stop
ESTADO="STOP"
End If
UpdateStatus
Log("StopButton_Click")
End Sub
and this one I should take it up but does not work never resets.
Why?
B4X:
Sub PlayButton_Click
If ESTADO="STOP" Then
If MP.IsPlaying Then
MP.Stop
End If
MP.Load("rtsp://xxx.xx.114.181:xxxx/nuevo/nuevo")
MP.Play
Else
ExecuteRemoteQuery("SELECT * FROM radio WHERE xxxxxxxx LIKE'%" & "xxxrin" & "%'",Listado)
MP.Play
End If
ESTADO="PLAY"
UpdateStatus
End Sub