think about what that means from the SDK perspective, like if you were a Google Product manager and this was enabled.
now, imagine that the fart app did this and there was a bug where control of the audio wasn't being released properly? Now, imagine what your reaction would be if you were affected by this bug and you had to reboot your device because of the fart noise woudn't stop, wouldn't release the hardware and so no phone calls would get through, no other audio could be played,etc. Do you see why this will never,ever,ever be possible? You have two options: 1) use notifications that interrupt the audio stream 2) use the ADK and build custom hardware. On Mar 23, 1:09 pm, dharmveer <[email protected]> wrote: > I am tryingto build an app that will alert the user in case of an > emergency by playing an audio file. To override situations where the > user may be playing loud music and the emergency announcement may not > be heard by the user (due to sharing of audio h/w with multiple apps), > can I get exclusive access to audio output so only my audio stream is > audible and rest all are stopped/killed/muted? I have tried a lot of > googling and studied the sdk documentation but did not find anything > that can solve my problem. Thanks for your time. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

