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

how to build hyperlink for query string in php -

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

queue - mq_receive: message too long -