0

I want to detect if the Android Phone speaker is in use by any App like whether Music Player is playing Music or Alarm is Ringing or Video is playing. I dont want to detect just if a specific App is using the Ringer all i want to do is get Notified if the Ringer is used by Any APP.

Abid
  • 126
  • 2
  • 11
  • use `isMusicActive()` in your service – Praveena Nov 29 '14 at 08:57
  • isMusicActive can be used only for the music Player. i want to check any activity on the ringer @Praveen – Abid Nov 29 '14 at 09:01
  • create a broadcast receiver for phone ringer http://stackoverflow.com/questions/7483961/ringer-mode-change-listener-broadcast-receiver – Jibran Khan Nov 29 '14 at 11:53
  • @JibranKhan that is just for the ringer when someone is calling you. I need to check if anything (i.e any app, system apps , music , video) is using the Phone Ringer – Abid Nov 29 '14 at 13:08

0 Answers0