i defined
in global processes
and i bot the initialization in Activity_Create
and i put this code
in command button
and i have notify.mp3 in my DirAssets
but when i press the button no thing played
what the reason is????
B4X:
Dim SOUNDID As Int
Dim sounds As SoundPool
and i bot the initialization in Activity_Create
B4X:
sounds.Initialize(1)
B4X:
SOUNDID = sounds.Load(File.DirAssets,"notify.mp3")
sounds.Play(SOUNDID, 1, 1, 10, 0,0)
and i have notify.mp3 in my DirAssets
but when i press the button no thing played
what the reason is????