Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Help me with Mobile Web Forms with sound in ASP.net

5 replies · 2,826 views · Started 01 February 2006

i make a web mobile form using asp.net that is viewable from my mobile which is 6260 and i make picture and alot of data from the Database but i need to make link when user click into it that link a .amr file played for the visitor the link dont work but if i make the file .wav it works fine with me so i dont know if i need to convert each sound file from amr to wav through the code and this is not easy i didnt found any sdk or api that help me doing this or maybe i need to upgrade my mobile software so that i can click and listen to .amr file from my mobile browser i am really spent more than month discovering this problem ,, if u plz help me solving this problem that even nokia didnt respond to it since 2 weeks ago !

Have you configured your web server to send the correct MIME type for .amr files?

what exactly i made is look like this <a href='mySound.wav'>Listen Sound</a>
and that work ok with me but when i changed the sound file to wav file like this <a href='mySound.amr'>Listen Sound</a> the error web request unknown appeared to me , if you please advise me how to configure web server to send the correct MIME type for .amr files because i thouth this error is from the mobile capabilities it self , because the same page can be displayed correctly from the computer browser and this error only occure with mobile browser .. thanks alot

Why it works on a PC is probably because the PC's browser ignores the MIME type and looks at the file extension.

The phone's browser ignores the file extensions and looks at the MIME type, which is probably wrong.

The correct MIME type for AMR files is "audio/amr" and audio/amr-wb for AWB files.

How you configure your web server depends on what web server you use. Look it up in the administration guides of the server.

i am using IIS web server since i am using ASP.net , also i think this is not configuration of IIS its something in the code maybe , but why is the .wav file run ok and the .amr not work ok , also i think that i can adjust The correct MIME type for AMR files which is "audio/amr" in the form tag , i really need help from someone who did try this before using asp.net ,, thanks very much

Thank You Very Much ! my problem solved when i configured the IIS to enable this file type , Thanks Very Much