AudioManager am=(AudioManager)getSystemService(AUDIO_SERVICE);
am.setSpeakerphoneOn(true);
am.setMode(AudioManager.MODE_IN_CALL);
//Log.e(tag, msg)
mMediaPlayer = MediaPlayer.create(this, R.raw.ek);
mMediaPlayer.start();
Hello,
I am receiving incoming call and i want to play the sound so i want
that the caller can listen it on other side. So i am using the
AudioManager's setMode(AudioManger.MODE_IN_CALL)
But yet it is not working as caller is not able to listen it. so can
some one tell me what is wrong in it ?

