Android Question Issue with app running on Samsung Galaxy Tab 2, S5, etc.

flyingpole

Member
Licensed User
Longtime User
I'm having an issue that seems to only occur on Samsung products (specifically Galaxy Tab2 and S5). The app crashes when executing the following code using the media player functions. This error does not occur on six other brands of Android tablet that I've tried it on, only the Samsungs. Has anyone else had this issue and have a solution??

mp.Load(File.DirAssets, "alarm_beep.wav")

mp.SetVolume(1, 1)
mp.Play
Do While mp.IsPlaying = True 'if alarm is playing wait
DoEvents
Loop

Here is the error that is thrown.

2014-09-23 00.14.56.png
 
Last edited:
Top