I wanted to create the iOS and Windows Phone versions of Xtegos using Phonegap , and the main problem I had was sharing audio files on Whatsapp. There is a fantastic Cordova plugin called Social Sharing , developed by Eddy Verbruggen (thanks for your help), which makes things much easier, but it does not explain how to share audio files. This is how I did it on Javascript: The function below assumes that your file is in a remote server. If this is not the case, the code is much simpler and you can remove all the XMLHttpRequest code. function shareAudio() { var endpoint = 'http://www.example.com/yourFile.mp3; var client = new XMLHttpRequest(); client.open('GET', endpoint, true); // Async call // Need to change the MimeType for this kind of binary content client.overrideMimeType("text/plain; charset=x-user-defined"); client.onreadystatechange = function() { // When the progress is level 4 (ready) and the ...