Dear *,
I'm working on an application in which I should be able to play
an audio file while I'm in call. For that I'm using the below code while
I'm in call.
public void audioPlayer(String path, String fileName){
MediaPlayer mp = new MediaPlayer();
try {
mp.setDataSource(path+"/"+filename);
} catch (Exception e) {
e.printStackTrace();
}
try {
mp.prepare();
} catch (Exception e) {
e.printStackTrace();
}
mp.start();
}
So far so good, I'm able to play audio file successfully while I'm in call,
but the problem is the other party is not able to listen the audio which
I'm playing.
Are there any other APIs available in android to achieve this so that the
other party can listen the audio cleary which I'm playing. I tried a lot to
get any
solution and I'v been googling for the past one week, but I didnt get any
thing. Please suggest me any solution.
thanks in advance.
regards,
Saran
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en