title: after creating apk the audio is not playing in phonegap application
body: <p>For the testing purpose application debugging is perfect but after creating a application the mp3 file is not playing following is code use by me</p>
  
  <pre><code>&lt;html&gt;
    &lt;head&gt;
      &lt;title&gt;Media Example&lt;/title&gt;
  
      &lt;script type="text/javascript" charset="utf-8" src="cordova.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" charset="utf-8"&gt;
  
      // Wait for device API libraries to load
      //
      document.addEventListener("deviceready", onDeviceReady, false);
  
      // device APIs are available
      //
      function onDeviceReady() {
          playAudio("http://audio.ibeat.org/content/p1rj1s/p1rj1s_-_rockGuitar.mp3");
      }
  
      // Audio player
      //
      var my_media = null;
      var mediaTimer = null;
  
      // Play audio
      //
      function playAudio(src) {
          // Create Media object from src
          my_media = new Media(src, onSuccess, onError);
  
          // Play audio
          my_media.play();
  
          // Update my_media position every second
          if (mediaTimer == null) {
              mediaTimer = setInterval(function() {
                  // get my_media position
                  my_media.getCurrentPosition(
                      // success callback
                      function(position) {
                          if (position &gt; -1) {
                              setAudioPosition((position) + " sec");
                          }
                      },
                      // error callback
                      function(e) {
                          console.log("Error getting pos=" + e);
                          setAudioPosition("Error: " + e);
                      }
                  );
              }, 1000);
          }
      }
  
      // Pause audio
      //
      function pauseAudio() {
          if (my_media) {
              my_media.pause();
          }
      }
  
      // Stop audio
      //
      function stopAudio() {
          if (my_media) {
              my_media.stop();
          }
          clearInterval(mediaTimer);
          mediaTimer = null;
      }
  
      // onSuccess Callback
      //
      function onSuccess() {
          console.log("playAudio():Audio Success");
      }
  
      // onError Callback
      //
      function onError(error) {
          alert('code: '    + error.code    + '\n' +
                'message: ' + error.message + '\n');
      }
  
      // Set audio position
      //
      function setAudioPosition(position) {
          document.getElementById('audio_position').innerHTML = position;
      }
  
      &lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;a href="#" class="btn large" onclick="playAudio('http://audio.ibeat.org/content/p1rj1s/p1rj1s_-_rockGuitar.mp3');"&gt;Play Audio&lt;/a&gt;
      &lt;a href="#" class="btn large" onclick="pauseAudio();"&gt;Pause Playing Audio&lt;/a&gt;
      &lt;a href="#" class="btn large" onclick="stopAudio();"&gt;Stop Playing Audio&lt;/a&gt;
      &lt;p id="audio_position"&gt;&lt;/p&gt;
  
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>this is my code please help me to go out of this, as the file is remotely located don't think that there is any problem of path </p>
  
  <p>Here is my config.xml</p>
  
  <hr>
  
  <pre><code>&lt;widget xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0" id="com.phone.com.frances" version="1.0.0"&gt;
    &lt;name&gt;frances&lt;/name&gt;
    &lt;description&gt;Hello World sample application that responds to the deviceready event.&lt;/description&gt;
    &lt;author href="http://phonegap.com" email="support@phonegap.com"&gt;PhoneGap Team&lt;/author&gt;
    &lt;content src="index.html"/&gt;
    &lt;preference name="permissions" value="none"/&gt;
    &lt;preference name="orientation" value="default"/&gt;
    &lt;preference name="target-device" value="universal"/&gt;
    &lt;preference name="fullscreen" value="true"/&gt;
    &lt;preference name="webviewbounce" value="true"/&gt;
    &lt;preference name="prerendered-icon" value="true"/&gt;
    &lt;preference name="stay-in-webview" value="false"/&gt;
    &lt;preference name="ios-statusbarstyle" value="black-opaque"/&gt;
    &lt;preference name="detect-data-types" value="true"/&gt;
    &lt;preference name="exit-on-suspend" value="false"/&gt;
    &lt;preference name="show-splash-screen-spinner" value="true"/&gt;
    &lt;preference name="auto-hide-splash-screen" value="true"/&gt;
    &lt;preference name="disable-cursor" value="false"/&gt;
    &lt;preference name="android-minSdkVersion" value="7"/&gt;
    &lt;preference name="android-installLocation" value="auto"/&gt;
    &lt;gap:plugin name="org.apache.cordova.battery-status"/&gt;
    &lt;gap:plugin name="org.apache.cordova.camera"/&gt;
    &lt;gap:plugin name="org.apache.cordova.media-capture"/&gt;
    &lt;gap:plugin name="org.apache.cordova.console"/&gt;
    &lt;gap:plugin name="org.apache.cordova.contacts"/&gt;
    &lt;gap:plugin name="org.apache.cordova.device"/&gt;
    &lt;gap:plugin name="org.apache.cordova.device-motion"/&gt;
    &lt;gap:plugin name="org.apache.cordova.device-orientation"/&gt;
    &lt;gap:plugin name="org.apache.cordova.dialogs"/&gt;
    &lt;gap:plugin name="org.apache.cordova.file"/&gt;
    &lt;gap:plugin name="org.apache.cordova.file-transfer"/&gt;
    &lt;gap:plugin name="org.apache.cordova.geolocation"/&gt;
    &lt;gap:plugin name="org.apache.cordova.globalization"/&gt;
    &lt;gap:plugin name="org.apache.cordova.inappbrowser"/&gt;
    &lt;gap:plugin name="org.apache.cordova.media"/&gt;
    &lt;gap:plugin name="org.apache.cordova.network-information"/&gt;
    &lt;gap:plugin name="org.apache.cordova.splashscreen"/&gt;
    &lt;gap:plugin name="org.apache.cordova.vibration"/&gt;
    &lt;icon src="icon.png"/&gt;
    &lt;icon src="www/res/icon/android/icon-36-ldpi.png" gap:platform="android" gap:qualifier="ldpi"/&gt;
    &lt;icon src="www/res/icon/android/icon-48-mdpi.png" gap:platform="android" gap:qualifier="mdpi"/&gt;
    &lt;icon src="www/res/icon/android/icon-72-hdpi.png" gap:platform="android" gap:qualifier="hdpi"/&gt;
    &lt;icon src="www/res/icon/android/icon-96-xhdpi.png" gap:platform="android" gap:qualifier="xhdpi"/&gt;
    &lt;icon src="www/res/icon/blackberry/icon-80.png" gap:platform="blackberry"/&gt;
    &lt;icon src="www/res/icon/blackberry/icon-80.png" gap:platform="blackberry" gap:state="hover"/&gt;
    &lt;icon src="www/res/icon/ios/icon-57.png" gap:platform="ios" width="57" height="57"/&gt;
    &lt;icon src="www/res/icon/ios/icon-72.png" gap:platform="ios" width="72" height="72"/&gt;
    &lt;icon src="www/res/icon/ios/icon-57-2x.png" gap:platform="ios" width="114" height="114"/&gt;
    &lt;icon src="www/res/icon/ios/icon-72-2x.png" gap:platform="ios" width="144" height="144"/&gt;
    &lt;icon src="www/res/icon/webos/icon-64.png" gap:platform="webos"/&gt;
    &lt;icon src="www/res/icon/windows-phone/icon-48.png" gap:platform="winphone"/&gt;
    &lt;icon src="www/res/icon/windows-phone/icon-173-tile.png" gap:platform="winphone" gap:role="background"/&gt;
    &lt;gap:splash src="www/res/screen/android/screen-ldpi-portrait.png" gap:platform="android" gap:qualifier="port-ldpi"/&gt;
    &lt;gap:splash src="www/res/screen/android/screen-mdpi-portrait.png" gap:platform="android" gap:qualifier="port-mdpi"/&gt;
    &lt;gap:splash src="www/res/screen/android/screen-hdpi-portrait.png" gap:platform="android" gap:qualifier="port-hdpi"/&gt;
    &lt;gap:splash src="www/res/screen/android/screen-xhdpi-portrait.png" gap:platform="android" gap:qualifier="port-xhdpi"/&gt;
    &lt;gap:splash src="www/res/screen/blackberry/screen-225.png" gap:platform="blackberry"/&gt;
    &lt;gap:splash src="www/res/screen/ios/screen-iphone-portrait.png" gap:platform="ios" width="320" height="480"/&gt;
    &lt;gap:splash src="www/res/screen/ios/screen-iphone-portrait-2x.png" gap:platform="ios" width="640" height="960"/&gt;
    &lt;gap:splash src="www/res/screen/ios/screen-iphone-portrait-568h-2x.png" gap:platform="ios" width="640" height="1136"/&gt;
    &lt;gap:splash src="www/res/screen/ios/screen-ipad-portrait.png" gap:platform="ios" width="768" height="1024"/&gt;
    &lt;gap:splash src="www/res/screen/ios/screen-ipad-landscape.png" gap:platform="ios" width="1024" height="768"/&gt;
    &lt;gap:splash src="www/res/screen/windows-phone/screen-portrait.jpg" gap:platform="winphone"/&gt;
    &lt;access origin="*"/&gt;
    &lt;plugin name="cordova-plugin-whitelist" version="1"/&gt;
    &lt;allow-intent href="http://*/*"/&gt;
    &lt;allow-intent href="https://*/*"/&gt;
    &lt;allow-intent href="tel:*"/&gt;
    &lt;allow-intent href="sms:*"/&gt;
    &lt;allow-intent href="mailto:*"/&gt;
    &lt;allow-intent href="geo:*"/&gt;
    &lt;platform name="android"&gt;
      &lt;allow-intent href="market:*"/&gt;
    &lt;/platform&gt;
    &lt;platform name="ios"&gt;
      &lt;allow-intent href="itms:*"/&gt;
      &lt;allow-intent href="itms-apps:*"/&gt;
    &lt;/platform&gt;
  &lt;/widget&gt;
  </code></pre>