Java error in a simple mp3 player

rickrack

Member
Licensed User
Longtime User
Hello
I'm working on a simple application with a listview and some mp3 files.
It works on some devices but trying to debug it on some other android devices it gives me an error here:

Sub ListView1_ItemClick(Position As Int, Value As Object)
mp.Stop
mp.Load(File.DirAssets, MP3List.Get(Position))
mp.Play
End Sub


I used a list called MP3List with the names of the mp3 files (es: "filename.mp3", "filename2.mp3")

I used "mp" as a media player

Thank you for support!
 

rickrack

Member
Licensed User
Longtime User
An error has occured:main_button1_click(java line:406)
java.io.IoException setDataSourceFD failed.: status=0x80000000


This is the error that one user wroted me (On my HTC Desire, same thing).
Do not look at "button1_click"... it's the same for "listview1_click"
 
Upvote 0

rickrack

Member
Licensed User
Longtime User
Yes, but now opening the application in Debug i know where is the error, so I started a new thred..
I have to continue to write there?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…