Skip to main content
Inspiring
October 8, 2013
Question

Is there NO way to detect sound OFF/silent mode on Android?

  • October 8, 2013
  • 1 reply
  • 672 views

I have a remaining issue with my Android apps the sound still plays even though the operating system has the sound set to OFF.

Is there any way to detect this?

This topic has been closed for replies.

1 reply

Colin Holgate
Inspiring
October 8, 2013

If you do this:

import flash.media.AudioPlaybackMode;

SoundMixer.audioPlaybackMode = AudioPlaybackMode.AMBIENT;

Flash should then honor the system settings.

Bram_0Author
Inspiring
October 8, 2013

That's what I have set, but that only works for iOS, while that works great for it, on Android it does not.

Set the sound to OFF on Android ( Silent Mode ), then open an AIR app, it will play the sound.

edit: I think this is how it supposed to work, I think you can ignore this thread.