<?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 I know I do not need to be in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122778#M76783</link>
    <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;I know I do not need to be using Cordova plugins to use develop tab...and I understand it WOULD be a better place to view and debug... My issue is that I do not have an Apple Developer Certificate to be able to USE the... guessing you meant to say "Debug" tab instead of Develop tab, as I can use the Develop tab... I need to know IS there a way an Intel XDK developer can look at the Phonon examples to get them working inside of XDK and the emulator as I do NOT have an Apple Cert or Android device at this time?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Please and Thank-You. :)&lt;/P&gt;</description>
    <pubDate>Wed, 11 May 2016 17:11:00 GMT</pubDate>
    <dc:creator>Jonathan_H_3</dc:creator>
    <dc:date>2016-05-11T17:11:00Z</dc:date>
    <item>
      <title>Phonon.js not loading in Emulate</title>
      <link>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122770#M76775</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Has anyone used phonon.js (http://phonon.quarkdev.com) in XDK?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;I am having issues getting the emulator to properly load the JS library.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;It works in App Preview Native app, but NOT in emulator.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Any assistance is greatly appreciated.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 17:54:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122770#M76775</guid>
      <dc:creator>Jonathan_H_3</dc:creator>
      <dc:date>2016-05-10T17:54:11Z</dc:date>
    </item>
    <item>
      <title>I recommend using the Debug</title>
      <link>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122771#M76776</link>
      <description>&lt;P&gt;I recommend using the Debug tab, it will provide a much more accurate debug environment. If you make changes in the Develop tab to your files, while running a debug session, you will be prompted to reload when you return to the Debug tab. Or, if you are using an external editor, simply push the bug icon while the Debug session is running and it will reload your source files. Not quite as fast as the Emulate tab, but still pretty fast.&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 19:06:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122771#M76776</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-05-10T19:06:07Z</dc:date>
    </item>
    <item>
      <title>I do not have an Apple</title>
      <link>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122772#M76777</link>
      <description>&lt;P&gt;I do not have an Apple Certificate yet and cannot get it on my device without one.&lt;/P&gt;

