Does anyone know how to find out if a WP7 is on silent/vibrate mode in a silverlight app? I need to fix my app from playing sound effects when it is on vibrate.
Thanks!
Will MediaPlayer.IsMuted work?
http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.media.mediaplayer.ismuted.aspx
Here is the discussion that pointed me there where they suggest that it should be usable from silverlight. http://forums.create.msdn.com/forums/p/64166/392704.aspx
As you can see by checking these classes : http://msdn.microsoft.com/en-us/library/microsoft.phone.info(VS.92).aspx there is currently no way in getting the devices sound settings, not even in Mango, and not in NoDo, too. Sorry.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With