audio - Need to make Android app stop sounds from MediaPlayer when it detects a phone call -


i have android app in user presses buttons , sound plays based on button pressed (uses mediaplayer). when user gets phone call, sound still plays. want able detect when user getting call can stop sounds , resume sounds when user not talking on phone anymore.

any appreciated, thank in advance

i think looking registering broadcast receiver this action.


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -