Looks like it should be fine to me... But I have never done anything with
audio.  The $100,000,000 question is: Have you tried it?  Did it work?

On Dec 22, 2009 7:03 PM, "onDroid" <[email protected]> wrote:

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]<android-beginners%[email protected]>
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

-- 
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