The only reason that your playback continues in the background is because
you're not stopping it, and the system hasn't garbage collected your
MediaPlayer object yet.
If you want to do reliable background playback while your UI exits, you will
have to do this in a service.
On Sun, Feb 1, 2009 at
If your application is properly written, you should be calling release
() on the MediaPlayer object in your onPause() method. There is no
guarantee that your app won't be killed while it's sitting in
background, which will stop the audio.
If you want audio in the background, you need to write a s
2 matches
Mail list logo