PDA

View Full Version : Ring/Silent Switch button???




priyank.ranka
Jan 12, 2009, 02:18 AM
Hi EveryOne,
I want to capture the event of user using ringer/silent button into my game.....If user has press this button to silent mode the game should be silent whereas if its in ringer mode sound should be on...ANy help regarding this will be appreciated.



priyank.ranka
Jan 12, 2009, 03:36 AM
Hi i hve tried audio sessions which allows to obey ringer/silent key but only system sounds obey that key the sounds from ipod or played by the Audio Queue doesnt obey...plz suggest me wt can i do in order to make sounds played by Audio Queue or ipod music if its active into the application to obey Ringer/Silent key