rfresh Well-Known Member Licensed User Longtime User Dec 2, 2012 #1 I have a small app that allows me to press a button to set the ringer volume to silent or to vibrate or to low, med, high. When I have the ringer set to, say, medium volume level and I press the vibrate button, the code below executes. However, it does not set vibrate (I don't see the vib icon at the top of the screen) unless I also press my silent button. I'd like the ringer to vibrate regardless of whether I have it set to a low/med/high ringer volume. Can this be done and if so, how? Thanks... PHP: R.RunMethod3("setVibrateSetting", const_VIBRATE_TYPE_RINGER, "java.lang.int", const_VIBRATE_SETTING_ON, "java.lang.int")
I have a small app that allows me to press a button to set the ringer volume to silent or to vibrate or to low, med, high. When I have the ringer set to, say, medium volume level and I press the vibrate button, the code below executes. However, it does not set vibrate (I don't see the vib icon at the top of the screen) unless I also press my silent button. I'd like the ringer to vibrate regardless of whether I have it set to a low/med/high ringer volume. Can this be done and if so, how? Thanks... PHP: R.RunMethod3("setVibrateSetting", const_VIBRATE_TYPE_RINGER, "java.lang.int", const_VIBRATE_SETTING_ON, "java.lang.int")
Erel B4X founder Staff member Licensed User Longtime User Dec 2, 2012 #2 The vibrate icon only shows when the ringer is muted. Upvote 0