A real device plays mp3 on website keep stopping and show MEDIA_ERROR_UNKNOWN!
Emulator will not stop but always show MEDIA_ERROR_UNKNOWN when play the 2nd mp3 in mp_Complete!
Any help will be appreciate it.
Emulator will not stop but always show MEDIA_ERROR_UNKNOWN when play the 2nd mp3 in mp_Complete!
B4X:
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Main")
ProgressDialogShow("Loading ...")
If FirstTime Then
mp.Initialize("mp")
End If
mp.SetVolume (1, 1)
mp.Load("http://website/my.mp3")
End Sub
Sub mp_Complete
ToastMessageShow("mp Complete..." , True)
mp.Stop
mp.Load("http://website/my2.mp3")
mp.Play
End Sub
Any help will be appreciate it.