I'm having a question about how to control the media volume of the app.
I'm using this method:
Button button1;
MediaPlyer mp;
button1 = (Button)findViewById(R.id.button1);
button1.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
mp = MediaPlayer.create(Teste.this, R.raw.som);
mp.start();
}
});
I wanted to decrease or increase the volume on the device, I would change the app and not the phone.