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
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
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
3 matches
Mail list logo