Hi
I am using SoundPool to play wav file (in side service)
and the wav is cut in the middle of playing
any way to solve this?
I am using SoundPool to play wav file (in side service)
and the wav is cut in the middle of playing
any way to solve this?
B4X:
If AlreadyPlay = False Then
If Area=True Then
If Main.Sound > 1 Then
ph.Vibrate (1000)
Log("Play..")
SP1.Play(LoadId1, 1,1,2,0,0)
End If
ToastMessageShow(Location, True)
ToastMessageShow(Location, True)
AlreadyPlay=True
' WriteToLog
Log("Alarm in all areas !!!")
End If
End If