Please, I would like to know how to introduce sounds in my live wallpaper.
I tried the follow:
But the sound doesnt work
(obviously I have the library audio 1.5)
However I tried a beeper as well and it works!!
Please, Could you help me??
Thank you in advance
I tried the follow:
B4X:
Sub Process_Globals
Dim sounds As SoundPool
Dim sound1,sound2 As Int
.......................
end sub
Sub Service_Create
sounds.Initialize(1)
sound1=sounds.Load(File.DirAssets, "prueba6.wma")
sound2=sounds.Load(File.DirAssets, "prueba8.wma")
........................
end sub
Sub soundtouch
sounds.Play(sound1,0.3,0.8,1,0,1.5)
end sub
But the sound doesnt work
(obviously I have the library audio 1.5)
However I tried a beeper as well and it works!!
Please, Could you help me??
Thank you in advance