I am trying to stop sound when user exits the application by pressing Hang up key in Series 60. But the application goes to background and the sound still plays.
I want to stop the sound when user clicks the Hang up key of the device. I called the stop()
method of Player
. I also called the stop()
method at hidNotify()
;
{
Player p;
p.start();
p.stop();
}