<?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 After few hours of debugging in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Failed-to-fetch-url/m-p/1010120#M33782</link>
    <description>&lt;P&gt;After few hours of debugging&lt;/P&gt;

&lt;P&gt;&lt;IMG alt="" src="http://replygif.net/i/1073.gif" /&gt;&lt;/P&gt;

&lt;P&gt;I have made AWFUL hack but it works&lt;/P&gt;

&lt;P&gt;&lt;IMG alt="" src="http://replygif.net/i/162.gif" /&gt;&lt;/P&gt;

&lt;PRE class="brush:css;"&gt;* {
font-size: 50px !important;
}&lt;/PRE&gt;

&lt;P&gt;With legacy android build&lt;/P&gt;

&lt;P&gt;&lt;IMG alt="" src="http://replygif.net/i/1513" /&gt;&lt;/P&gt;

&lt;P&gt;This is app only for my own use, so I could do that, because it doesn't look well now.&lt;/P&gt;

&lt;P&gt;&lt;IMG alt="" src="http://replygif.net/i/1202.gif" /&gt;&lt;/P&gt;

&lt;P&gt;The same code but builded with crosswalk doesn't work.&lt;/P&gt;

&lt;P&gt;&lt;IMG alt="" src="http://replygif.net/i/730.gif" /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jul 2015 17:28:00 GMT</pubDate>
    <dc:creator>Szymon_P_</dc:creator>
    <dc:date>2015-07-15T17:28:00Z</dc:date>
    <item>
      <title>Failed to fetch url</title>
      <link>https://community.intel.com/t5/Software-Archive/Failed-to-fetch-url/m-p/1010119#M33781</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;My code is:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;intel.xdk.device.getRemoteData(app.url + 'some/url',"POST","some=data","success","error");&lt;/PRE&gt;

&lt;P&gt;It works great in emulate tab, but if I build crosswalk for android or just android it doesnt work.&lt;/P&gt;

&lt;P&gt;I've tried export app to chrome and check it console. This is what i get:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;Uncaught ReferenceError: intel is not defined&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;&lt;STRONG&gt;Legacy hybrid mobile app build -&amp;gt; Android make a build with this works,&lt;/STRONG&gt;&amp;nbsp;but resolution is too high and I cant see anything except a data is downloaded from external server successfully.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;EDIT&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;I've fixed this js error by changing&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;$(function(){
myFetchFunc();
});&lt;/PRE&gt;

&lt;P&gt;to:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;document.addEventListener("intel.xdk.device.ready",function(){
 myFetchFunc();
},false); 
&lt;/PRE&gt;

&lt;P&gt;But fetching data from url is still broken in build. Works great in emulating and usb debug...&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2015 17:29:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Failed-to-fetch-url/m-p/1010119#M33781</guid>
      <dc:creator>Szymon_P_</dc:creator>
      <dc:date>2015-07-14T17:29:52Z</dc:date>
    </item>
    <item>
      <title>After few hours of debugging</title>
      <link>https://community.intel.com/t5/Software-Archive/Failed-to-fetch-url/m-p/1010120#M33782</link>
      <description>&lt;P&gt;After few hours of debugging&lt;/P&gt;

&lt;P&gt;&lt;IMG alt="" src="http://replygif.net/i/1073.gif" /&gt;&lt;/P&gt;

&lt;P&gt;I have made AWFUL hack but it works&lt;/P&gt;

&lt;P&gt;&lt;IMG alt="" src="http://replygif.net/i/162.gif" /&gt;&lt;/P&gt;

&lt;PRE class="brush:css;"&gt;* {
font-size: 50px !important;
}&lt;/PRE&gt;

&lt;P&gt;With legacy android build&lt;/P&gt;

&lt;P&gt;&lt;IMG alt="" src="http://replygif.net/i/1513" /&gt;&lt;/P&gt;

&lt;P&gt;This is app only for my own use, so I could do that, because it doesn't look well now.&lt;/P&gt;

&lt;P&gt;&lt;IMG alt="" src="http://replygif.net/i/1202.gif" /&gt;&lt;/P&gt;

&lt;P&gt;The same code but builded with crosswalk doesn't work.&lt;/P&gt;

