Switching the phone to silent during a time interval in android
<p>The feature of my app is switching the phone to silent during prayer times.How can I do this?Is AlarmManager is useful in this case?</p>

<pre><code>        In this feature , user will set a time interval for each prayer.When the starting time comes,the phone will automatically gone to silent mode.When the ending time comes,the phone will automatically bring  back to the original mode.This is the logic.

      I need the help how to do this....
</code></pre>
