|
|
Does anyone know if there is a way to detect if the silent switch is activated through the command line? I added "play alert.caf" to my smsnotify script, but it will play the alert even if the phone is on vibrate only. I'd like to put an if statement around that play line and only play it if it's supposed to be making sounds.
I wonder if this could be done through Erica's deviceinfo -a program. In the help it says you can do deviceinfo -a backlight-level and others from the "io registry" I wonder if the silent switch is in the io registry? How do I find what values are there to look at?
|
Last edited by jkusnetz; 08-11-2008 at 05:24 PM..
Reason: Automerged Doublepost
|