How to play .wav file from url in iphone.

We are using callfire API for in our iPhone application(Hybrid application build using sencha and phonegap). The concept of the app is to show the recorded calls in a list and on click of any call in the list it will play the recorded audio file(.wav format). Now the problem is that we are not able to play that file in our Application. We also tried to play that URL directly on iPhone browser but it also didn't worked.
Here is one of the URL of audio file formathttps://www.callfire.com/cloud/1/files/recording/dynamic/864c81f4a8e6a898042cb47 251ca1c85/2012/8/6065312/cid_1319779221_1.wav
When we put this audio file in our server and tried to play it our Application, it worked perfectly.
Can you please tell us what is the reason behind this?
We are using iPhone 3 with software version 6.0 for testing.

You'll have to ask the devleopers of sencha and phonegap.

Similar Messages

  • How to play .wav file from URL in web browser embed

    Hi;
    I want to play a .wav sound file in embed default media player in IE. Sound file is on some HTTP location. I am unable to sound it in that player.
    Following is the code.
    URL url = new URL("http://www.concidel.com/upload/myfile.wav");
            URLConnection urlc = url.openConnection();
            InputStream is = (InputStream)urlc.getInputStream();
             fileBytes = new byte[is.available()];
             while (is.read(fileBytes,0,fileBytes.length)!=-1){}
    BufferedOutputStream out = new BufferedOutputStream(response.getOutputStream());
             out.write(fileBytes);Here is embed code of HTML.
    <embed src="CallStatesTreeAction.do?ivrCallId=${requestScope.vo.callId}&agentId=${requestScope.vo.agentId}" type="application/x-mplayer2" autostart="0" playcount="1" style="width: 40%; height: 45" />1. If I write in FileOutputStream then it plays well
    2. If I replace my code of getting file from URL to my local hard disk. then it also works fine.
    I don't know why I am unable to play file from HTTP. And why it plays well from local hard disk.
    Please help.

    You'll have to ask the devleopers of sencha and phonegap.

  • Unable to play .wav file from URL.

    We are using callfire API for in our iPhone application(Hybrid application build using sencha and phonegap). The concept of the app is to show the recorded calls in a list and on click of any call in the list it will play the recorded audio file(.wav format). Now the problem is that we are not able to play that file in our Application. We also tried to play that URL directly on iPhone browser but it also didn't worked.
    Here is one of the URL of audio file formathttps://www.callfire.com/cloud/1/files/recording/dynamic/864c81f4a8e6a898042cb47 251ca1c85/2012/8/6065312/cid_1319779221_1.wav
    When we put this audio file in our server and tried to play it our Application, it worked perfectly.
    Can you please tell us what is the reason behind this?
    We are using iPhone 3 with software version 6.0 for testing.

    You need to post this question in the iOS developer's forum.

  • How to play wave files from a jar archive?

    Dear friends,
    I have a .jar archive with several .wav files, and I would like to play them without extract these files.
    This is possible to do? If yes, please show me how to do this.
    Thank you for your attention,
    Augusto Nunes

    This discussion of getResource is very useful: http://java.sun.com/docs/books/tutorial/uiswing/components/icon.html#getresource

  • How to Play .wav files in Safari?

    Hi:
    I need a little help.
    I would like Safari to play wav files instead of downloading those file to my Downloads folder. Can this be done.
    Thanks,
    -AstraPoint

    Greetings,
    I would like Safari to play wav files instead of downloading those file to my Downloads folder.
    Can this be done?
    Maybe. First, what is the URL for a .wav file you're trying to play in Safari? I want to test this before I say whether or not it will work.

  • How to play .wav files

    hi all..
    can i play '.wav' files using other than the AudioClip method?
    how ever i have tried to use the method as below but it still isn't working..please help me out...thanks

    I had same problem,wouldn,t play waves convert to .au using goldwave(freeware... www.goldwave.com)then it will play
    p.

  • Toshiba 40SL733g - How to play video files from USB flash memory

    When I plug my USB flash memory in USB port, Media Player menu shows up with two options : Photos and Settings.
    How do I make my TV recognize and play video files from USB flash memory?
    Flash is on FAT32.
    I have tried to play avi, mp4 and mkv files but nothing happens. It looks like flash is empty.
    Could you please help me solve this problem.
    Thanks!

    bzunic, have you updated the firmware for your model?.
    With my own set, (32RL900A), the instruction manual said that certain buttons on the remote control were "unused", however, after the first firmware update, the previously "unused" buttons were used, (In our case, Time Shift, Record, and so on).
    The reason I talk about this is, these features became available after a firmware upgrade, and were not mentioned in the user manual, in our case, and a later download of the instruction manual for our model actually gave the instructions for the use of these features, which were shown as "not available", in the original instruction manual supplied with the TV, but became available after the firmware upgrade.
    Let us know how it all works out ............
    donhe7

  • How to play wav files with Garageband/Midi keyboard

    Hello,
    I'm using Garagband (on my MAC, not iPad) and a midi keyboard for making songs. I just got a couple of cd's from Miroslav Philharmonik, but the sounds are all in standalone WAV files. There is no installation required. How can i use these sounds with Garageband? Must i copy/paste them in a specified directory on the HD? Or is a sample library necessary? I tried drag and drop, but that dind't work out...
    Thanx in advance for your help.

    this should help:
    import com.ms.win32.*;
    public void play()
              try
              URL url = new URL("file","C:\\","Hallo.wav");
              String wav= new String(url.getHost()+url.getFile());
              Winmm.PlaySound(wav,1,1);
              catch(MalformedURLException e)
    or something like this ;))
    Quaxi

  • How to generate .wav files from sound pressure data

    Hi,
    I have sound pressure data (as dB values) vs frequency data.
    How can I create a playable .wav file based on above?
    Note: I do NOT have sound pressure vs time data
    I am working in LV 7.1 FDS on Win2000.
    If really required, I can incorporate VIs from sound and vibration toolkit (version 1.0).
    However, I would prefer a solution that does not need me to do that.
    Thanks in anticipation,
    Gurdas
    Gurdas Singh
    PhD. Candidate | Civil Engineering | NCSU.edu

    All,
    With some help from NI-India, we managed to build a nice sound player and .wav saving utility.
    I have attached the VI sent by NI-India. The key component which was missing in my VI was "resample waveform".
    Note: For some reason, I could not use the attached VI to generate sound but did use the concept to succesfully read my sound pressure data and output it to the speaker (and also save it as .wav file tha can be played on Windows Media Player). Also note that I am now generating sound from sound pressure vs time data. I have not tried generating sound from sound pressure vs frequency data.
    I would love to have the following answered:
    1) What data does the sound write VI expect? Is it Sound Pressure values? What units (N/m2 or dB or dBA)? I think it expects sound pressure data and the units are not relevant. Reason being my next question.
    2) I found that until I mutliply the sound pressure data by a very large number say 10e7, the sound is hardly audible (even when volume was programmatically set to max. i.e. 65535). The sound QUALITY does not change when I change this multiplier.
          2.a) Does that mean its only the relative difference between wave data points that affects sound quality? If yes, then I believe the sound pressure data can be in any units.
          2.b) Is it expected to use this huge multiplier OR did I do something without really knowing what it meant?
    Thanks,
    Gurdas
    Gurdas Singh
    PhD. Candidate | Civil Engineering | NCSU.edu
    Attachments:
    Sound from FFT (LV 8).vi ‏165 KB

  • How to play WAV file in Forms 4.5

    hello,
    i want to play a .WAV file when a stacked canvas come to visible. im trying to use BELL, it is giving very low voice. while playing i dont want to get delay to show stacked canvas.
    Thanks in advance

    I think that you would be better posting this question on the Oracle Forms forum.
    Regards,
    Danny

  • How to transfer m4r file from macbook to iPhone?

    I could create .m4r file from mp3 file in iTunes. However, I don't see it in iTunes 'Tone'.
    I can see it in Finder as well as in iTunes music tab.
    Can someone help how to bring it to iPhone as a ringtone after this step of creating .m4r file?

    Thanks. I, now, could create ringtone with the Ringtone Maker and could transfer/sync it to iPhone. However, when assigned to one of the contacts and tested if rings when that person calls - it did not ring with the new tone. Instead, it was the default ringtone. Is there any other step that I should be doing before assigning it to a contact?

  • How can i download files from icloud to iPhone

    i have completed icloud set up in my pc & iPhone 6 plus and stored some files on the icloud, but I can not pulls out files from icloud on my iphone.

    According to what I know the only way to see or use those files on iphones and ipads is by using compatible app, that can read those files.

  • How to download sound files from txt on iphone?

    Someone sent me an .mp3 in a txt message.  How to I get it from the phone to my computer?
    Thx

    Forward it to your email account, then save it on your computer. You can't save it directly on the iPhone.

  • How to play flac files from a Maxtor external hard drive

    Trying to use an old mac mini PPC to play music from a Maxtor external hard drive. Files are flac format. Would like to move files to iTunes library individually or by album or ideally only when I want to play them. Am not that accustomed to using a Mac, just finding my way around...flac file conversion
    is possible for this old mac or do I need to download some freeware?

    If you want to convert your FLAC files (I would recommend to Apple Lossless format) then have a look at the free XLD software.
    See http://tmkk.pv.land.to/xld/index_e.html
    Apple Lossless format is the same exact quality as FLAC, roughly the same file size but works natively in iTunes and on Apple's iPod/iPhone/iPad devices. It can also be played in most Windows applications including Windows Media Player if you add the right plugins or codecs. Apple Lossless is a free open-source format now, just like FLAC.

  • Can not play wav file on envy touchsmart

    can not play wav files from my emails on my hp envy touchsmart. have tried to download other apps, but nothing is working. help!

    Hi terrylyn11,
    What media player apps have you tried to use to play these files? Are other music file formats playing ok?
    Please click the thumbs up button to say "Thanks!"
    Clicking "Accept as Solution" on a reply that solves your problem makes it easier for other people to find solutions.
    I am an HP employee.

Maybe you are looking for

  • Cannot upgrade to snow leopard

    I have a late 2007 iMac (2GHz core 2 Duo). Since I purchased it, it has run Tiger, then Leopard flawlessly. I recently bought a Magic Trackpad which required me to upgrade to Snow Leopard. Unfortunately, 10.6 seems to kernel panic almost as soon as i

  • ITunes Store error 504

    The store just keeps showing a loading bar up the top and eventually it comes up with the error code "504". I have restarted iTunes and problem persists. Also iTunes is up to date (10.3.1) and system also. The only things are NOT up to date are new i

  • Clustered session state replication

              We are new to WebLogic, vrs 8.1 server, and are trying to get session states to           replicate within a cluster. We believe everything is set up per the Bea docs but           in the end "the state" on the secondary does not seem to ex

  • Two Palm PDAs and iSync on one account - Synchronization not complete

    I have set up two Palm devices with iSync on one account on my computer. It was my understanding that if I do a HotSync on each device with the Mac, all three devices should have the same information. I am finding that this is partially true. If I ad

  • I can't get After Effects to install

    I have tried to download the trial of After Effects CS6 at least ten or more times, both by the adobe download assistant and through the adobe cloud program. And none of them work, I keep getting errors as soon as I start to download the actual After