MrKim Well-Known Member Licensed User Longtime User Nov 8, 2012 #1 I silence the phone sometimes in my app: Code: Dim Ph As Phone Ph.SetMute(Ph.VOLUME_MUSIC,True) Ph.SetMute(Ph.VOLUME_NOTIFICATION,True) Ph.SetMute(Ph.VOLUME_RING,True) Ph.SetMute(Ph.VOLUME_SYSTEM,True) And unsilence Code: Ph.SetMute(Ph.VOLUME_MUSIC,False) Ph.SetMute(Ph.VOLUME_NOTIFICATION,False) Ph.SetMute(Ph.VOLUME_RING,False) Ph.SetMute(Ph.VOLUME_SYSTEM,False) This should leave the volume levels static, I think? I check a saved setting when the phone boots and if it was silenced by me when it was turned off I use the above code to unsilence it. HOWEVER If the user turns off the phone while I have it silenced all is well, but on a BATTERY PULL when the phone is restarted it leaves the Media volume at 0. All other volume levels are fine. Any ideas? P.S. I discovered this because my emulators refuse to power off using F7. But that is a seperate problem. Last edited: Nov 8, 2012
I silence the phone sometimes in my app: Code: Dim Ph As Phone Ph.SetMute(Ph.VOLUME_MUSIC,True) Ph.SetMute(Ph.VOLUME_NOTIFICATION,True) Ph.SetMute(Ph.VOLUME_RING,True) Ph.SetMute(Ph.VOLUME_SYSTEM,True) And unsilence Code: Ph.SetMute(Ph.VOLUME_MUSIC,False) Ph.SetMute(Ph.VOLUME_NOTIFICATION,False) Ph.SetMute(Ph.VOLUME_RING,False) Ph.SetMute(Ph.VOLUME_SYSTEM,False) This should leave the volume levels static, I think? I check a saved setting when the phone boots and if it was silenced by me when it was turned off I use the above code to unsilence it. HOWEVER If the user turns off the phone while I have it silenced all is well, but on a BATTERY PULL when the phone is restarted it leaves the Media volume at 0. All other volume levels are fine. Any ideas? P.S. I discovered this because my emulators refuse to power off using F7. But that is a seperate problem.