&lt;P&gt;I have applied for one, but it has not been approved yet so I cannot use the debug tab. :(&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 19:10:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122772#M76777</guid>
      <dc:creator>Jonathan_H_3</dc:creator>
      <dc:date>2016-05-10T19:10:15Z</dc:date>
    </item>
    <item>
      <title>What about Android?
	 </title>
      <link>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122773#M76778</link>
      <description>&lt;P&gt;What about Android?&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 19:13:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122773#M76778</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-05-10T19:13:01Z</dc:date>
    </item>
    <item>
      <title>I do not have an android</title>
      <link>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122774#M76779</link>
      <description>&lt;P&gt;I do not have an android device presently. &amp;nbsp;I was excited about using XDK because of the emulation of various devices while developing, but getting it to work with other libraries is not as easy as first thought. :p&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 19:15:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122774#M76779</guid>
      <dc:creator>Jonathan_H_3</dc:creator>
      <dc:date>2016-05-10T19:15:16Z</dc:date>
    </item>
    <item>
      <title>The Emulate tab is just a</title>
      <link>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122775#M76780</link>
      <description>&lt;P&gt;The Emulate tab is just a Chromium browser with some limited support for Cordova APIs, it is not a device emulator. Please see this doc &amp;gt; &lt;A href="https://software.intel.com/en-us/xdk/docs/intel-xdk-dev-emulator-limitations" target="_blank"&gt;https://software.intel.com/en-us/xdk/docs/intel-xdk-dev-emulator-limitations&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 21:00:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122775#M76780</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-05-10T21:00:22Z</dc:date>
    </item>
    <item>
      <title>I am not using any Cordova</title>
      <link>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122776#M76781</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;I am not using any Cordova Plugins/APIs in my app. &amp;nbsp;I am just trying to get Phonon.js to function correctly in the emulator.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Is there any way to submit for review with Intel developers to take a look at Phonon to see how to make it work?&lt;/P&gt;

&lt;P&gt;I am just using the Kitchen Sink demo from the Phonon github demos area: &lt;A href="http://github.com/quark-dev/Phonon-Framework.git" target="_blank"&gt;http://github.com/quark-dev/Phonon-Framework.git&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 12:41:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122776#M76781</guid>
      <dc:creator>Jonathan_H_3</dc:creator>
      <dc:date>2016-05-11T12:41:59Z</dc:date>
    </item>
    <item>
      <title>You don't need to be using</title>
      <link>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122777#M76782</link>
      <description>&lt;P&gt;You don't need to be using Cordova plugins to use the Develop tab. It is simply a better place to view and debug than the Emulate tab. There are many limitations to the Emulate tab. Since it works in App Preview, you could also just view and debug in a local browser, for quick debugging and then use App Preview and the Debug tab for on-device debugging and previewing.&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 16:31:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122777#M76782</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-05-11T16:31:47Z</dc:date>
    </item>
    <item>
      <title>I know I do not need to be</title>
      <link>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122778#M76783</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;I know I do not need to be using Cordova plugins to use develop tab...and I understand it WOULD be a better place to view and debug... My issue is that I do not have an Apple Developer Certificate to be able to USE the... guessing you meant to say "Debug" tab instead of Develop tab, as I can use the Develop tab... I need to know IS there a way an Intel XDK developer can look at the Phonon examples to get them working inside of XDK and the emulator as I do NOT have an Apple Cert or Android device at this time?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Please and Thank-You. :)&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 17:11:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122778#M76783</guid>
      <dc:creator>Jonathan_H_3</dc:creator>
      <dc:date>2016-05-11T17:11:00Z</dc:date>
    </item>
    <item>
      <title>I am unable to get to any of</title>
      <link>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122779#M76784</link>
      <description>&lt;P&gt;I am unable to get to any of the Phonon examples, they are being blocked by our firewall due to blacklisting of their site (I don't know why, just that I am unable to see their samples and a large part of their documentation for that reason).&lt;/P&gt;

&lt;P&gt;We can take a look at your sample app and see if there is something obvious, but we cannot commit to investing the time to insure that the Phonon framework will always work with the XDK. We do not have the resources to insure that all third-party JS frameworks and Cordova plugins will always work. Please attach a ZIP of the ENTIRE project directory to your post so we have an example to work with (use the "Attach Files to Post" section below the edit window in the forum) and I'll see if there is something obvious in the way of your app working.&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 18:34:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122779#M76784</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-05-11T18:34:44Z</dc:date>
    </item>
    <item>
      <title>Try accessing the github I</title>
      <link>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122780#M76785</link>
      <description>&lt;P&gt;Try accessing the github I mentioned: &lt;A href="https://github.com/quark-dev/Phonon-Framework/" target="_blank"&gt;https://github.com/quark-dev/Phonon-Framework/&lt;/A&gt; &amp;nbsp;It houses all of the examples and the demo.&lt;/P&gt;

&lt;P&gt;I also attached the files from github to this post. &amp;nbsp;Also included a couple of pages from the documentation&lt;/P&gt;

&lt;P&gt;Thanks :)&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 18:48:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122780#M76785</guid>
      <dc:creator>Jonathan_H_3</dc:creator>
      <dc:date>2016-05-11T18:48:42Z</dc:date>
    </item>
    <item>
      <title>Jonathan -- please put</title>
      <link>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122781#M76786</link>
      <description>&lt;P&gt;Jonathan -- please put together an XDK sample and attach that, then I can help you more efficiently. We cover a lot of issues and also have additional duties, beyond the forum, that consume our time. The more you can do to help me the more I can help you. Please put together a simple XDK app that illustrates the problem you are experiencing.&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2016 00:30:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122781#M76786</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-05-12T00:30:16Z</dc:date>
    </item>
    <item>
      <title>Sorry for not posting in a</title>
      <link>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122782#M76787</link>
      <description>&lt;P&gt;Sorry for not posting in a while... been out of the office and then pulled to other duties :p&lt;/P&gt;

&lt;P&gt;So, I found out why the framework is not working and wrote a little work-around code to correct it in the framework, BUT I believe that a change to the emulator is also in order.&lt;/P&gt;

&lt;P&gt;In the code below phonon.js determines the OS/Version based on the following:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;phonon.device = (function () {

    /**
     * Device detection
     * Source: &lt;A href="http://jsfiddle.net/ChristianL/AVyND/" target="_blank"&gt;http://jsfiddle.net/ChristianL/AVyND/&lt;/A&gt;
     */

    // browser
    var nVer = navigator.appVersion;
    var ua = navigator.userAgent;

    // system
    var os = '-';

    var clientStrings = [
        {s:'Windows 10', r:/(Windows 10.0|Windows NT 10.0)/},
        {s:'Windows 8.1', r:/(Windows 8.1|Windows NT 6.3)/},
        {s:'Windows 8', r:/(Windows 8|Windows NT 6.2)/},
        {s:'Windows 7', r:/(Windows 7|Windows NT 6.1)/},
        {s:'Windows Vista', r:/Windows NT 6.0/},
        {s:'Windows Server 2003', r:/Windows NT 5.2/},
        {s:'Windows XP', r:/(Windows NT 5.1|Windows XP)/},
        {s:'Windows 2000', r:/(Windows NT 5.0|Windows 2000)/},
        {s:'Windows ME', r:/(Win 9x 4.90|Windows ME)/},
        {s:'Windows 98', r:/(Windows 98|Win98)/},
        {s:'Windows 95', r:/(Windows 95|Win95|Windows_95)/},
        {s:'Windows NT 4.0', r:/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/},
        {s:'Windows CE', r:/Windows CE/},
        {s:'Windows 3.11', r:/Win16/},
        {s:'Android', r:/Android/},
        {s:'Open BSD', r:/OpenBSD/},
        {s:'Sun OS', r:/SunOS/},
        {s:'Linux', r:/(Linux|X11)/},
        {s:'iOS', r:/(iPhone|iPad|iPod)/},
        {s:'Mac OS X', r:/Mac OS X/},
        {s:'Mac OS', r:/(MacPPC|MacIntel|Mac_PowerPC|Macintosh)/},
        {s:'QNX', r:/QNX/},
        {s:'UNIX', r:/UNIX/},
        {s:'BeOS', r:/BeOS/},
        {s:'OS/2', r:/OS\/2/},
        {s:'Search Bot', r:/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\/Teoma|ia_archiver)/}
    ];
    for (var id in clientStrings) {
        var cs = clientStrings[id];
        if (cs.r.test(ua)) {
            os = cs.s;
            break;
        }
    }

    var osVersion = '-';

    if (/Windows/.test(os)) {
        osVersion = /Windows (.*)/.exec(os)[1];
        os = 'Windows';
    }

    switch (os) {
        case 'Mac OS X':
            osVersion = /Mac OS X (10[\.\_\d]+)/.exec(ua)[1];
            break;

        case 'Android':
            osVersion = /Android ([\.\_\d]+)/.exec(ua)[1];
            break;

         case 'iOS':
            osVersion = /OS (\d+)_(\d+)_?(\d+)?/.exec(nVer);
            //MY TEMPORARY WORKAROUND FIX FOR XDK EMULATOR
            if(osVersion === null){
                        osVersion = '8_0_0';
                        osVersion = osVersion[0] + '.' + osVersion[2] + '.' + (osVersion[3] | 0);
            } else {
                        osVersion = osVersion[1] + '.' + osVersion[2] + '.' + (osVersion[3] | 0);
            }
            //END TEMPORARY FIX
            break;
    }


    return {
        os: os,
        osVersion: osVersion
    };

})();&lt;/PRE&gt;

