<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Also, try building with in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Audio-problem-on-some-devices-android/m-p/1010534#M33976</link>
    <description>&lt;P&gt;Also, try building with Crosswalk, instead of Android.&lt;/P&gt;

&lt;DIV class="field field-name-comment-body field-type-text-long field-label-hidden"&gt;
	&lt;DIV class="field-items"&gt;
		&lt;DIV class="field-item even"&gt;
			&lt;P&gt;When building for Android you are running in the native Android webview. If your device is running Android 4.3 or less that webview is very deficient and is likely the reason for the behavior you are seeing. This is why we offer the Crosswalk build option, it allows you to use a modern webview on Android 4.0 and higher devices (sorry, there's nothing we can do for Android 2.x and 3.x devices). The S4 and Tab should be running a modern webview, but even the 4.4 webview is kind of old and has some issues...&lt;/P&gt;

			&lt;P&gt;Use the Debug tab and build using Crosswalk. See this article &lt;A href="http://blogs.intel.com/evangelists/2014/09/02/html5-web-app-webview-app/"&gt;http://blogs.intel.com/evangelists/2014/09/02/html5-web-app-webview-app/&lt;/A&gt; and this doc page: &lt;A href="https://software.intel.com/en-us/xdk/docs/why-use-crosswalk-for-android-builds"&gt;https://software.intel.com/en-us/xdk/docs/why-use-crosswalk-for-android-...&lt;/A&gt;&lt;/P&gt;
		&lt;/DIV&gt;
	&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Fri, 22 May 2015 22:17:06 GMT</pubDate>
    <dc:creator>PaulF_IntelCorp</dc:creator>
    <dc:date>2015-05-22T22:17:06Z</dc:date>
    <item>
      <title>Audio problem on some devices (android)</title>
      <link>https://community.intel.com/t5/Software-Archive/Audio-problem-on-some-devices-android/m-p/1010532#M33974</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I just created an educational game for android.&lt;/P&gt;

&lt;P&gt;"Baby learns the words ™ aims to teach the basic vocabulary to young children using pictures and sound files."&lt;/P&gt;

&lt;P&gt;Here's the link: &lt;A href="https://play.google.com/store/apps/details?id=com.alexspectror.mots" target="_blank"&gt;https://play.google.com/store/apps/details?id=com.alexspectror.mots&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;My problem is some users reports the sound isn't working. The issue&amp;nbsp; apears on device like Galaxy s4, galaxy tab.&lt;/P&gt;

&lt;P&gt;But in another part, sound is working fine in Motorola G con Lolipop.&lt;/P&gt;

&lt;P&gt;Here's my code.&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;				  &amp;lt;div id="audio"&amp;gt;&amp;lt;audio controls&amp;gt;
    &amp;lt;source src="sounds/CHAT.mp3" type="audio/mp3"&amp;gt;
    Your browser does not support the audio element.
    &amp;lt;/audio&amp;gt;&amp;lt;/div&amp;gt;

              &amp;lt;script&amp;gt;
    var handle = document.getElementById('ch');
    handle.addEventListener('click',function(){
    
        var a=document.getElementsByTagName("audio")[0];
        a.play();
    },false);
        
    function playMP3() {
    
        intel.xdk.player.startAudio("sounds/CHAT.mp3");
        
    }
        
    
        
    &amp;lt;/script&amp;gt;&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Do you see an error? Can i solve this issue?&lt;/P&gt;

&lt;P&gt;I need help please.&lt;/P&gt;

&lt;P&gt;Thks. Alex.&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2015 03:34:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Audio-problem-on-some-devices-android/m-p/1010532#M33974</guid>
      <dc:creator>Alexandre_M_</dc:creator>
      <dc:date>2015-05-21T03:34:40Z</dc:date>
    </item>
    <item>
      <title>Might be more reliable to use</title>
      <link>https://community.intel.com/t5/Software-Archive/Audio-problem-on-some-devices-android/m-p/1010533#M33975</link>
      <description>&lt;P&gt;Might be more reliable to use a Cordova audio plugin. There is the standard media plugin and there are other third-party low-latency plugins. See this sample app for comparison usage of the &amp;lt;audio&amp;gt; tag as well as the Cordova media plugin: &lt;A href="https://github.com/xmnboy/hello-cordova/" target="_blank"&gt;https://github.com/xmnboy/hello-cordova/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2015 22:09:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Audio-problem-on-some-devices-android/m-p/1010533#M33975</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-05-22T22:09:59Z</dc:date>
    </item>
    <item>
      <title>Also, try building with</title>
      <link>https://community.intel.com/t5/Software-Archive/Audio-problem-on-some-devices-android/m-p/1010534#M33976</link>
      <description>&lt;P&gt;Also, try building with Crosswalk, instead of Android.&lt;/P&gt;

&lt;DIV class="field field-name-comment-body field-type-text-long field-label-hidden"&gt;
	&lt;DIV class="field-items"&gt;
		&lt;DIV class="field-item even"&gt;
			&lt;P&gt;When building for Android you are running in the native Android webview. If your device is running Android 4.3 or less that webview is very deficient and is likely the reason for the behavior you are seeing. This is why we offer the Crosswalk build option, it allows you to use a modern webview on Android 4.0 and higher devices (sorry, there's nothing we can do for Android 2.x and 3.x devices). The S4 and Tab should be running a modern webview, but even the 4.4 webview is kind of old and has some issues...&lt;/P&gt;

			&lt;P&gt;Use the Debug tab and build using Crosswalk. See this article &lt;A href="http://blogs.intel.com/evangelists/2014/09/02/html5-web-app-webview-app/"&gt;http://blogs.intel.com/evangelists/2014/09/02/html5-web-app-webview-app/&lt;/A&gt; and this doc page: &lt;A href="https://software.intel.com/en-us/xdk/docs/why-use-crosswalk-for-android-builds"&gt;https://software.intel.com/en-us/xdk/docs/why-use-crosswalk-for-android-...&lt;/A&gt;&lt;/P&gt;
		&lt;/DIV&gt;
	&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 22 May 2015 22:17:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Audio-problem-on-some-devices-android/m-p/1010534#M33976</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-05-22T22:17:06Z</dc:date>
    </item>
  </channel>
</rss>

