- Jun 6, 2020
- 11,559
- 4,422
Using a supplied example but trying to load and play a song from the device (Android 6) and using B4A 9.9
I am unable to play the song and get the EACCES error as titled above???
What am I doing wrong - or more likely failing to do..
Public Sub Play
Service.StartForeground(nid, CreateNotification("Playing music - Radio Paradise"))
'pl.Prepare(pl.CreateUriSource("
Dim MyFolder As String
MyFolder=File.DirRootExternal & "/Music"
pl.Prepare(pl.createfilesource(MyFolder, "Standingthere.mid"))
pl.Play
End Sub
I am unable to play the song and get the EACCES error as titled above???
What am I doing wrong - or more likely failing to do..
Public Sub Play
Service.StartForeground(nid, CreateNotification("Playing music - Radio Paradise"))
'pl.Prepare(pl.CreateUriSource("
برای دیدن لینک ها باید ثبت نام کنید
"))Dim MyFolder As String
MyFolder=File.DirRootExternal & "/Music"
pl.Prepare(pl.createfilesource(MyFolder, "Standingthere.mid"))
pl.Play
End Sub
برای دیدن لینک ها باید ثبت نام کنید