play the 2nd mp3 use MediaPlayerStream

sally3599

Member
Licensed User
Longtime User
I put the 2nd mp3 in mp_Complete, but it will not play it!
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
    mp.Load("http://website/my2.mp3")
End Sub

How can it play my2.mp3 after my.mp3 continuously? Any help will be appreciate it.
 
Top