In my mhp app, I need to preview a ringtone, so I use
player = javax.media.Manager.createPlayer(loc);
sound played successfully, however, after finish, the background TV sound also gone.. I call player.stop(),also does not work.... any one knows why?
Edited by: AimarAimar on Sep 10, 2009 4:41 AM
It seems like the software platform you are using does not manage the presentation resources, in particular between JMF-created audio player and ServiceMediaHandler instance.
Try to stop and start the ServiceMediaHandler (it is also an Player), returned from ServiceContext (ServiceContentHandler ServiceContext.getServiceContentHandlers()))