Kbogle24 Member Licensed User Longtime User Mar 9, 2013 #1 Media player not working on older devices. I have a galaxy s vibrant for testing. I wrote a kids game using media player library to play sounds. Worked perfect a few months back. I never changed my code and Now when I compile the app it crashes when trying to load or play any sounds. I have also tested on a newer phone like galaxy s3 and it plays perfect. My question is has something changed with the media player library? Because its only working on newer devices for me. Has anyone else had this problem? I just wonder if i am missing something.... Any ideas?
Media player not working on older devices. I have a galaxy s vibrant for testing. I wrote a kids game using media player library to play sounds. Worked perfect a few months back. I never changed my code and Now when I compile the app it crashes when trying to load or play any sounds. I have also tested on a newer phone like galaxy s3 and it plays perfect. My question is has something changed with the media player library? Because its only working on newer devices for me. Has anyone else had this problem? I just wonder if i am missing something.... Any ideas?
Kbogle24 Member Licensed User Longtime User Mar 9, 2013 #2 Found the problem! its not with the media player its with the audio library. I am using the audio library for the sound pool and the media player for sounds that i need to check to see if they are still playing. Now it has me thinking that the audio library has its own media player in it that is over riding the core one. If i disable the audio library it works but then I cant use the sound pool. Upvote 0
Found the problem! its not with the media player its with the audio library. I am using the audio library for the sound pool and the media player for sounds that i need to check to see if they are still playing. Now it has me thinking that the audio library has its own media player in it that is over riding the core one. If i disable the audio library it works but then I cant use the sound pool.
Erel B4X founder Staff member Licensed User Longtime User Mar 12, 2013 #3 The Audio library should not interfere with the regular MediaPlayer. Make sure that you are using MediaPlayer and not MediaPlayerStream. Upvote 0
The Audio library should not interfere with the regular MediaPlayer. Make sure that you are using MediaPlayer and not MediaPlayerStream.