Android Question Media Player Error

Robert Vermulen

Member
Licensed User
Longtime User
Hi all,

Below is my media player coding,

sp.Initialize2("sp")
sp.Load(File.DirRootExternal,"heart_break.mid")
sp.Play

when i compile this i am getting error " java.io.IOException: setDataSource failed.: status=0x80000000 ".
plz help me to resolve this issue.

Thanks in advance
 

WAZUMBi

Well-Known Member
Licensed User
Longtime User
I've had this exact problem and have posted about it.
Not sure if this relates:
It appears some devices do no support multi channel audio files.
If your file is then you will have to convert it to mono.
Also, on exiting/pausing the app you have to release the audio file and re initialize it when resuming.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…