Merge audio file with some other File in android?
<p>I am merging a song with  another file this file can be an image or a text file.I referred to number of links to get some help:
<a href="http://stackoverflow.com/questions/11375291/android-merge-two-audio-files-into-one-file">Merging audio files</a> 
<a href="http://stackoverflow.com/questions/11452464/merging-two-or-more-wav-files-in-android">Merging Audio files</a>.
 Using outputStream.write(Text_files.fileContent);<code>where</code>Text_files.fileContent` is the byte array of the file to append to audio file.I have written the byte data into the temp file and played the  temporary created file.However when i play the file it just plays till the actual length of the audio file and does not play the bytes that has been written after it.I expect there should be some sound of the bytes may be some weird sound.I have 2 questions Do we need to specify the length of the audio file in the Header section of the song?If yes why dint the file get corrupt?Since i am able to play the File.</p>
