java - how would create an alarm manager with reciever to put phone on silent at certain time? -


i have been trying while , cannot figure out best way , not understand teh broadcast reciever does. alarm fired , maybe activity put phone on silent.

thanks in advance

use alarmmanager's setrepeating method run task periodically. change ringer can use audiomanger's setringermode method.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -