Re: [android-developers] Re: How to get MediaPlayer current volume

2010-03-17 Thread kavitha
Hi Gauridevuse this code which is posted in anddev.org seekbar = (SeekBar) findViewById(R.id.seek); am = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); /* volume_label = (TextView) findViewById(R.id.volume); // Assign Curent Volume to Vol

[android-developers] Re: How to get MediaPlayer current volume

2010-03-17 Thread Gauri
Even I am facing some problem. I can set it from 0.1f to 0.9f , but unable to get it until unless I remember the last set value. On Mar 15, 11:23 pm, Bob Kerns wrote: > That's really not the same thing. It's a monaural setting that affects > ALL streams of that type, while the interface he's ask

[android-developers] Re: How to get MediaPlayer current volume

2010-03-15 Thread Bob Kerns
That's really not the same thing. It's a monaural setting that affects ALL streams of that type, while the interface he's asking about it is stereo and affects just the one MediaPlayer. My suggestion is to simply remember what you set it to. My guess is that it starts out at 1.0, 1.0, but you can