&lt;P&gt;&lt;IMG alt="" src="http://replygif.net/i/730.gif" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2015 17:28:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Failed-to-fetch-url/m-p/1010120#M33782</guid>
      <dc:creator>Szymon_P_</dc:creator>
      <dc:date>2015-07-15T17:28:00Z</dc:date>
    </item>
    <item>
      <title>Szymon,</title>
      <link>https://community.intel.com/t5/Software-Archive/Failed-to-fetch-url/m-p/1010121#M33783</link>
      <description>&lt;P&gt;Szymon,&lt;/P&gt;

&lt;P&gt;Perhaps you have not specified a needed plugin for the build (core plugins are automatically included in the emulator and Debug features, but not in builds). See forum thread 561120.&lt;/P&gt;

&lt;P&gt;Pamela&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2015 18:02:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Failed-to-fetch-url/m-p/1010121#M33783</guid>
      <dc:creator>Pamela_H_Intel</dc:creator>
      <dc:date>2015-07-15T18:02:00Z</dc:date>
    </item>
    <item>
      <title>I'm guessing that you might</title>
      <link>https://community.intel.com/t5/Software-Archive/Failed-to-fetch-url/m-p/1010122#M33784</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;I'm guessing that you might be getting hit by the white list (domain access) gremlin -- see the white list doc on this page:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://software.intel.com/en-us/xdk/docs/xdk-doc-quick-links" target="_blank"&gt;https://software.intel.com/en-us/xdk/docs/xdk-doc-quick-links&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2015 23:25:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Failed-to-fetch-url/m-p/1010122#M33784</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-07-15T23:25:44Z</dc:date>
    </item>
    <item>
      <title>Quote:Paul Fischer (Intel)</title>
      <link>https://community.intel.com/t5/Software-Archive/Failed-to-fetch-url/m-p/1010123#M33785</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Paul Fischer (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;I'm guessing that you might be getting hit by the white list (domain access) gremlin -- see the white list doc on this page:&amp;nbsp;&lt;A href="https://software.intel.com/en-us/xdk/docs/xdk-doc-quick-links"&gt;https://software.intel.com/en-us/xdk/docs/xdk-doc-quick-links&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Thanks, I have created new rule:&lt;BR /&gt;
	&lt;A href="http://*" target="_blank"&gt;http://*&lt;/A&gt; + external&lt;BR /&gt;
	It didn't work.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2015 10:44:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Failed-to-fetch-url/m-p/1010123#M33785</guid>
      <dc:creator>Szymon_P_</dc:creator>
      <dc:date>2015-07-21T10:44:16Z</dc:date>
    </item>
    <item>
      <title>Szymon,</title>
      <link>https://community.intel.com/t5/Software-Archive/Failed-to-fetch-url/m-p/1010124#M33786</link>
      <description>&lt;P&gt;Szymon,&lt;/P&gt;

&lt;P&gt;You do want to use the Crosswalk for Android build. Your app does work with Crosswalk - that is what USB debug uses. Perhaps there is an App Version Code issue. Try uninstalling the app from your device and then install the Crosswalk build.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2015 23:30:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Failed-to-fetch-url/m-p/1010124#M33786</guid>
      <dc:creator>Pamela_H_Intel</dc:creator>
      <dc:date>2015-07-28T23:30:00Z</dc:date>
    </item>
    <item>
      <title>If you have included JQuery,</title>
      <link>https://community.intel.com/t5/Software-Archive/Failed-to-fetch-url/m-p/1010125#M33787</link>
      <description>&lt;P&gt;If you have included JQuery, you can use something like that:&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; $.ajax({&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; type: "POST",&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; url: "http://xxxxxxxxxxxxxxxxxxxxxxxx",&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; data: wpost,&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; success: function(retorno) {funFuncao(retorno);},&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dataType: 'json'&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; });&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I used this with Cordova Android/iOS&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2015 21:15:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Failed-to-fetch-url/m-p/1010125#M33787</guid>
      <dc:creator>Hamilton_Tenório_da_</dc:creator>
      <dc:date>2015-09-17T21:15:14Z</dc:date>
    </item>
  </channel>
</rss>

