AudioManager, requestAudioFocus and video playback...

by sdphil » Fri, 14 Jan 2011 03:12:09 GMT


Sponsored Links
 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.

-- 



Re: AudioManager, requestAudioFocus and video playback...

by sdphil » Sat, 15 Jan 2011 23:39:59 GMT


 ping




-- 


Sponsored Links


Re: AudioManager, requestAudioFocus and video playback...

by sdphil » Thu, 20 Jan 2011 03:02:45 GMT


 ping.  anybody?  anybody?





-- 



Other Threads

1. Minta testimoni

dear rekan-rekan, 
Karena mau transaksi, saya mau minta testimoni sdr. Bayu Seno adji dengan 
alamat email : bayusenoa...@gmail.com
No hp : 085815449393 

Trims sebelumnya..
Sent from my BlackBerry
powered by Sinyal Kuat INDOSAT

-- 
===============

2. Sejenis acdsee di android

Apakah ada? Thx

syd
ptk
sent with imagination

-- 
===============

3. Mainan baru: Nook Color (ebook reader/tablet ecclair)

4. Not recomend to upgrade --- Share : Nexus S setelah 2.3.3

5. Testimoni

6. Galaxy TAB - GPS gak bisa lock

7. [Wtshare] Froyo and gingerbeard x8