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
Post a Comment