iam making application will changes from silent mode to ringer mode if the specific user call. The application mainly convert from silent to normal or normal to silent. My main question is how can i get the previous state(ringer mode)??... the previous mean the state before convert mode because i need to back to this state when idle ... plz help me visitRinger mode change listener Broadcast receiver??
Asked
Active
Viewed 418 times
1 Answers
1
Use AudioManager.getRingerMode() before changing it.

Gabe Sechan
- 90,003
- 9
- 87
- 127
-
then compare this with new state to return for previous ????? – sumaya Apr 06 '14 at 21:17