how to resume media player once the incoming call ends.

All your problems with Audio, Video and Images.

how to resume media player once the incoming call ends.

Postby Ram1234 » Tue Aug 30, 2011 7:06 am

Hi

i can able to pause the media player when the call is received.i am using the below code for that.

audiomanager.requestAudioFocus(null, AudioManager.STREAM_VOICE_CALL, AudioManager.AUDIOFOCUS_GAIN_TRANSIENT);

By using the above line of code the media player is kept in pause mode.but when the calls ends i want to resume play the media player i dont know how to do that. any one please help me in this.
Ram1234
Once Poster
Once Poster
 
Posts: 1
Joined: Fri Aug 26, 2011 10:06 am

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 13 guests