Using the Mobile Media API, how do you control the volume of what is played?

John Zukowski

You need to get the VolumeControl object from the Player and change the volume through that:

vc = (VolumeControl) player.getControl("VolumeControl");
if(vc != null) {
  vc.setVolume(50);
}
About | Sitemap | Contact