Android Question SOLVED: Short sounds in Home widget

udg

Expert
Licensed User
Longtime User
Solved: just tried with a different audio file and it works! So the problem was due to a file not suitable for MediaPlayer.

Hi all,

I'd like to play a short (5secs or so) music theme each time my home widget gets updated.
I tried MediaPlayer with no luck (Initialize and Load in Service_Create, Play in rv_RequestUpdate).
BTW, MP seems to block widget functionality.

So, is it at all possible to play some notes on widget updating?

TIA,

Umberto
 
Last edited:
Top