Skip to content Skip to sidebar Skip to footer

Android - Make Phone Silent For A Limited Amounts Of Time (dyanmically)

I want to put my phone on silent mode for a shorter amount of time. I am using the following code to put my phone on silent mode and it works. However the next segment doesn't put

Solution 1:

  • Create an Alarm using AlarmManager when you want to put your phone to Silent Mode make your device silent that time
  • Assign time in AlarmManager when you want to stop it. Receive the alarm using BroadcastReceiver and stop the silent Mode.

Have a look on this Similar Question


Post a Comment for "Android - Make Phone Silent For A Limited Amounts Of Time (dyanmically)"