04-28-2009 09:19 PM
I created a project in the Blackberry JDE, wrote my code, and added an mp3 (in a folder) to the project. The final goal is to play the mp3 using the javax.microedition.media classes. The problem is that I cannot seem to figure out how to access the mp3 from the folder in the project.
I read that when I try to open the file, the app will search for the file. When I try this it doesn't work an I get an error.
Since it is not possible to get the current directory of the app, what do I have to do to open the file?
Solved! Go to Solution.
04-28-2009 09:48 PM
See this thread for code that retrieves an MP3 as a resource that was added to the COD file.
04-29-2009 08:51 AM
Thank you, that worked.
I have a Storm and am running into the same issue they did (audio not playing through speaker, only headphone) but I am going through the post you gave to fix the problem.