[android-developers] Re: Managing receiving/making calls with MediaPlayer

2009-11-05 Thread Roman ( T-Mobile USA)
Listen to the phone state changes using the PhoneStateListener. You want to act on the following states * CALL_STATE_IDLE * CALL_STATE_RINGING * CALL_STATE_OFFHOOK and stop your stream in case of an incoming call. When the call state switches back to call state idle, continue with

[android-developers] Re: Managing receiving/making calls with MediaPlayer

2009-11-05 Thread brooke
Great, thanks for the help! B On Nov 5, 9:51 pm, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote: Listen to the phone state changes using the PhoneStateListener. You want to act on the following states     * CALL_STATE_IDLE     * CALL_STATE_RINGING     * CALL_STATE_OFFHOOK