I am making a phone application(on Nokia N79) in J2ME which records a 10-second audio and then send it to the server(apache-tomcat). The problem is that when I see the audio(in Audacity) received at the server, the audio appears broken, ie, its correct for some seconds and then shows zero amplitude for the next few seconds and so on. You can also see the screenshot at http://www.cse.iitb.ac.in/~ankushjai...Screenshot.png.
The sampling rate of the mic is 8000 Hz. Also, when I extract the header information, it shows me the that there is 159Kb of data but the file size as shown in the file Properties is 222 Kb.
Can someone suggest me how to properly get the audio file on the server ??
Thanks in advance.