ping

On Jan 13, 11:12 am, sdphil <[email protected]> wrote:
> Hi,
>
> On Android 2.2.1, I am seeing a behavior I don't understand.  I am
> making a call to requestAudioFocus()
>
> mAudioManager.requestAudioFocus(mAudioFocusChangeListener,
> AudioManager.STREAM_MUSIC, AudioManager.AUDIOFOCUS_GAIN);
>
> So that when another media player takes over the audio, I can pause my
> own audio playback.  If i use the music player, this works great.
> However, when I try to play a video, I don't get the call in my focus
> change listener.  Any ideas on why?
>
> tia.

-- 
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

Reply via email to