Hello everybody,
do you think the snippet:

int volume = audioManager.getStreamVolume(AudioManager.STREAM_RING);
mediaPlayer.setVolume(volume, volume);

is correct for setting the mediaPlayer volume to the value of the
ringtone volume.

Thanks a lot,
--
onDroid

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to