Friday, 19 August 2011

Change the Ringer Mode

Today i am going to write about changing the ringer mode of the Android phone programmitically.
Quite Simple: :-)

Step1):Make an object of Audio Manger class
                    AudioManager am;
                    am = (AudioManager)

Step2)Now after you have created the object of audio manager class you can at any time change the Ringer mode as follows:

For Silent Mode:

For Vibrate mode:


For Normal mode:



1 comment:

  1. Lovely post karan , u made my day !!!!! Thanks a Lot and keep it up !!!! :):-)


iOS Tutorial on Enumeration  So as we are talking about enumeration in iOS,the first thing comes into mind are Collections such as Array...