Android :: Is It Normal To Play An Audio During Phone Call?
Mar 15, 2009
When you pick up the call and switch the screen to MediaPlayer to play an audio, it is able to be heard from handset (receiver). Thus, you can hear the far-end voice and your local music at the same time. Is it a normal behavior? Android seems not to have the mechanism to let Mediaplayer to remember its status (to keep music pause or mute?) in the phone call. Or this is a normal design for notification sounds, such as a call- waiting sound? Is it possible to have an secondary gain feature like windows mobile in the future?
View 7 Replies
Aug 2, 2010
I need to play mp3 at 1.4 (or other) times the normal speed. How can I do that?
View 1 Replies
View Related
Oct 10, 2010
Is it possible to modify an active call by overlaying a sound track during the call? I looked up the SDK, but couldn't find any api to do this in the documentation. I am trying to investigate the feasibility of playing a previously recorded call/audio clip onto an ongoing call.
View 1 Replies
View Related
May 5, 2010
I connected my phone via USB to my RR sport to upload audio files to the RR hard drive. However, I keep getting connection error. Apparently my device is not being recognized as a storage. I did the unmount thinking. Also, I am wondering how I can play audio from my phone through the RR audio system.
RR is 2010.
View 2 Replies
View Related
Dec 17, 2011
I want to play an audio file on a voice call as following the application initiates a call from device X to device Y. When Y replies application on device X should inject an audio file in the stream of the call so device Y hears this audio file
Is possible to inject an audio file in the stream of the call/the output of microphone?
View 2 Replies
View Related
Nov 21, 2010
Is it normal that my Captivate makes this weird buzzing sound while the phone is making a call? Also, while I'm talking to someone on it, you can still hear that buzzing sound as they talk. IDK if it's a speaker issue or an AT&T issue or what.
View 1 Replies
View Related
Jun 2, 2009
Could you please let me know how to do the audio record in android emulator and play the same recorded audio. Could you please help me in proceeding in development.I tried with MediaPlayer API's also.Its not working.
View 5 Replies
View Related
Mar 22, 2010
I am planning on developing my specific voip app for android.when a phone call occurs I want to hear the person who's calling on my local pc speakers and I want to speak to him via my own pc microphone / headset. So I need to send the audio stream of both me and the person I am talking to via the wlan network.
View 2 Replies
View Related
Aug 7, 2009
Is it possible to play audio over an active phone call, so the other end can hear it?
For example: A and B are talking on the phone. A presses a button that pulls audio from a resource and plays it over the phone call to B.
If so, what libraries should I look into? If not, is this something that could become accessible on rooted phones? (Of course, only other rooted phones would be able to use the application then...)
View 7 Replies
View Related
Sep 2, 2010
I just recieved my OTA yesterday And when I play you tube type of files it works fine.But when I play videos from CBS the advertisement plays audio/video fine.But when the show starts, I get full speed video, and the AUDIO goes into super slo mo.I also noticed the same behavior listening to KJRAM.com video ads play fine, but when the radio stream plays, its super slow mo.
View 6 Replies
View Related
Apr 28, 2010
I took out the 8GB SD card from my Blackberry Storm and put it the Incredible.
I had a bunch of music saved on my SD Card that I downloaded from VZW Music Media thing.
When I go to music on the Incredible and go over the song (it shows the picture of the album of the song)
it says "unable to play this type of audio"
View 10 Replies
View Related
Nov 12, 2010
I am working on a application that would allow users to play remote files. My question is how do I open those remote files to be played in the default android player?but this does not give me control of what is happening!
View 2 Replies
View Related
May 25, 2010
I want to build an application which will play an audio file when call is connected so that other person on the call can hear this audio file.
View 4 Replies
View Related
May 5, 2009
I would like to create an ermergency call application : if triggered, it calls a given number and play an audio file, giving the information the caller couldn't give himself.For that I need to engage a call but ensure that I can replace any sound from the speaker with an played audio file. Can I do that in android ? What's the way?
View 1 Replies
View Related
Jul 28, 2010
I got my phone on Monday and I've noticed that when somebody is talking to me on the phone it causes a vibration type noise. I've tried lowering the volume but it still seems to be doing it. Not to mention, even with the audio turned all the way up it's hard to hear the people I'm talking to.
View 15 Replies
View Related
Nov 22, 2010
I'm writing an Android application that plays back voice mails using Media Player, which are just WAV files that have been sent to the device. When I play the file, it's played on the device's speaker, or else it plays through headphones if they're plugged in. What I want to do is play the file so that it sounds to the user as if it's at the same volume level as a normal phone call. Is there a way to route playback so that the file is played through the phone's ear piece instead of out of the speaker?
View 2 Replies
View Related
Nov 3, 2010
I have a sprint anycom bluetooth reciever connected to my car stereo. I think it only supports the A2DP bluetooth profile (no hfp).Right now the music plays through the car stereo just fine but when I get a phone call it does not. Ideally I would like to have the phone call audio go through the stero and use the phone's microphone as if it were on speakerphone. Is this possible?My phone is a g1 running the latest experimental release of cyanogenmod rom.I would love a built in solution but I think the ability to do that is so non standard it wouldn't exist. An existing marketplace app with the ability would be great, too. I have not done any android development but I am a java developer, so a pointer on how to do it programmatically (or that it is not possible) would be great, too.
View 1 Replies
View Related
Apr 9, 2010
Just dialed my network operator to listen to how much credit i had on my phone, but when i tapped on 'end call' the phone did not end the call, eventually i had to switch the phone off. It happened a second time too but seems to be okay now.
Is it something i should be concerned about, or is it quite normal, or maybe it's happened to one of you as well.
View 2 Replies
View Related
May 17, 2013
i've updated to the last Google play music, but now even if i don't use it i've a background service of this app .. is there a way to avoid this background service when not using it ? Even if i didn't launch it of the whole day i have this service ..
View 5 Replies
View Related
Dec 30, 2009
Is it normal for the Call log to only shows calls from the current day?
View 3 Replies
View Related
Sep 26, 2010
If I use the built in FM-radio with the x10 mini pro headset, with the FM-radio turned on, the radio stops when a call comes in. The button to take the call doesn't respond however. Is this normal behavior? It does work with music.
View 2 Replies
View Related
Feb 10, 2010
How to play audio from a stream in android? I will get input stream from an online link( like continuous FM). I need to cache the stream and play it. I searched a lot in sites,,,but didnt get.They show option of playing from a stored file. There is no option to play from a stream.
View 12 Replies
View Related
Jan 22, 2010
I currently have code that reads a recording in from the devices mic using the AudioRecord class and then playing it back out using the AudioTrack class.My problem is that when I play it out it plays vis the speaker phone.I want it to play out via the ear piece on the device.Here is my code:public class LoopProg extends Activity {
boolean isRecording; //currently not used
AudioManager am;
int count = 0;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
am = (AudioManager) getSystemService(Context.AUDIO_SERVICE);
am.setMicrophoneMute(true);
while(count <= 1000000){
Record record = new Record();
record.run();
count ++;
Log.d("COUNT", "Count is : " + count);
public class Record extends Thread
{ static final int bufferSize = 200000;
final short[] buffer = new short[bufferSize];
short[] readBuffer = new short[bufferSize];
public void run() {
isRecording = true;
android.os.Process.setThreadPriority
(android.os.Process.THREAD_PRIORITY_URGENT_AUDIO);
int buffersize = AudioRecord.getMinBufferSize(11025,
AudioFormat.CHANNEL_CONFIGURATION_MONO,
AudioFormat.ENCODING_PCM_16BIT);
AudioRecord arec = new AudioRecord(MediaRecorder.AudioSource.MIC,
11025,
AudioFormat.CHANNEL_CONFIGURATION_MONO,
AudioFormat.ENCODING_PCM_16BIT,
buffersize);
AudioTrack atrack = new AudioTrack(AudioManager.STREAM_MUSIC,
11025,
AudioFormat.CHANNEL_CONFIGURATION_MONO,
AudioFormat.ENCODING_PCM_16BIT,
buffersize,
AudioTrack.MODE_STREAM);
am.setRouting(AudioManager.MODE_NORMAL,1,
AudioManager.STREAM_MUSIC);
int ok = am.getRouting(AudioManager.ROUTE_EARPIECE);
Log.d("ROUTING", "getRouting = " + ok);
setVolumeControlStream(AudioManager.STREAM_VOICE_CALL);
//am.setSpeakerphoneOn(true);
Log.d("SPEAKERPHONE", "Is speakerphone on? : " + am.isSpeakerphoneOn());
am.setSpeakerphoneOn(false);
Log.d("SPEAKERPHONE", "Is speakerphone on? : " + am.isSpeakerphoneOn());
atrack.setPlaybackRate(11025);
byte[] buffer = new byte[buffersize];
arec.startRecording();
atrack.play();
while(isRecording) {
arec.read(buffer, 0, buffersize);
atrack.write(buffer, 0, buffer.length);
arec.stop();
atrack.stop();
isRecording = false;
As you can see if the code I have tried using the AudioManager class and its methods including the deprecated setRouting method and nothing works, the setSpeatPoneOn method seems to have no effect at all, neither does the routing method.Has anyone got any ideas on how to get it to play via the earpiece instead of the spaker phone?
View 5 Replies
View Related
Feb 22, 2010
I need to be able to stream audio from a custom file format on the C++ side of the Android system. I am working on porting a custom media player and need to be able to open a custom file and stream audio from it. This is important as I do not think porting the whole player to JAVA is feasible from a performance stand point and moving the audio buffers through the JNI interface I believe will be too slow to keep a decent frame rate. I can handle the video on the NDK side through OpenGL ES, but the Audio I have no idea how to make this happen.
View 2 Replies
View Related
Jul 12, 2010
I need to download audio from web server and I need to save into device memory. Then, I need to play that audio from my application. I know, how to play audio if that is available in res/raw folder. But, I can't able to play audio from SD Card. I am getting following error: ERROR/PlayerDriver(31): Command PLAYER _ SET _ DATA _SOURCE completed with an error or info PVMFErr Not Supported.
View 4 Replies
View Related
Jul 20, 2010
I have multiple audio files in the assets directory of my application. When the user clicks a button I want to play those files in a certain order, one after the other. There shouldn't be any noticeable lag between the audio files. What is the best approach to achieve this? I am thinking of using MediaPlayer objects and OnCompletionListeners. But, that would mean I have to create a lot of OnCompletionListeners because I need to know every time which audio file is next. Am I missing something or is there a better approach?
View 1 Replies
View Related
Jul 10, 2010
I'm currently working with OpenGL ES 1.1 and using the DrawElements convention along with Vertex, Normal, Texture Coordinate, and Index arrays.
I recently came across this while researching the idea of using Normal/Bump mapping which I previously though impossible with OpenGL ES: http://iphone-3d-programming.labs.oreilly.com/ch08.html
I can generate an object-apace normal map already from my 3D modeler, but what I'm not completely clear on is whether or not the Normal coordinates array will be necessary any longer if implementing a 2nd texture unit for normal mapping, or will Lighting + Color Texture Combined with a Normal map via the DOT3_RGB option be all that is required?
EDIT - After researching DOT3 Lighting a bit further, I'm not sure if the answer given by ognian is correct. This page, [url] gives an example of it's usage and if you look at the "Rendering & Final Result" section bit of code, there is no normal array ClientState for Normal Arrays is never enabled.
I also found this post here,[url] which explains it well... but leads me to another question. In the comments, it's stated that instead of translation of normals, you translate light direction. I'm confused about this as if I have a game with a stationary wall... why would I move the light around just for one model? Hoping someone can give a good explanation of all of this...
View 2 Replies
View Related
Sep 6, 2010
I'm an android starter I tused AudioTrack to play music But it just tell me filenotfoundexeception I try to play mp3 wav ogg (all in raw dir) I've no idea where is wrong? here are my code:
CODE:..................
View 3 Replies
View Related
Nov 22, 2010
I am looking for an app that will allow me to play music and audio books to my paired bluetooth car audio system. At the moment I can only use it for phone calls.
View 9 Replies
View Related
Apr 22, 2010
I have this problem, I have some audio I wish to play. And I have two buttons for it, 'Play' and 'Stop'.Problem is, after I press the stop button, and then press the Play button, nothing happens. -The stop button stops the song, but I want the Play button to play the song again (from the start) Here is my code:final MediaPlayer mp = MediaPlayer.create(this, R.raw.megadeth);And then the two public onclicks: For playing)
button.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
// Perform action on click
button.setText("Playing!");
try {
mp.prepare();
} catch (IllegalStateException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
And for stopping the track
final Button button2 = (Button) findViewById(R.id.cancel);
button2.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
mp.stop();
mp.reset();
Can anyone see the problem with this? If so could you please fix it. (For suggest)
View 3 Replies
View Related