Android :: Playing Audio File On Voice Call
Apr 20, 2010
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.
View 2 Replies
Jan 30, 2009
I want to accept incoming calls and play an audio file for the caller. Is there a possibility of playing an audio file during a phonecall, so that the caller hears a wav- file? It seems to me that nothing is possible during a phone call since release 1.0. Hope this is getting better in the next release.
View 5 Replies
View Related
Mar 30, 2009
Does G1 can support the following feature: When in "In Call" state, user can play a mp3 file instead of the voice from microphone, and the one in the other side can hear the mp3. Can I modify the kernel part or framework part to support that with G1?
View 2 Replies
View Related
Jan 28, 2014
I want to play an audio file so that the person i am calling can hear it.Not through the speaker though because it will decrease the sound quality.
I tried to open the audio file while calling (with default sound player and google music) but although it openes the app it says "unable to play during call".I also tried in handsfree mode but didnt worked.
I use sg s3 mini with android 4.1.2.
View 1 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
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
Jul 1, 2009
My application is making call from application. Now I want to play some audio on speaker when the caller will receive call. So can some one tell me will i have to play audio in new thread or I will have to do some change? Can someone give me any code snippet?
View 3 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
Mar 25, 2010
I am trying to play the bigger size audio wav file(which is >20 mb) using the following code(AudioTrack) on my Android 1.6 HTC device which basically has less memory. But i found device crash as soon as it executes reading, writing and play. But the same code works fine and plays the lesser size audio wav files(10kb, 20 kb files etc) very well.
P.S: I should play PCM(.wav) buffer sound, the reason behind why i use AudioTrack here. Though my device has lesser memory, how would i read bigger audio files bytes by bytes and play the sound to avoid crashing due to memory constraints. Code...
Could someone guide me please to play the AudioTrack code for bigger size wav files?
View 1 Replies
View Related
Feb 3, 2012
When trying to play a local mp3 file included in the APK, nothing happens. However, if I pull an mp3 from the web it works.
e.g.
< a u d i o src="[URL]..." > WORKS
< a u d i o src="01.mp3" > DOES NOT WORK
I tried looking through logs for clues and found this line. I'm not sure if it's relevant or not.
PlayerDriver::isProtectedFile(file:///android_asset/www/01.mp3)
I'm new to Android development, so I can only guess that the file is somehow inaccessible for streaming.
I'd love to get this figured out though. Having to pull the files remotely every time is not a desirable solution.
Some additional info. Either solution works when tested in the browser. The local file problem only arises when I convert it to an app. I'm using PhoneGap build to create the APK.
View 3 Replies
View Related
Feb 11, 2010
I use Google Voice (love it) primarily because of it's visual voicemail on my Droid. I do have a Google Voice number, and I'm trying to decide whether to set the Droid app to "make calls using Google Voice" or not.
I have no problem with giving out a different number, and my placed calls seeing the GV number in caller ID.
My question is, does this affect how the call is actually connected, from a quality standpoint? I tired a call both ways, and the sound quality seemed a little bit different. But then, I am an obsessive compulsive weirdo.
Is there any difference in call quality or routing between making a native Verizon call and a Google Voice call on Droid? (Like, does Google voice actual use 3G to connect to Google server over the internetz, then place the phone call?)
View 3 Replies
View Related
Sep 22, 2010
Is there an Android equivalent to the iOS Core Audio / Audio File Stream Services? I need to be able to read audio bytes from a network and feed them to the audio system under my control, so I can do my own timeouts / reconnects / range requests / etc. without interrupting the audio playback (since the system audio thread would be playing audio already enqueued). It seems that MediaPlayer doesn't give me this level of control. Is there a lower-level framework that does, either in the SDK or NDK?
View 2 Replies
View Related
Oct 2, 2010
I want combine two audio files. (A audio file + B audio file = AB audio file)So, my search result is:
1. useing an AudioTrack.
2. decode PCM from audio file.
3. combine PCM.
This is currect? It there another way?
View 1 Replies
View Related
May 22, 2009
I am using a MediaPlayer instance in order to stream audio files from an Internet location. The audio player is in a separate activity. The user can select from a list of audio files and come to this activity which plays the audio.Now the user might go back to the previous activity (with the list)and select another audio file. In this case, I want to stop any other audio that is playing and start playing the new audio which was selected.Is there any way I can know whether an audio file is playing without having to hold on to the MediaPlayer object?
View 8 Replies
View Related
Apr 9, 2009
the opencore can not play the audio of wma. is it right? and the total time of the wma file can not be find in the trackbrowseractivity. who know why?
View 2 Replies
View Related
Feb 15, 2010
I want to play music from online mp3 link.I am reading the music data into a stream and trying to play it using audio track.But itz giving only noise.No music i could listen.here buffer is the audio data i am reading into.Same buffer I can play in MediaPlayer,,,But i could not play in audio track.
View 1 Replies
View Related
Oct 13, 2009
I can capture an audio stream from the mic, but can I capture the currently playing audio stream?
View 2 Replies
View Related
Aug 18, 2010
Can we play the audio(amr file) to the Bluetooth headset(no A2DP support) by using android 2.1/2.2 version APIs? If so can you suggest me which API I have to use to do the same?
View 2 Replies
View Related
Sep 25, 2010
I'm trying to very quickly port over an html application with plays sound (with soundmanager2) to a native android app using WebView. From my research, I haven't seen any evidence that sound, such as mp3s, can be played via javascript or any other methods using WebView.
My goal now is to quickly port over the html app and then eventually create a truely native application without using WebViews.
If anyone has been able to successfully implement playing audio using WebViews and Javascript or if this is just not possible at this time.
View 1 Replies
View Related
Jan 3, 2010
My self-teaching project is a small application which plays an audio news stream. To be effective, the application really needs to interrupt any currently playing media players (eg: Last FM, Imeem, music player, Spotify etc).I don't know what will be playing or what application will be playing it, but I want to ask them all to pause until I've done. Sounds rather bold, I know, but it must be possible, because when there's an incoming call, that's basically what happens.Can I send a message to all audio players asking them to pause for a moment? Could I spoof an incoming call, just for the time it takes?
View 2 Replies
View Related
Jun 15, 2010
How do I set up an audiofile to play when a user touches an image.Where should I store the audio file and what code should I use to actually play the file?I don't want to bring up the MediaPlayer interface or anything like that.
View 1 Replies
View Related
Jun 18, 2010
I have a javascript that plays audio in the browser, using the html5 <audio> tag. It works fine in the iPhone browser, but not in Android. (Testing using a htc desire with android 2.1.) Anyone know why?By the way, I am also trying to enlarge the audio button that shows up in the iphone (the default one is quite small), with no luck so far - would be grateful for any ideas!
View 3 Replies
View Related
Oct 1, 2010
I think I should know this, but my mind has gone blank. I'm making an app that has a few hundred small sound files and I want it to play a certain file dependent on a String I pass to the function. Where I hit the brick wall is getting the resId of the sound file.
View 1 Replies
View Related
May 27, 2010
Compared to say Verizon's voice mail is there any lag between the call and voice mail notification when using Google Voice?
View 1 Replies
View Related
Jul 8, 2010
I'm looking for an app. that will allow me to record calls(my voice only) or take voice notes during a call. I've tried a few but it seems neither of them works on android 2.2.
View 2 Replies
View Related
Jul 5, 2010
I would like to find an media player that plays videos but when I minimize or multitask to another app I want the videos audio to keep playing like pandora does. The reason for this is bcuz I rip videos off of youtube to mainly listen to the music.
View 2 Replies
View Related
Nov 27, 2009
I am trying to make a very simple radio player for Android and I cannot get the audio streaming to work. In my latest attempt it plays for about 1 second and stops for some streams and it doesnt work at all for some other streams. Logcat doesn't give much useful information to me. I am testing on HTC Hero (Android 1.5).
If I hook the completion and buffer events I see the audio gets a complete event but it keeps buffering. Is there anything wrong with the code below? Should I be able to stream the the audio streams below? Is there a complete example somewhere of a working radio streaming?................
View 5 Replies
View Related
Aug 26, 2010
My music application constantly plays music in the background, however I'd like to be able to detect when another application starts playing audio (such as the YouTube app) so I can pause/mute/stop the audio in my application. This will allow a user to continue browsing the web whilst listening to music, but then if they wish to watch a video at any point, they can do so without audio conflict.
One solution might be to listen for a broadcast which states when an application begins using the AudioManager. Does such an Intent Action exist? Edit: As in the answer provided below, there appears to be a method of detecting the loss of audio focus in 2.2 with AudioManager.OnAudioFocusChangeListener.
View 1 Replies
View Related
Nov 18, 2009
I have a activity which is called from another activity as an intent... This activity loads and starts playing a audio file. All is good - that much works. The activity also has a "stop" button and that stops the audio from playing - that is also fine.
But how do I stop the file from playing if the user uses the back button to leave the activity without clicking on the "Stop" button?
View 3 Replies
View Related
Nov 16, 2010
I have a requirement where I need to play an audio file in receiver mode(earpiece).I am not sure whether higher versions of Android SDK supports this receiver mode.I went through some links which said about 1.5/1.6 having changes in these Audio APIs and hence not sure.
View 1 Replies
View Related