Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Ring Mode

Is there a way to change iPhone/Android ring mode? I want to set the ring type to vibrate/silent and back to ring again.

— asked March 22nd 2010 by Lance Ulmer
  • android
  • iphone
  • mode
  • ring
  • vibrate

1 Answer

  • Accepted Answer

    You can't programatically turn on/off the ringer. You can detect however its state with Ti.Media.audioLineType

    — answered March 22nd 2010 by Jeff Haynie
    1 Comment
    • Hi Jeff Haynie,
      Have you any idea for switching phone mode between silent/ringer pro-grammatically either for android or I-phone using titanium .I can detect phone mode using above code but i need to change mode without hardware interaction any clue for me ???…Thanks in advance.

      — commented September 28th 2012 by rajveer singh
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.