&lt;P&gt;As you can see I have added a TEMPORARY WORKAROUND to allow the framework to load in the XDK Emulator, BUT SHOULD'NT XDK emulator be PROPERLY providing the correct OS Versions?&lt;/P&gt;

&lt;P&gt;When I emulate iPhone 6 Plus in Intel XDK &amp;amp; run the following code:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;alert(nVer);&lt;/PRE&gt;

&lt;P&gt;I get: "5.0 (Macintosh; Intel Mac OS X 10_11_4)...", WHILE ON MY iPHONE I GET: "5.0 (iPhone; CPU iPhone OS 9_3_2 like Mac OS X)..."&lt;/P&gt;

&lt;P&gt;... AND when I do following in Intel XDK:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;alert(ua)[1];&lt;/PRE&gt;

&lt;P&gt;I get: "Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac OS X)", WHILE ON MY iPHONE I GET: "Mozilla/5.0 (iPhone; CPU iPhone OS 9_3_2 like Mac OS X)..."&lt;/P&gt;

&lt;P&gt;See Pictures for better understanding....&lt;/P&gt;

&lt;P&gt;Anyway to get this fixed in XDK?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:52:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122782#M76787</guid>
      <dc:creator>Jonathan_H_3</dc:creator>
      <dc:date>2016-06-15T19:52:40Z</dc:date>
    </item>
    <item>
      <title>Yes, the Emulate tab should</title>
      <link>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122783#M76788</link>
      <description>&lt;P&gt;Yes, the Emulate tab should be providing a properly formatted UA string for the selected device. We are changing out that component of the XDK in the next major release, to use the Cordova TACO simulator, rather than the Ripple simulator. This new simulator is better supported and should provide the results you are looking for. In the meantime, we won't be making any fixes to the Emulate tab, because it will disappear from the product.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jun 2016 00:11:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122783#M76788</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-06-25T00:11:56Z</dc:date>
    </item>
    <item>
      <title>Quote:Paul F. (Intel) wrote:</title>
      <link>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122784#M76789</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Paul F. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Yes, the Emulate tab should be providing a properly formatted UA string for the selected device. We are changing out that component of the XDK in the next major release, to use the Cordova TACO simulator, rather than the Ripple simulator. This new simulator is better supported and should provide the results you are looking for. In the meantime, we won't be making any fixes to the Emulate tab, because it will disappear from the product.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Oh No - the emulator is awesome - it provides a sneaky way of providing images to App Store platforms that are reasonably accurate from a feature / function standpoint. If emulator disappears, won't I need to buy loads of hardware devices to grab my in-store screenshots? I love that the emulator (whilst not perfect) saves me $$$! Please don't disappear the emulator!&lt;/P&gt;</description>
      <pubDate>Sat, 02 Jul 2016 02:44:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Phonon-js-not-loading-in-Emulate/m-p/1122784#M76789</guid>
      <dc:creator>Rob_Welan</dc:creator>
      <dc:date>2016-07-02T02:44:17Z</dc:date>
    </item>
  </channel>
</rss>

