Sub Process_Globals
Dim mp As MediaPlayerStream
End Sub
Sub Service_Create
mp.Load("http://website/my.mp3")
End Sub
Sub Service_Start (StartingIntent As Intent)
'mp.Play
End Sub
Sub Service_Destroy
'mp.Stop
End Sub
Sub mp_Complete
'ToastMessageShow("mp Complete..." , True)
End Sub
Sub mp_StreamReady
'mp.Play
End Sub
Sub mp_StreamError(ErrorCode As String, ExtraData As Int)
'ToastMessageShow("Error: " & ErrorCode & ", " & ExtraData, True)
'mp.Stop
End Sub